6 comments

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

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

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

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

Simone,

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

0

Please sign in to leave a comment.