From: "James Strachan" <[EMAIL PROTECTED]> > I think we need to patch Ant's <ant> task to support exportRefs="true". > Here's a mail I sent to ant-dev about it... > > http://marc.theaimsgroup.com/?l=ant-dev&m=102211052720739&w=2
After thinking more about it and seeing Peter's response to my suggestion on ant-dev, maybe patching Maven's Ant task might be better. The penny just dropped, to run this modified version of <ant> we'd only need the maven.jar on the classpath. So the cut'n'paste wouldn't be too bad... <!-- my projects build file... --> <taskdef name="mavenAnt" classname="org.apache.maven.Ant"> <classpath> <pathelement location="${lib.repo}/maven.jar"/> </classpath> </taskdef> <mavenAnt antfile="${maven.home}/plugins/core/build.xml" target="compile"/> .. now can use ${maven.dependency.classpath} I should have a patched <ant> task shortly, I'll post it to maven-dev soon... James _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>