ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: problems with <fileset>
Date Tue, 09 Dec 2003 13:21:04 GMT
**/*.jsp
**/*.java
?

Jan

> -----Original Message-----
> From: Edson Alves Pereira [mailto:eapereira@panamericano.com.br]
> Sent: Tuesday, December 09, 2003 3:11 PM
> To: 'Ant Developers List'
> Subject: problems with <fileset>
> 
> 
> 	Hello folks, i tried to build a jar file, for this task i using
> fileset to excludes some files that i don´t want inside my 
> .jar ( like .jsp
> and .java ), but when i list what lie inside my .jar there 
> are all files
> that was supposed to be ignored. What i did wrong? Here´s a 
> snop-shoot:
> 
> 		<jar destfile="${webapp}/WEB-INF/lib/lib-jsp.jar"
> 				 basedir="${webapp}/jsp">
> 			<fileset dir="${webapp}/jsp">
> 				<patternset id="teste">
> 					<include name="*.class"/>
> 					<exclude name="*.jsp"/>
> 					<exclude name="*.java"/>
> 				</patternset>
> 			</fileset>
> 		</jar>
> 
> 	Regards,
> 	Edson
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message