maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henrik Mejlgaard <hmejlga...@gmail.com>
Subject [m2] Ant driven plugins and classpath refid's
Date Tue, 17 Jan 2006 09:21:45 GMT
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message