ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Benigan (JIRA)" <>
Subject [jira] Created: (IVY-904) ant properties are not propogated to ant build with ant-build trigger
Date Fri, 12 Sep 2008 16:07:44 GMT
ant properties are not propogated to ant build with ant-build trigger

                 Key: IVY-904
             Project: Ivy
          Issue Type: Bug
          Components: Ant
    Affects Versions: 2.0-RC1
            Reporter: Steve Benigan
             Fix For: 2.0-RC1

An ant-build trigger calls a target in an ant build file but does not propogate properties
to the ant build.

ant-call does propogate them - well I'm not sure it's doing anything special but b/c it's
calling a target within the current ant build they are propogated by the nature of ant.

If possible, some ivy properties should be propogated such as the ivy.cache.dir.${settingsRef}
properties as well as all of the other properties set in the current build due to settings,
resolve, etc.  Otherwise, the ant-build trigger is limited in what it can do based on the
context in which it was called.

The workaround is to use ant-call and then within the called target use "ant" task to call
the desired target in an external ant file.  This is not ideal since it means this target
needs to be in every build file or at least in an imported build file.

PS This may be a Change Request rather than an actual bug.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message