Gabriel Ciuloaica <[EMAIL PROTECTED]> wrote:

> I try to create a war file. My build.xml file is 

> <target name="dist"> 
>   <war warfile="InternetPortal.war" ...
> 
> but I get the error:
> 
> 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 ?

The <war> task is new in Ant 1.2, I guess you are using an older
version of Ant (maybe it is still somewhere in your CLASSPATH).

Stefan

Reply via email to