ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "St. Denis, David" <david.stde...@siemens.com>
Subject RE: problem using properties in ivysettings with IvyDE
Date Thu, 09 Oct 2008 21:36:59 GMT
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