ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "HANKE,JUERGEN (HP-Germany,ex1)" <juergen_ha...@hp.com>
Subject EAR problem
Date Thu, 13 Dec 2001 14:08:15 GMT
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message