you probably should be writing java files. IMHO at least.

However it should be fairly easy to keep calling the ant tasks from
your java mojo.

Milos


On 5/10/07, maarten roosendaal <[EMAIL PROTECTED]> wrote:
Hi,

We have a few custom Maven 1 plugins we need to convert to Maven 2 plugins but 
i'm not sure what the best way is.  We have 1 that is a wrapper around specific 
maven goals and a few customer goals, and we have 2 custom plugins.

One of these does:
 <goal name="tdi:sloc">

  <ant:echo>Start SLOC storage using:</ant:echo>
  <ant:echo>Projectid : ${maven.tdi.projectid}</ant:echo>
  <ant:echo>Label     : ${cctimestamp}#${label}</ant:echo>
  <ant:echo>Targetdir : ${basedir}/target/sloc.xml</ant:echo>
  <ant:echo>Path      : ${maven.tdi.parentfilepath}/${pom.artifactId}</ant:echo>
  <ant:echo>Parentpath: ${maven.tdi.parentfilepath}</ant:echo>

  <ant:exec executable="${plugin.resources}\Client.exe">
           <ant:arg line="-path:${maven.tdi.parentfilepath}/${pom.artifactId} 
-parentpath:${maven.tdi.parentfilepath} -project:${maven.tdi.projectid} 
-label:${cctimestamp}#${label} -type:SLOCV12 -file:'${basedir}/target/sloc.xml' "/>
  </ant:exec>

  </goal>

Do i need to write a Java class for this or can i keep using the jelly files? 
If so how?

Hope some can help.

Thanks,
Maarten



____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

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



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

Reply via email to