You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by alam <ma...@rediffmail.com> on 2007/04/24 15:56:24 UTC
war file is not creating while running the Ant
<target name="make.war">
<mkdir dir="${ep.build.directory}" />
<antcall target="delete.build.dir" >
<param name="ep.directory" value="${ep.build.directory}" />
</antcall>
<zip zipfile="${ep.build.directory}/eProcurement.war" >
<zipfileset dir="${ep.build.drive}/manu" />
</zip>
</target>
can anyone guide what else i have to add so i get the war file
--
View this message in context: http://www.nabble.com/war-file-is-not-creating-while-running-the-Ant-tf3638832.html#a10161494
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: war file is not creating while running the Ant
Posted by "Scot P. Floess" <fl...@mindspring.com>.
You probably want to use it instead of the <zip> task.
Look at the online docs for more information
alam wrote:
> can you please help me where should i write the war task?
>
>
>
> Scot P. Floess wrote:
>
>> Is there a reason you aren't using the <war> task?
>>
>> alam wrote:
>>
>>> <target name="make.war">
>>> <mkdir dir="${ep.build.directory}" />
>>> <antcall target="delete.build.dir" >
>>> <param name="ep.directory" value="${ep.build.directory}" />
>>> </antcall>
>>> <zip zipfile="${ep.build.directory}/eProcurement.war" >
>>> <zipfileset dir="${ep.build.drive}/manu" />
>>> </zip>
>>> </target>
>>>
>>> can anyone guide what else i have to add so i get the war file
>>>
>>>
>>>
>>>
>> --
>> Scot P. Floess
>> 27 Lake Royale
>> Louisburg, NC 27549
>>
>> 252-478-8087 (Home)
>> 919-392-6730 (Work)
>>
>> Chief Architect JPlate http://sourceforge.net/projects/jplate
>> Chief Architect JavaPIM http://sourceforge.net/projects/javapim
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>>
>>
>
>
--
Scot P. Floess
27 Lake Royale
Louisburg, NC 27549
252-478-8087 (Home)
919-392-6730 (Work)
Chief Architect JPlate http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim
Re: war file is not creating while running the Ant
Posted by alam <ma...@rediffmail.com>.
can you please help me where should i write the war task?
Scot P. Floess wrote:
>
> Is there a reason you aren't using the <war> task?
>
> alam wrote:
>> <target name="make.war">
>> <mkdir dir="${ep.build.directory}" />
>> <antcall target="delete.build.dir" >
>> <param name="ep.directory" value="${ep.build.directory}" />
>> </antcall>
>> <zip zipfile="${ep.build.directory}/eProcurement.war" >
>> <zipfileset dir="${ep.build.drive}/manu" />
>> </zip>
>> </target>
>>
>> can anyone guide what else i have to add so i get the war file
>>
>>
>>
>
> --
> Scot P. Floess
> 27 Lake Royale
> Louisburg, NC 27549
>
> 252-478-8087 (Home)
> 919-392-6730 (Work)
>
> Chief Architect JPlate http://sourceforge.net/projects/jplate
> Chief Architect JavaPIM http://sourceforge.net/projects/javapim
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/war-file-is-not-creating-while-running-the-Ant-tf3638832.html#a10162413
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: war file is not creating while running the Ant
Posted by "Scot P. Floess" <fl...@mindspring.com>.
Is there a reason you aren't using the <war> task?
alam wrote:
> <target name="make.war">
> <mkdir dir="${ep.build.directory}" />
> <antcall target="delete.build.dir" >
> <param name="ep.directory" value="${ep.build.directory}" />
> </antcall>
> <zip zipfile="${ep.build.directory}/eProcurement.war" >
> <zipfileset dir="${ep.build.drive}/manu" />
> </zip>
> </target>
>
> can anyone guide what else i have to add so i get the war file
>
>
>
--
Scot P. Floess
27 Lake Royale
Louisburg, NC 27549
252-478-8087 (Home)
919-392-6730 (Work)
Chief Architect JPlate http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org