Hi,
I'm trying to create an EAR file. Here is the target for it:
<target name="_create_ear">
<echo message="Creating EAR ..."/>
<ear earfile="deploy/${pname}.ear"
appxml="descriptor/application.xml">
<fileset dir="deploy/${pname}" includes="*.jar,*.war"/>
</ear>
</target>
I always get the error message:
Could not create task of type: ear. Common solutions are to use taskdef to
declare
your task, or, if this is an optional task, to put the optional.jar in the
lib directory of your ant installation (ANT_HOME).
It is not an optional task. Any ideas what could be wrong? Do I need to add
something?
I'm using ant 1.3.
Thanks,
Juergen
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>