> -----Original Message----- > From: opatry [mailto:[email protected]] > Sent: Tuesday, January 28, 2014 12:57 AM > To: [email protected] > Subject: Re: How to publish additional metadata with an artifact that is > needed at retrieve time > > Hi, > > If I understand your needs, you want to store some properties alongside your > binary modules in the repository so that you can use them when retrieving > your binaries. > > You don't necessarily have to zip your binaries when publishing them, you > can push the properties file near your other binaries as is. > > When retrieving your module, you can then load such properties file without > post processing anything.
Ok, can you please elaborate on this, both how I would publish like this, and what I have to do on retrieve? > Another solution is to use the extra attributes of Ivy > http://ant.apache.org/ivy/history/latest-milestone/concept.html#extra I see the basic idea, but there are several pieces that are not clear to me. First, can I load properties files IN the ivy.xml, so I can do something like "e:deployDir=${deploy.dir}", where "deploy.dir" is a property defined in the properties file? Second, how would I use this on retrieve to properly copy the artifact to the destination?
