Which version of IvyDE do you use?

Maarten



----- Original Message ----
From: "St. Denis, David" <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
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



      

Reply via email to