incubator-ivy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IVY-608) Add support for importing environment variables
Date Mon, 24 Sep 2007 14:31:50 GMT

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

Xavier Hanin commented on IVY-608:
----------------------------------

Sounds like a nice way to have it working in many cases. And with the classloading mechanism
we have in Ivy, someone with jre 1.4 could still use environment properties in IvyDE simply
by adding ant.jar in the Ivy classpath. 

> 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
>
>
> 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.


Mime
View raw message