craigwblake / redline

Pure Java Rpm Library
http://redline-rpm.org
MIT License
128 stars 97 forks source link

ant / archivefileset #82

Closed fabvador closed 9 years ago

fabvador commented 9 years ago

Since ant 1.8.0 we have:

  ArchiveFileSet.setErrorOnMissingArchive(boolean errorOnMissingArchive): Sets whether an error is thrown if an archive does not exist.

(see: http://grepcode.com/file_/repo1.maven.org/maven2/org.apache.ant/ant/1.8.4/org/apache/tools/ant/types/ArchiveFileSet.java/?v=source)

It looks like RedLine-RPM does NOT support this attribute! It would be very handy to have it!

fabvador commented 9 years ago

Sorry, My mistake!

I should instead use:

  AbstractFileSet.setErrorOnMissingDir(false);  (because using ZipFileSet)

Then it works!