Third, it looks like (I could be wrong) you are trying to call a task directly using <java>. Most likely bea wrote the task such that you should declare it with:
<taskdef name="ddinit" classname="weblogic.ant.taskdefs.ejb20.DDInit" /> Ant then use it in your build.xml file something like (I prefer task names that aren't shouting at me): <target name="ejb-desc"> <ddinit> ... </ddinit> </target> Thanks for your sugestions Paul. I tried: - <taskdef name="ddinit" classname="weblogic.ant.taskdefs.ejb20.DDInit"/> And also, <taskdef name="ddinit" classname="weblogic.ant.taskdefs.ejb20.DDInit" classpath="${weblogic}/> But get, as output, the error: - build.xml [32] You must not specify name or value together with file or resource. Also to use the task def I`ve wrote: - <target name="ejbdesc" depends="javac"> <ddinit> <arg value="${packageroot}"/> </ddinit> </target> Is this the correct way to pass and argument to the class file specified in <taskdef> ? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>