tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <javabet...@yahoo.com>
Subject Re: try to create a war file
Date Tue, 28 Nov 2000 14:36:56 GMT
Make sure you are using ANT 1.2. The war target is new
in 1.2

Dave
--- Gabriel Ciuloaica <gabi@bam.codec.ro> wrote:
> I try to create a war file. My build.xml file is :
> <project name="InternetPortal"
> basedir="c:\java_work\beta_ie\InternetPortal">
> <target name="dist">
> <war warfile="InternetPortal.war"
>
webxml="c:\java_work\beta_ie\InternetPortal\web.xml">
>   <fileset
> dir="c:\java_work\beta_ie\InternetPortal\files" />
>   <lib
> dir="c:\java_work\beta_ie\InternetPortal\lib">
>   </lib>
>   <classes
> dir="c:\java_work\beta_ie\InternetPortal\classes" />
> </war>
> </target>
> </project>
> 
> but I get the error:
> 
> Buildfile: c:\java_work\beta_ie\InternetPortal.xml
> Project base dir set to:
> C:\java_work\beta_ie\InternetPortal
> BUILD CONFIG ERROR: Could not create task of type:
> war because I can't find it in the list of task
> class definitions
> 
> where need to configure for creating the war file ?
> gabi
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

Mime
View raw message