Hi there,

In order to first get the plugin to work I had to set the
webAppSourceDirectory to build/jetty/webapp which is where the exploded
webapp seems to end up. But I found this only by trial and error. 

Now I get a 

java.lang.NoClassDefFoundError: javax/annotation/Resource
        at
org.mortbay.jetty.annotations.AnnotationCollection.processMethodResourceAnnotations(AnnotationCollection.java:296)

which is listed as a bug in gradle version 0.5 but fixed. I tried replacing
all the jetty jars in gradle with the latest distribution and added all the
ones that come with that but makes no difference. 

Should I reopen this bug? 

http://jira.codehaus.org/browse/GRADLE-343

Any advice for getting webtests up and running would be GREATLY
appreciated!! I'd like to try JWebUnit as someone posted to the wiki but
that was for a few versions ago. 

Barry
-- 
View this message in context: 
http://old.nabble.com/trying-to-get-jettyRun-to-work-tp27355099p27355099.html
Sent from the gradle-user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to