You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Derek Baum (JIRA)" <ji...@apache.org> on 2009/10/05 11:24:31 UTC

[jira] Commented: (FELIX-1697) Sigil variable substitution at ant properties level does not work when loaded via ivysettings

    [ https://issues.apache.org/jira/browse/FELIX-1697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12762125#action_12762125 ] 

Derek Baum commented on FELIX-1697:
-----------------------------------

this is by design.

sigil repository config does not have to be loaded via Ant/Ivy, so an Ant/Ivy properties context may not be available.

This allows the sigil repository config to be used from Eclipse, where Ant properties don't exist.

However, we could pass some additional "override" propererties to use for variable expansion, which would be Ant properties when running under Ivy and Workspace properties when running under Eclipse.

> Sigil variable substitution at ant properties level does not work when loaded via ivysettings
> ---------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1697
>                 URL: https://issues.apache.org/jira/browse/FELIX-1697
>             Project: Felix
>          Issue Type: Improvement
>          Components: Sigil
>            Reporter: David Savage
>            Priority: Minor
>
> Specifically bldcommon/sigil-repos.properties contains entries of the form:
> bld-ant;dir:            ${cache.dir:-${..}/cache}/ant/lib
> This is correctly substituted if set at the System properties level i.e.
> ANT_OPTS=-Dcache.dir=/var/tmp/sigil/cache ant clean dist
> But not if set at the ant properties level
> ant -Dcache.dir=/var/tmp/sigil/cache clean dist

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