I have a simple web application that I'm trying to deploy to TC 1.1.1 and build using a .ipr build configuration. My project references two lilbraries: "Tomcat-5.5" which is an application server library in IDEA and includes the Tomcat runtime libs and "1.5" which is my JDK.
I get these errors while building on TC:
Reading IDEA config is skipped
Source project file: /opt/teamcity-1.1.1/buildAgent/work/WebApp_Reference/WebApp-Reference.ipr
Test roots are included
Error : Tomcat-5.5 - Library is referenced, but not defined
Container where it's expected to find the library:
Warning: 1.5 - Project JDK not found
Warning: Project: WebApp-Reference - No forms_rt.jar found in your project classpath. Add it if you use IntelliJ IDEA's form builder.
Checking done, errors: 1 warnings: 2
The error that ends up killing it is:
Reference 'global.library.Tomcat-5.5.path' not found
I've tried adding both a JDK and Library to the build configuration:
And then I set the properties in buildAgent.properties:
Not sure which of system/global.system is right...
No matter what I do I get the same exact errors when the project builds.
Help! What am I missing???