On 4/10/07, Anton Stalnuhhin <[EMAIL PROTECTED]> wrote:
Yes, I did it. As you wrote: <conf defaultCache="${ivy.default.cache}" />
But... situation is next.
We build project in different environments with different OS. For example,
some developers are using Windows, and for integrating into main branch we
use Linux. So we will have to keep different properties in different OS.
What do you mean by different properties? Do you mean different values? With
ant it's pretty simple to have different values for a property depending on
the OS.
It is possible, but it is not comfortable. I think it is not hard to make
such property in Ivy, but I don't know for sure...
It isn't really hard, but I don't see what it would make simpler, since it
would be exactly the same as what you are doing for the moment with your
defaultCache settings. Could you give more details on what you would like to
do?
- Xavier
----------------------------------------
Anton Stalnuhhin [5248202]
[EMAIL PROTECTED]
________________________________
From: Xavier Hanin [mailto:[EMAIL PROTECTED]
Sent: T 10.04.2007 15:54
To: [email protected]
Subject: Re: ivy default cache property
On 4/10/07, Anton Stalnuhhin <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Are there any default cache property? Something like ${ivy.default.cache
> }???
> If there are, tell me please, I couldn't find in docs or ivy.jar.... If
> not, I'll tell why I think it should be.
No, there isn't, if you want to use one you have to add something like
this
to your settings file (or ivyconf in 1.4 terminology):
<settings defaultCache="${ivy.default.cache}" />
or in 1.4
<conf defaultCache="${ivy.default.cache}" />
But I'd be interested to know why you think there should be one.
- Xavier
----------------------------------------
> Anton Stalnuhhin [5248202]
> [EMAIL PROTECTED]
>
--
Learn Ivy at ApacheCon: http://www.eu.apachecon.com/
Manage your dependencies with Ivy!
http://incubator.apache.org/ivy/
--
Learn Ivy at ApacheCon: http://www.eu.apachecon.com/
Manage your dependencies with Ivy!
http://incubator.apache.org/ivy/