ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Callaghan, Tom" <TomCallag...@roberthalf.co.uk>
Subject RE: Excluding files
Date Thu, 10 Jan 2002 14:01:18 GMT
Hi,

Thanks for your help and quick reply.  

I tried your suggestion, but still no luck.  Now it appears that the .java
and .class files are being put in web-inf/calsses/rhiuk/test and also
duplicated in web-inf/classes

Also does`nt: -
	
<exclude name="classes/**" />

mean, exclude all files in the directories after classes/   ?

Cheers,
Tom

> -----Original Message-----
> From:	Stefan Bodewig [SMTP:bodewig@apache.org]
> Sent:	10 January 2002 12:11
> To:	ant-user@jakarta.apache.org
> Subject:	Re: Excluding files
> 
> 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>

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