ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée <nicolas.lale...@hibnet.org>
Subject Re: problem using properties in ivysettings with IvyDE
Date Fri, 10 Oct 2008 12:12:19 GMT
I think your issue has been already fixed in the last released version of Ivy 
with IVY-387.

What Ivy do you have in Eclipse ? (see at the top of the Ivy preference page).

If it's not the 2.0.0.cr1, could you try to update your Ivy installed in your 
Eclipse ? The IvyDE updatesite contains that last release of Ivy.

Nicolas


Le jeudi 9 octobre 2008, St. Denis, David a écrit :
> 2.0.0.alpha1
>
> -----Original Message-----
> From: Maarten Coene [mailto:maarten_coene@yahoo.com]
> Sent: Thursday, October 09, 2008 3:31 PM
> To: ivy-user@ant.apache.org
> Subject: Re: problem using properties in ivysettings with IvyDE
>
> Which version of IvyDE do you use?
>
> Maarten
>
>
>
> ----- Original Message ----
> From: "St. Denis, David" <david.stdenis@siemens.com>
> To: "ivy-user@ant.apache.org" <ivy-user@ant.apache.org>
> Sent: Thursday, October 9, 2008 5:55:43 PM
> Subject: problem using properties in ivysettings with IvyDE
>
>
> When I use an ivy settings file with Ant from the command line I can use
> relative paths, for example: <properties file="global.properties" />
>
> But when I use the same ivy settings file from IvyDE I need to use an
> absolute path to the property file. <properties
> file="/uhome/dsd/ivy/fms/global.properties" />
>
> Otherwise I get the error below:
>
> BUILD FAILED
> /uhome/dsd/ivy/fms/ivy_common.xml:15: impossible to configure ivy:settings
> with given file: /uhome/dsd/ivy/fms/ivy_settings.xml
> :java.text.ParseException: failed to load settings from
> file:/uhome/dsd/ivy/fms/ivy_settings.xml: unable to load properties from
> global.properties. Tried both as an url and a file, with no success. File
> exception: java.io.FileNotFoundException: global.properties (No such file
> or directory). URL exception: java.net.MalformedURLException: no protocol:
> global.properties
>
> I can run other targets in the build file which also load this property
> file without problem, so it should not be related to the actual relative
> location of the file. I tried moving the property file around with respect
> to the project as an experiment with no luck.
>
> Thanks,
> Dave



Mime
View raw message