hawkeye
hawkeye

Reputation: 35702

Teamcity ant build classpath - how to add additional jars

In Teamcity I'm kicking off an Ant Build. I want to add additional jars to the classpath, including ant-javamail.jar

How do I specify these in the settings control panel?

Upvotes: 2

Views: 3404

Answers (1)

Nate
Nate

Reputation: 2456

Can you specify "-lib /path/to/ant-javamail.jar" in the "Additional Ant command line parameters:" of your Ant Runner's configuration in TC?

References:

http://ant.apache.org/manual/running.html

http://confluence.jetbrains.net/display/TCD5/Ant

Upvotes: 5

Related Questions