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

Reply via email to