Hello,

With a Ant build file, I made a Maven plugin. The Ant build file use some custom 
taskdef. When I run it with maven (I put build.xml in maven.xml), I've got an error on 
the taskdef :

---------------------------------------------------------
BUILD FAILED
File...... file:/D:/eclipse/workspace/g-contact/
Element... ant:taskdef
Line...... 7
Column.... 87
taskdef class weblogic.ant.taskdefs.management.WLDeploy cannot be found
Total time:  2 seconds
------------------------------------------------------

Where I must put the jar whitch contain my custom taskdef ? I put it in the 
project.xml dependencies but it's not working.

Here my maven.xml :

<project xmlns:ant="jelly:ant">
<goal name="ejbgen">
<ant:project name="contact" default="all" basedir=".">

  <ant:taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy"/>
  <ant:taskdef name="wlappc" classname="weblogic.ant.taskdefs.j2ee.Appc"/>


...


Thx,
-emmanuel



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

Reply via email to