Did you follow this doc; http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html Cheers, -- Chris
On 1/17/06, Henrik Mejlgaard <[EMAIL PROTECTED]> wrote: > > Hi, > From the documentation in > http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html, > I have successfully created the Hello World Ant based plugin. > > My problem is now to implement a more advanced ant-based mojo. > Specifically, I have troubles finding out how to get a ant classpath > refid to be used in a taskdef in the *.build.xml. > My taskdef looks as follows: > > > <target name="generate"> > <taskdef name="ejbdoclet" classname="xdoclet.modules.ejb.EjbDocletTask"> > <classpath> > <path refid="plugin.dependency.classpath"/> > </classpath> > </taskdef> > ...... > </target> > > How do I inject the plugin.dependency.classpath from the *.mojos.xml? > > Regards, > > Henrik > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
