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 11270] - FileSet and DirSet break if the directory does not exist
Date Sun, 28 Jan 2007 18:02:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=11270>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=11270





------- Additional Comments From bsalvucci@rjlg.com  2007-01-28 10:02 -------
I don't see how that can be used in a jar task to handle the situation that the
original post was about.

I have something like:

<jar jarfile="my.jar">
  <fileset dir="${basedir}/conf/properties" includes="*.properties"/>
  <fileset dir="${basedir}/classes" includes="**/*.classes"/>
</jar>

If there is a conf/properties directory, I want all the properties files to be
in the jar with no path. If the directory, doesn't exist, I want it to go on to
the next patternset. I don't see how the <files> approach be used to do this.

The failonerror attribute would have been so simple.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message