Java Mailing List Archive

http://www.gg3721.com/

Home » user.groovy »

Re: [groovy-user] GroovyWS - invalid flag

ptr106

2008-08-25

Replies: Find Java Web Hosting

Author LoginPost Reply

If I add some debug statements to the CXF file
org.apache.cxf.endpoint.dynamic.DynamicClientFactory.java it becomes
apparent that the classpath is missing and a statement such as this is
constructed:

javac -classpath -d
c:\temp\org.apache.cxf.endpoint.dynamic.DynamicClientFactory@(protected)
-target 1.5 [java files]

This seems like a bug in CXF. At the very least, it should give an error
that the classpath is empty.

I fixed this by explicitly setting a classpath in the CompilerConfig object
and then constructing a GroovyClassLoader with the overloaded constructor
that takes in a CompilerConfig. My GroovyWS code now calls the sample web
service correctly.

Thanks,
Peter
--
Sent from the groovy - user mailing list archive at Nabble.com.


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

  http://xircles.codehaus.org/manage_email


©2008 gg3721.com - Jax Systems, LLC, U.S.A.