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 problem using properties in ivysettings with IvyDE
Date Thu, 09 Oct 2008 15:55:43 GMT

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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message