ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23760] - allow for regular expressions in FileSet include and exclude
Date Mon, 13 Oct 2003 13:35:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23760>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23760

allow for regular expressions in FileSet include and exclude





------- Additional Comments From hauser@acm.org  2003-10-13 13:35 -------
Somehow, I don't get it to work with your below suggestion that I interpreted as
follows:
a) abc.class remains in the "nested element 'classes'" as per
http://ant.apache.org/manual/CoreTasks/war.html
b) your <and> goes into a generic fileset?

<war warfile="${deploy.dir}/myApp.war"
		   webxml="./WEB-INF/web.xml">
		<fileset dir="./" >
		   <and>
		      <filename name="**/*.class"/>
		      <not>
		        <filename name="**/one directory/**"/>
		      </not>
		   </and>
		</fileset>
		<classes dir="${build.dir}"
		   includes="./WEB-INF/classes/com/privasphere/myApp/*/one directory/abc.class"
	   />
		</war>

now all *.class files are gone in all directories and in 
/usr/local/tomcat/work/MyService/localhost/myApp/WEB-INF/classes/com/*/one
directory/ not even abc.class is found...

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


Mime
View raw message