ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: problem with war task....
Date Thu, 21 Nov 2002 15:02:59 GMT

Check the Ant docs for the war task.  This is just a matter of looking at 
the reference:

http://jakarta.apache.org/ant/manual/index.html

Jake

At 12:14 PM 11/21/2002 +0000, you wrote:
>Hello All,
>
>I have a problem using war taks.
>
>This is the error i am getting :
>
>D:\testweb\build.xml:13: Class
>org.apache.tools.ant.taskdefs.War doesn't support the
>"destfile" attribute
>
>This is my build.xml file
>************
><project name="i2testservlet" default="all"
>basedir=".">
>
>  <target name="all" depends="make_ear"/>
>
>   <!-- Compile servert classes -->
>   <target name="compile_servlet">
>     <javac srcdir="test/com"
>       destdir="test"
>     />
>
></target>
><target name="make_war" depends="compile_servlet">
><war destfile="i2web.war" webxml="xmls/webxml.xml">
>   <classes dir="test"/>
></war>
></target>
><target name="make_ear" depends="make_war">
><ear destfile="myapp.ear"
>appxml="META-INF/application.xml">
>       <fileset dir="." includes="*.war"/>
>     </ear>
></target>
>
></project>
>
>**********************
>
>i got succes in compiling java classes, but failed at
>war
>
>if any body has solution please mail back to me.
>
>
>Thanks
>pavan
>
>
>________________________________________________________________________
>Missed your favourite TV serial last night? Try the new, Yahoo! TV.
>        visit http://in.tv.yahoo.com
>
>--
>To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message