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 5035] - Patternset and fileset enhancements
Date Thu, 06 Jan 2005 23:12:29 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=5035>.
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=5035





------- Additional Comments From ddevienne@lgc.com  2005-01-07 00:12 -------
No, you can't for these tasks that care about the relative paths of files 
listed by the fileset, like Javac. A fileset can have only a single dir. If you 
nest other filesets with different dirs, you must choose one of these dirs to 
be the unique 'main' fileset dir, and doing so you change the relative filename 
of any files from nested fileset with a different dir. With <javac>, that would 
result in *inventing* new package names for Java sources. <javac> assumes the 
relative filename matches the package name to do timestamp checking, and 
changing the relative filename of a .java file is equivalent for <javac> to re-
packaging the .java file, and <javac> will not look in the correct place for 
the generated .class file, that SUN's Javac outputs in a directory 
corresponding to the real package name.

No, really, it's difficult to explain, as my confusing explanation above 
demonstrates (!), but you can't have nested filesets because many tasks need 
the correct relative filename, and we can't change all tasks out there that do.

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