[jboss-user] [JBoss jBPM] - Re: BPEL beta2 - com.sun.tools.javac.Main - Java 1.5.0_07
alex.guizar@jboss.com
do-not-reply at jboss.com
Mon Sep 25 13:13:02 EDT 2006
The wscompile task is configured to fork; otherwise, it does not accept the -mapping option for some unknown reason.
Even if you are using a JDK in Eclipse (as opposed to a JRE) or have tools.jar in your global entires, only the private JRE libraries are passed when the task forks, and the java.home system property is set to [jdk-install-dir]/jre. As a workaround I added the following element to the wscompile path (webservice.build.xml):
<path id="wscompile.path">
| <fileset dir="${jwsdp.home}/jaxrpc/lib" includes="*.jar" />
| <pathelement location="${java.home}/../lib/tools.jar" />
| <pathelement location="${resources.dir}" />
| </path>
I guess your java 1.5.0_07 entry in Eclipse points to a public JRE, hence directory ${java.home}/../lib does not exist. However, when you add tools.jar to your java 1.5.0_07 entry, that JAR is also passed to the forked VM.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973957#3973957
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973957
More information about the jboss-user
mailing list