ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin (JIRA)" <>
Subject [jira] Commented: (IVY-907) Environment properties in ivy settings are no longer resolved
Date Fri, 19 Sep 2008 06:54:44 GMT


Xavier Hanin commented on IVY-907:

Maarten: do you mean JIRA lost sg from you? I only added a comment. BTW, I think your fix
is not enough. Well, it should work as long as you use Ivy from Ant. But if you use Ivy standalone,
you can still have the same problem. Maybe we could do the variable substitution when we set
a variable? WDYT?

> Environment properties in ivy settings are no longer resolved
> -------------------------------------------------------------
>                 Key: IVY-907
>                 URL:
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0-RC1
>            Reporter: Erik-Berndt Scheper
>            Assignee: Maarten Coene
>             Fix For: 2.0.x
>         Attachments:,
> I have an ivy.settings.xml file published on an intranet http server, which includes
a property file from the same http server. (see attached files). This property file includes
the property:
> {code}ivy.cache.dir                     = ${env.IVY_CACHE_DIR}{code}
> This environment based property is no longer resolved when I use the proposed ivy-2.0.0-rc1.jar.
This leads to the following error during resolve:
> {noformat}
> ivy.check:
> ivy.init:
>     [mkdir] Created dir: D:\ws\eclipse-3.4\AAD\AAD-domain-model\target\reports\ivy
> ivy.resolve:
> [ivy:resolve] :: Ivy 2.0.0-rc1 - 20080916082609 :: ::
> :: loading settings :: url =
> D:\ws\eclipse-3.4\AAD\build\build-ivy\build.ivy.xml:75: java.lang.IllegalArgumentException:
ivy.cache.dir must be absolute: ${env.IVY_CACHE_DIR}
> Total time: 2 seconds
> {noformat}
> The same ivy settings files worked perfectly well with a previous ivy which I built from
trunk: org.apache.ivy_2.0.0.rc1_20080813101604.jar

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message