ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tibor Strausz <Tibor.Stra...@tridion.com>
Subject RE: How to flatten in <webinf> element of <war>
Date Tue, 06 Aug 2002 07:27:07 GMT

can't it be done like this??

tibi


  <target name="warrbnl" depends="rbnljspfiles">
  	<war warfile="${distrbnl}/${rbnl_full_name}.war"
webxml="${src}/nl/${rbnl}/WEB-INF/web.xml">
    	<classes dir="${build}"/>
    	<lib dir="lib"/>
    	<zipfileset dir="nl/${rbnl}/Images/" prefix="Images"/>
    	<zipfileset dir="nl/${rbnl}/js/" prefix="js"/>
    	<zipfileset dir="nl/${rbnl}/Stylesheets/" prefix="Stylesheets"/>
    </war>
  </target>



> -----Original Message-----
> From: Milind Nirgun [mailto:NirgunM@C-IV.org]
> Sent: Monday, August 05, 2002 6:25 PM
> To: Ant-user list (E-mail)
> Subject: How to flatten in <webinf> element of <war>
> 
> 
> Hi,
> 
> My build script is as below.
> 
>     <war warfile="${dir.dist}/${warname}.war" 
> webxml="${some.dir}/common/web.xml" >
> 	<webinf dir="${some.dir}" 
> 		includes="**/*.x*, **/*.tld" 
> 		excludes="**/*.class" />
> 	....
>     </war>
> 
> I have some *.xml and *.tld in multiple directories under 
> ${some.dir}, eg. "${some.dir}/abc/xyz.tld". When I create the 
> war I want them all to be copied under WEB-INF, just like 
> web.xml is. But with the above script, the war contains - 
> WEB-INF/abc/xyz.tld.
> There is no "flatten" attribute to <webinf>. Is there any 
> workaround or solution to my problem other than putting the 
> *.tld together in the src directories?
> 
> Any help will be appreciated.
> Thanks
> -Milind
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:ant-user-help@jakarta.apache.org>
> 

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


Mime
View raw message