Hey,
I'm trying to setup a development environment in which I could develop a TeamCity plugin. Unfortunattely I know nothing of Java.
I figured IntelliJ would be the path of least resistance, so I've downloaded that, and had it open samplePlugin.ipr
when trying to compile that, it complains about not having a JDK. The closest thing I could find online was Java SE JDK 17.
I installed that, restarted intelliJ, and in the project settings, pointed intelliJ to the jdk.
Now I hit make again, and I get a whole bunch of errors:
C:\TeamCity\devPackage\samplePlugin\src\jetbrains\sample\controller\HelloUserController.java (3:41) package jetbrains.buildServer.controllers does not exist
C:\TeamCity\devPackage\samplePlugin\src\jetbrains\sample\controller\HelloUserController.java:3: package jetbrains.buildServer.controllers does not exist
Lucas,
Seems you still need to define correct "TeamCityDistribution" path variable (Settings->Path Variables) to point to unpacked TeamCity distribution.
By "Java SE JDK 17" I guess you mean JDK 6 (update 17). This is OK. Just make sure you use the same JDK when running TeamCity server with your plugin.