devPackage\samplePlugin

Hi!

I am trying to run the plug in from IDEA (using supplied IDEA project), but the web.xml (in teamcity\webapps) is all read cause can't find the classes. I searched all over the place, but cannot find it any of the jars. Can you please help?

I have not received a single answer to my questions. My company regularly shells out for hundreds of IDEA licenses and now maybe looking to pay more for TC...

disableBrowserCacheFilter jetbrains.buildServer.web.DisableBrowserCacheFilter redirectVsAddinInstallerFilter jetbrains.buildServer.web.RedirectVsAddinInstallerFilter responseFragmentFilter jetbrains.buildServer.web.ResponseFragmentFilter addCacheHeadersFilter jetbrains.buildServer.web.AddCacheHeadersFilter ]]>

6 comments

To build samplePlugin you need TeamCity server installed and configured path variables pointing to that installation (see more on this here: http://www.jetbrains.net/confluence/display/TCD3/DevelopingTeamCityPlugins).

--
Pavel Sher

0

Yes, I have seen this page and have TeamCity server and the IDEA variables set as shown there. Yet when I try to run the project (as tomcat server) the build fails pointing showing this classes are missing. Furthermore, I located every single jar under TeamCity installation folder and dumped jar tvf output for the into a single file. None of the jars contain the missing classes referenced in the web.xml. Beats me. I am wondering if your web.xml is invalid and tomcat ignores this on start up.

0

Please take a look at WEB-INF/classes folder. These classes should be there.

--
Pavel Sher

0

Ouch! Sorry, did not do any web development lately. However, you do need to update your IDEA project file to include this classes folder. Thanks.

I have a question. I need to run a set of tests which are not JUnit tests, but just a script run from command line. The only reason I was looking to write a plug-in is to import the performance (statistics) data into TC to be able to see the graphs (hopefully be alerted in the future in results change significantly). I talked to one of your guys at JavaOne in May and I am pretty sure he said I can simply write that out in a file and have TC load it. Would you be so kind and tell me how this can be done. Thanks a lot.

- Vadim.

0

Probably this will help you: http://www.jetbrains.net/confluence/display/TCD3/BuildScriptInteractionwithTeamCity

In brief you do not need to write a plugin, you should write specially formatted messages in stdout.

--
Pavel Sher

0

Please sign in to leave a comment.