You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jim Bethancourt <ji...@gmail.com> on 2006/08/24 21:55:09 UTC
Maven 2 maven-antrun-plugin & javascript -- how/where do I set Ant's classpath?
Hi,
I'm trying to call ant tasks using the maven-antrun-plugin. I'm able
to get to the build file using <ant inheritRefs="true"
antfile="./build.xml"> successfully, but the build.xml uses Javascript
and Ant is falling apart when I run 'mvn compile' -- I get an embedded
error.
I've tried adding apache-ant-bsf jar/plugin and the js.jar plugin, and
I have unfortunately had no success. Any ideas or suggestions? I
guess a more appropriate question would be: How do I set the classpath
of Ant when I launch it from Maven? I know I should do something like
<classpath refid="maven.plugin.classpath" />, but I don't know which
tags to correctly put it in.
Thanks,
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org