ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Casey Daniell" <casey_dani...@hotmail.com>
Subject Using refid's in War task
Date Wed, 01 Oct 2003 22:12:01 GMT
All,

I have just upgraded to ANT 1.6 Beta and noticed that the following no 
longer works. Is this intentional?

   <target name="main-gateway.war" depends="gateway-jar,main-plugins.jar">
    <war warfile="${build.home}/main-gateway.war" 
webxml="main-gateway/web.xml">
     <zipfileset refid="gateway-lib-files" prefix="WEB-INF/lib"/>
     <lib dir="${build.home}" includes="main-plugins.jar"/>
     <lib dir="${build.home}" includes="gateway.jar"/>
    </war>
   </target>

We have many libraries in our lib directory but, in this build script use 
and refid=gateway-lib-files to get the proper subset. When I run the build I 
am getting this error:

C:\LATEST_CODE\MessageGateway\build.xml:127: You must not specify more than 
one
attribute when using refid

Any hint/ideas on what to change to get my war file built?

Thanks
Casey

_________________________________________________________________
Instant message during games with MSN Messenger 6.0. Download it now FREE!  
http://msnmessenger-download.com


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


Mime
View raw message