On 9/21/07, Maarten Coene <[EMAIL PROTECTED]> wrote:
>
> If the ivy.settings.dir variable is dependend from the way the settings
> file is loaded, I think the usage of it should be discouraged because it
> will be a source of configuration problems which are hard to track.


At least we should explain that the value of the variable is dependent on
the way the settings are loaded, and thus that using
ivy.settings.base.urlis recommended.

But I understand your concern for backwards compatibility, so introducing
> the ivy.settings.base.url variable is ok for me.
>
> I think we should also update the examples on the website to use this new
> variable because they won't work if the settings file was loaded with an
> URL.


+1

Xavier

Maarten
>
>
>
> ----- Original Message ----
> From: Xavier Hanin <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Friday, September 21, 2007 11:36:49 AM
> Subject: Re: Value of the ivy.settings.dir variable
>
>
> I agree it would be nice to have a variable set with a value which doesn't
> depend on the way the settings are loaded. But I don't think we should
> change the ivy.settings.dir value, because it may break backward
> compatibility. Adding a variable like ivy.settings.base.url set to what we
> get in ivy.settings.dir when we load settings using an URL (ie the file
> URL
> when they are loaded with a File) could be a good solution to have
> something
> which always resolve to the same value.
>
> WDYT?
>
> Xavier
>
>
>
>
>
>
>
>
>       
> ____________________________________________________________________________________
> Don't let your dream ride pass you by. Make it a reality with Yahoo!
> Autos.
> http://autos.yahoo.com/index.html
>
>
>
>


-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://incubator.apache.org/ivy/
http://www.xoocode.org/

Reply via email to