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 12217] - [PATCH][embed proposal] add ant.file.projectname property for every <import>ed file
Date Tue, 03 Dec 2002 14:29:50 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=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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message