ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46526] Document behaviour of properties set in target called by antcall
Date Wed, 14 Jan 2009 15:24:13 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46526





--- Comment #1 from Matt Benson <gudnabrsam@yahoo.com>  2009-01-14 07:24:12 PST ---
! /Users/mbenson/oss/asf/ant/docs/manual> grep -ci "new project"
CoreTasks/antcall.html 
10
! /Users/mbenson/oss/asf/ant/docs/manual> 

--------

I will concede that the manual could be more explicit:  "The called target(s)
are run in a new project; be aware that this means properties, references, etc.
set by called targets will not persist back to the calling project."

Finally, you should be aware that for probably going on five years now macros,
rather than <antcall>ed targets, are the preferred way to perform
compartmentalized tasks within your build.  I don't believe I've run into a
situation where a macro wouldn't suffice for what I was trying to accomplish.


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

Mime
View raw message