You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/12/03 15:29:50 UTC
DO NOT REPLY [Bug 12217] -
[PATCH][embed proposal] add ant.file.projectname property for every ed file
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=12217>.
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=12217
[PATCH][embed proposal] add ant.file.projectname property for every <import>ed file
------- Additional Comments From nicolaken@apache.org 2002-12-03 14:29 -------
Can this patch be applied?
Ok, the files have changed I think, but the patch is really trivial and adds
lots of flexibility; in Centipede (a real-life example that uses embed) we
cannot basically do without anymore, since each imported antfile needs to know
where the files are relative to its location.
if( context.ignoreProjectTag ) {
+ project.setUserProperty("ant.file."+context.currentProjectName,
context.buildFile.toString());
// no further processing
return;
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>