[ 
https://issues.apache.org/jira/browse/IVY-608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jing Xue updated IVY-608:
-------------------------

    Attachment: import-env-v2.patch

(Evidently my watch on this issue never sent me any emails...)

I'm uploading a new patch that:
1. reimplements the environment importing feature using the EnvironmentLoader 
approach Jan suggested, with Java 5 and Ant support.
2. adds the property description to the documentation.

Please consider the last patch obsolete.


> 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
>            Priority: Minor
>         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.

Reply via email to