Hi im new to bamboo and cant figure out how to do figure the classpath in the server for bamboo build with ant the project in the svn... How can i config this? Im getting this error
|1-Out-2011 18:31:42||BUILD FAILED|
|11-Out-2011 18:31:42||C:\Users\Administrador\bamboo-home\xml-data\build-dir\TVMAISWEB-TVMW-JOB1\tvmais-web\nbproject\build-impl.xml:251: The Java EE server classpath is not correctly set up - server home directory is missing.|
|11-Out-2011 18:31:42||Either open the project in the IDE and assign the server or setup the server classpath manually.|
|11-Out-2011 18:31:42||For example like this:|
|11-Out-2011 18:31:42||ant -Dj2ee.server.home=<app_server_installation_directory>|
|11-Out-2011 18:31:42||Total time: 0 seconds|
Have you tried running the build with ant locally, outside Bamboo? Does it work? It sounds like whatever ant is doing on your behalf as part of your build has not been given all the information it needs.
If the application server the ant build wants is present on the agent where the build is running then perhaps an environment variable already exists there which you can reference?
You can pass environment variables in Bamboo as part of your build task or build command:
But most of what you need should be handled by Ant. All that Bamboo should do, in most cases, is call 'ant build' or 'ant install' or similar for you.
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs