You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by RudyB <Ru...@gmail.com> on 2010/05/05 18:17:37 UTC

publish ivy.xml that contains property refs using ant

I have a parent ant build.xml that includes a publish task to publish its
child projects.  The parent dir has
and ivysettings.xml file which loads an ivy.properties file that define the
organisation and rev to be used when publishing the children.

Each child has its own ivy.xml which and ivysettings.xml.  The latter
includes the parent ivysettings.xml.

Each child's info section of its ivy.xml references the organisation and rev
properties loaded by the parent.

Running the publish task appears to work.  At least the published files show
up in the local repository.  However the published ivy.xml files in the
repository still contain the references to the org and rev variables, rather
then having their values substituted.  This causes me problems later when I
try to reference the published artifacts as dependencies.

I've tried loading the ivy.properties explicitly in both the parent ant
build.xml and the child build.xml.  No go.

Any help would be appreciated

Rudy


-- 
View this message in context: http://old.nabble.com/publish-ivy.xml-that-contains-property-refs-using-ant-tp28462894p28462894.html
Sent from the ivy-user mailing list archive at Nabble.com.