6 comments
Comment actions Permalink

Simone,

Sorry for the delay in replying.

In your server-side TeamCity plugin you can add a page extension for ALL_PAGES_HEADER and return isAvailable for overview.html.

See also PageExtension class in the sample plugin.

0
Comment actions Permalink

Hi Yegor, this weekend I had the chance to start playing with the bundled development package and that was the answer to my question, it's easier than I thought.

Out of curiosity, are there any plans to support reloading the plugins, eventually only those placed in [Data Directory]/plugins without restarting the server?

That would be a boost in productivity when developing plugins, especially when you have little experience.

0
Comment actions Permalink

Simone,

Yes, I know that restaring the server is a pain when developing plugins...
Unfortunately, reloading the plugins is too huge a task to be included into forseeable plans.

Please review these steps that can help in some cases.

Also, for immediate minor changes in the plugin code you can connect to the server with debug and use Java hotswap to reload the classes on the fly. However, standard hotswap does not allow to change signatures of the methods.

0
Comment actions Permalink

I understand that. Coming from the .NET world I have a hard time figuring out why code cannot be hot-swapped since in .NET shadow copying is the default behavior, but I'm not even sure we're talking about the same thing here. If there's not an entry on the issue tracker for this point I would like to create one nonetheless.

0
Comment actions Permalink

Simone,

There is no issue to address plugin reloading without server restart AFAIK.

0
Comment actions Permalink

Here it is: http://youtrack.jetbrains.net/issue/TW-12604

Looking forward to see it in the next major ;)

0

Please sign in to leave a comment.