ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Excluding files
Date Thu, 10 Jan 2002 12:10:39 GMT
On Thu, 10 Jan 2002, Tom Callaghan <TomCallaghan@roberthalf.co.uk>
wrote:

> <war warfile="H:\config\mydomain\applications\myBean.war"
>      webxml="META-INF\web.xml">
> 	<webinf dir="WEB-INF"/>
> 	<classes dir="WEB-INF\classes\rhiuk\test"/>
> 		<exclude name="**/*.java"/>  
> </war>
> 
> But when I examine the myBean.war file all the .java files are
> there.

The <webinf> element is doing that.  You probably wanted to say

<war warfile="H:\config\mydomain\applications\myBean.war"
     webxml="META-INF\web.xml">
	<webinf dir="WEB-INF">
                <exclude name="classes/**" />
        </webinf>
	<classes dir="WEB-INF\classes\rhiuk\test"/>
		<exclude name="**/*.java"/>  
        </classes>
</war>

Stefan

--
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