On 03/12/2010, at 6:26 AM, [email protected] wrote:

> 
> In our production server (which is tomcat), we have added several jars to the
> server that all webapps can see.
> 
> I'm trying to setup gradle to run our integration selenium tests using the
> jetty plugin.  How can I add these additional jars to the jetty server? 
> Either directly into the jetty file system directories or via an addition in
> the gradle file.
> 
> I would prefer the gradle build file additions if possible.

The JettyRun and JettyRunWar tasks both have an 'additionalRuntimeJars' 
property which you can use to add extra jars to the classpath.

You can find a little more detail in the API documentation: 
http://www.gradle.org/0.9-rc-3/docs/javadoc/org/gradle/api/plugins/jetty/AbstractJettyRunTask.html
 


--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz

Reply via email to