Also, when the sun compiler is invoked, it has to have a classpath, and that can't be
derived from anything but the java.class.path system property. Whenever an app has
advanced classloading, then this property only gives a parial picture of what jars are
loaded. So, a likely case is that javac is running, but it's not compiling because a
jar was not passed to the classpath. The message stream should report this condition.
For this reason, there is a setAdditionalCompilerClassPath(), that you can call to place
paths to any additional jars you have that are referenced from the source code.
-Jason
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019395#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...