ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis, Eric" <Eric.Le...@ipi.ch>
Subject AW: Newbie: Can't configure Ivy from local file in Windows
Date Mon, 11 Aug 2008 07:28:42 GMT
I just tried this with another Ant tag:

<ivy:settings file="C:/jp/build/global/ivysettings.xml" />

This works, even though I don't know why it didn't before.


Using an URL with

<ivy:settings url="file://C:/jp/build/global/ivysettings.xml" />

gives me

BUILD FAILED
C:\jp\build\project\build.xml:29: impossible to configure ivy:settings with given url :file://C:/jp/build/global/ivysettings.xml
:java.io.IOException: Server returned HTTP response code: 502 for URL: ftp://C/jp/build/global/ivysettings.xml

No idea, why Ivy thinks that file:// is the same as ftp://

The same happens for the URL

<ivy:settings url="file://C/jp/build/global/ivysettings.xml" />


Best regards,
Eric


> -----Urspr√ľngliche Nachricht-----
> Von: Jing Xue [mailto:jingxue@digizenstudio.com] 
> Gesendet: Samstag, 9. August 2008 01:28
> An: ivy-user@ant.apache.org
> Betreff: Re: Newbie: Can't configure Ivy from local file in Windows
> 
> 
> On Fri, Aug 08, 2008 at 05:32:52PM +0200, Lewis, Eric wrote:
> > Ok:
> > 
> > <ivy-module version="1.0">
> >   <ivysettings>
> >     <settings defaultResolver="default" />
> >     <include 
> file="C:/jp/build/global/build-ivysettings-public.xml" />
> 
> Try:
> 
> <include 
> url="file://C:/jp/build/global/build-ivysettings-public.xml" />
> 
> >     <include 
> url="${ivy.default.settings.dir}/ivysettings-shared.xml" />
> >     <include 
> url="${ivy.default.settings.dir}/ivysettings-local.xml" />
> >     <include 
> url="${ivy.default.settings.dir}/ivysettings-main-chain.xml" />
> >     <include 
> url="${ivy.default.settings.dir}/ivysettings-default-chain.xml" />
> >   </ivysettings>
> > </ivy-module>
> > 
> > 
> > I copied it from the default configuration, just to change 
> the public configuration.
> > The first include also didn't work, with the same error.
> > 
> > Best regards,
> > Eric 
> 

Mime
View raw message