You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Donal McNamee (JIRA)" <ji...@apache.org> on 2008/04/17 11:21:21 UTC
[jira] Created: (IVY-798) Property expansion in
Property expansion in <info/>
-----------------------------
Key: IVY-798
URL: https://issues.apache.org/jira/browse/IVY-798
Project: Ivy
Issue Type: Improvement
Components: Core
Affects Versions: 2.0.0-alpha-2
Reporter: Donal McNamee
Looking to use the "Extra attributes" options in the <module/> tag in an ivy.xml file
But instead of something like:
<info organisation="myorg" colour="blue"/>
it would be nice to have property expansions to fill out the attribute value. Like:
<info organisation="myorg" colour="${my.colour}"/>
But the property ${my.colour} never gets expanded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (IVY-798) Property expansion in
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene updated IVY-798:
------------------------------
Fix Version/s: 2.0-RC1
Assignee: Xavier Hanin
> Property expansion in <info/>
> -----------------------------
>
> Key: IVY-798
> URL: https://issues.apache.org/jira/browse/IVY-798
> Project: Ivy
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.0-alpha-2
> Reporter: Donal McNamee
> Assignee: Xavier Hanin
> Fix For: 2.0-RC1
>
>
> Looking to use the "Extra attributes" options in the <module/> tag in an ivy.xml file
> But instead of something like:
> <info organisation="myorg" colour="blue"/>
> it would be nice to have property expansions to fill out the attribute value. Like:
> <info organisation="myorg" colour="${my.colour}"/>
> But the property ${my.colour} never gets expanded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (IVY-798) Property expansion in
Posted by "Łukasz Kurek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655166#action_12655166 ]
Łukasz Kurek commented on IVY-798:
----------------------------------
I have problems with using 'info' task on local ivyfile with repository parameters given by properties:
{code}
[ivy:info] [xml parsing: ivy.xml:6:252: cvc-datatype-valid.1.2.1: '${ivy.ivyfile.info.repository.ivys}' is not a valid value for 'boolean'. in file:/E:/Eclipse%20Workspace%20WTP/CAM-DynamicView/conf/ivy/ivy.xml
[ivy:info] , xml parsing: ivy.xml:6:252: cvc-attribute.3: The value '${ivy.ivyfile.info.repository.ivys}' of attribute 'ivys' on element 'repository' is not valid with respect to its type, 'boolean'. in file:/E:/Eclipse%20Workspace%20WTP/CAM-DynamicView/conf/ivy/ivy.xml
[ivy:info] , xml parsing: ivy.xml:6:252: cvc-datatype-valid.1.2.1: '${ivy.ivyfile.info.repository.artifacts}' is not a valid value for 'boolean'. in file:/E:/Eclipse%20Workspace%20WTP/CAM-DynamicView/conf/ivy/ivy.xml
[ivy:info] , xml parsing: ivy.xml:6:252: cvc-attribute.3: The value '${ivy.ivyfile.info.repository.artifacts}' of attribute 'artifacts' on element 'repository' is not valid with respect to its type, 'boolean'. in file:/E:/Eclipse%20Workspace%20WTP/CAM-DynamicView/conf/ivy/ivy.xml
[ivy:info] ]
{code}
I'm using Ivy-2.0.0-rc2, Ant 1.7.1. I'm sure that these properties are set correctly. They are not expanded before checking attribute values or sth.
> Property expansion in <info/>
> -----------------------------
>
> Key: IVY-798
> URL: https://issues.apache.org/jira/browse/IVY-798
> Project: Ivy
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.0-alpha-2
> Reporter: Donal McNamee
> Assignee: Xavier Hanin
> Fix For: 2.0-RC1
>
>
> Looking to use the "Extra attributes" options in the <module/> tag in an ivy.xml file
> But instead of something like:
> <info organisation="myorg" colour="blue"/>
> it would be nice to have property expansions to fill out the attribute value. Like:
> <info organisation="myorg" colour="${my.colour}"/>
> But the property ${my.colour} never gets expanded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (IVY-798) Property expansion in
Posted by "Donal McNamee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donal McNamee resolved IVY-798.
-------------------------------
Resolution: Fixed
I can confirm that variable expansion in the <info/> tag is working in svn[649074] on trunk
> Property expansion in <info/>
> -----------------------------
>
> Key: IVY-798
> URL: https://issues.apache.org/jira/browse/IVY-798
> Project: Ivy
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.0-alpha-2
> Reporter: Donal McNamee
>
> Looking to use the "Extra attributes" options in the <module/> tag in an ivy.xml file
> But instead of something like:
> <info organisation="myorg" colour="blue"/>
> it would be nice to have property expansions to fill out the attribute value. Like:
> <info organisation="myorg" colour="${my.colour}"/>
> But the property ${my.colour} never gets expanded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.