://www.nabble.com/Error-trying-to-use-the-maven-antrun-plugin-tf2872341s177.html#a8167000
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
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
Please make sure that your JAVA_HOME environment variable is set. Also,
to make sure that this variable is correctly being resolved by doing
something like echo message=${env.JAVA_HOME}/. You may also need to
add Java dependencies to your dependencies section of your maven-antrun
plugin
Has anyone tried using the ant task inside of maven2?
We're trying to run a full ant based build inside of maven 2 (which
includes a compile) but we're getting the following error:
[javac] Compiling 752 source files to
E:\work\LTY-P39\frontoffice\ltyApp\build\config\site\classes
[INFO]