ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Southern <ja...@4southern.com>
Subject Re: ivy.xml, strict location convention or configurable?
Date Thu, 12 Jun 2008 18:34:06 GMT

Thanks for the suggestion Jim. The only caveat it seems is that the
${ivy.dep.file} property must be set before calling <ivy:settings/>. I tried
setting the property after <ivy:settings/> and before <ivy:retrieve/> and
that didn't work.

Jason


Jim White wrote:
> 
> I believe you're looking for the file attribute of the ivy:resolve Ant
> task.
> 
> http://ant.apache.org/ivy/history/latest-milestone/use/resolve.html
> 
> file	path to the ivy file to use for resolution
> 	Not required. Defaults to ${ivy.dep.file} or nothing in inline mode
> 
> Jim
> 
> 2min4roughing wrote:
> 
>> I'm using Ivy 2.0 beta2 and I've read all the documentation and search
>> this
>> mailing list. I wish to invoke the retrieve task and specify the path an
>> ivy-module configuration file. Doesn't appear to be an attribute and I
>> can't
>> seem to find any Ant property that I can use to specify the file before I
>> invoke the task. Obviously, I can rename the ivy-module file to ivy.xml
>> and
>> place it directly in same directory as my Ant build and retrieve tasks
>> works
>> because I'm following the convention.
>> 
>> I would just like to know if I can specify the location of the ivy-module
>> configuration before calling retrieve. If its not permitted, it would be
>> be
>> a nice feature and consistent with the functionality provided by
>> ${ivy.settings.file}.
>> 
>> TIA,
>> Jason
>> 
>> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/ivy.xml%2C-strict-location-convention-or-configurable--tp17806141p17806805.html
Sent from the ivy-user mailing list archive at Nabble.com.


Mime
View raw message