ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirby Files <Kfi...@masergy.com>
Subject RE: Configuration Fails on Mac due to UNC paths in ivy settings
Date Thu, 20 Oct 2011 18:11:17 GMT
I use a build.properties file which specifies the path for those filesystem resolvers. So on
my Unix hosts, that property file uses the Unix path to the mountpoint for the filesystem,
and on Windows it uses UNC.

Thanks,
 ---
Kirby Files
Software Architect
Masergy Communications
kfiles@masergy.com

-----Original Message-----
From: Peter Kahn [mailto:citizenkahn@gmail.com] 
Sent: Thursday, October 20, 2011 2:00 PM
To: ivy-user@ant.apache.org
Subject: Configuration Fails on Mac due to UNC paths in ivy settings

Hi all,

How can I get the mac to parse my setting file even though it has unc paths for resolvers
which the mac won't use?

I have a cross platform build and a common ivy settings files used by all.
 This includes http resolvers for ibiblio etc and internal.  Some resolvers are used by all
builds, others are for windows only.  Some of the windows only use UNC paths.

On mac the configuration step fails as shown below.

I see my options as:
- add webservers to all fileservers and remove all UNC paths
- use multiple settings files (this violates D-R-Y principle and adds work)
- use some ivy mechanism to tell the config step to skip win only resolvers when executing
on mac

What approach is the standard or favored approach?

Thanks

Peter

ERROR
-------------
impossible to configure ivy:settings with given url: ivysettings.xml :
java.text.ParseException: failed to load settings from ivysettings.xml:
problem in config file: failed to load settings from
release/ivysettings.xml: impossible to add configured child for ivy on class
org.apache.ivy.plugins.resolver.FileSystemResolver: ivy pattern must be
absolute:
\\ivyInternal\/development/[organisation]/[module]/[revision]/[branch]/ivy.xml


--
Peter Kahn
citizenkahn@gmail.com
http://www.google.com/profiles/citizenkahn
Awareness - Intention - Action

Mime
View raw message