I would like to be able to run a java application from within my build.xml.
I would like to do this after maven sets the classpath and runs through its
checks. What is the recommended way to do this? I added a post-env callback
to run this as a maven:env callback. This seems to work but I'm wondering if
there is a better way to accomplish this. Actually I did have to make a
change to ${maven.home}/plugins/core/build.xml to get this to work.
Everywhere where a callback is made the property maven.base.classpath is
set: <property name="maven.build.classpath" value="classpath"/>. I changed
"classpath" to "${maven.dependency.classpath}". Also I keep getting a
message about updating my project file: "ERROR: The specified update can not
be performed, please check your maven.toVersion and maven.fromVersion and
try again." How can I get rid of this? P.S. I took a CVS copy about 11pm EST
05-15-02.
Thanks
Peter


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to