ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Meryl Silverburgh" <silverburgh.me...@gmail.com>
Subject Using Ant to build a war file
Date Tue, 12 Jun 2007 20:53:15 GMT
Hi,

I am using the following task to build a war file:

  <target name="war" depends="compile">

        <war warfile="${warfile}" webxml="${webapp}/WEB-INF/web.xml">

            <zipfileset dir="${webapp}">

                <include name="**/*" />

                <exclude name="WEB-INF/src/**" />

            </zipfileset>

        </war>

    </target>

But the problem I have is the '<display-name>' in the web.xml file
does not match the war file that I generated "${warfile}"

Is there a way to configure the 'war' task?

Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message