Try adding the following line before calling the external ant script.
property name=build.compiler value=extJavac/
This worked for me.
Stephen Coy-2 wrote:
If my experience with the weblogic plugin is anything to go by, you
need to add this as an ant plugin dependency:
This part:
Embedded error: The following error occurred while executing this line:
E:\work\LTY-P39\frontoffice\ltyApp\source\build.xml:685: Unable to
find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
[INFO]
suggests that
If my experience with the weblogic plugin is anything to go by, you
need to add this as an ant plugin dependency:
dependency
groupIdsun.jdk/groupId
artifactIdtools/artifactId
version1.4.2/version
scopesystem/scope
It is - and I did this first.
Still, I get the error as described earlier
-Original Message-
From: Morgovsky, Alexander (US - Glen Mills)
[mailto:[EMAIL PROTECTED]
Sent: Saturday, December 23, 2006 11:09 PM
To: EJ Ciramella
Cc: users@maven.apache.org
Subject: Error trying to use