[
https://issues.apache.org/jira/browse/IVY-608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maarten Coene resolved IVY-608.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0-beta-2
I've implemented it in a way more or less like I suggested in my last comment.
It is not properly tested though, since I couldn't think of a good way to add a
junit test for it. So please try it out and report any problems with this
implementation
Maarten
> Add support for importing environment variables
> -----------------------------------------------
>
> Key: IVY-608
> URL: https://issues.apache.org/jira/browse/IVY-608
> Project: Ivy
> Issue Type: New Feature
> Components: Core
> Affects Versions: 2.0.0-alpha-2
> Reporter: Jing Xue
> Assignee: Maarten Coene
> Priority: Minor
> Fix For: 2.0.0-beta-2
>
> Attachments: import-env-1.patch, import-env-v2.patch
>
>
> Ant supports importing environment variables into properties via the
> <properties environment="env" /> task. If an ivysettings.xml relies on an
> environment variable, the lack of support for this feature in Ivy makes it
> difficult to reuse the same ivysettings.xml in a non-Ant environment, such as
> in IvyDE. I'm submitting a patch to add the support for JDK 1.5+. This
> implementation will throw an exception when running in lesser JVMs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.