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:[EMAIL PROTECTED] > Gesendet: Samstag, 9. August 2008 01:28 > An: [email protected] > 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 >
