[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Another Ant Problem
|
Hi
This is something I just can't solve:
I'm trying to run my Ant build file with the args tag, but I can't pass
a string to it. What am I doing wrong?
Here's the file:
<project name="estatisticas" default="buildjar" basedir=".">
<description>Build file for the new statistics homepage</description>
<property name="estatisticas" location="estatisticas"/>
<property name="WAR" location="estatisticas.war"/>
<!-- O ficheiro dummy.txt foi inserido pq por algum motivo obscuro o ant
recusa-se a inserir no .war os primeiros ficheiros da lista -->
<property name="rootfiles" location="dummy.txt index.html estatisticas.jsp
montantesemdivida.jsp style.css"/>
<property name="classes" location="dummy.txt WEB-INF\web.xml
WEB-INF\classes\estatisticas\estatisticas.class
WEB-INF\classes\montantesemdivida\montantesemdivida.class"/>
<property name="pack_del" location="'%JAGUAR%\bin\jagtool.bat delete
WebApplication:estatisticas'"/>
<property name="pack_deploy" location="'%JAGUAR%\bin\jagtool.bat deploy
install -type war file estatisticas.war\'"/>
<target name="buildjar" description="Deletes the previous build and starts a
new one">
<delete dir="${WAR}"/>
<jar destfile="${WAR}" basedir="." includes="${rootfiles} ${classes}"/>
<arg value="${pack_del}"/>
<arg value="${pack_deploy}"/>
</target>
</project>
Any help would be extremelly welcome
Thank you
Rui