You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Maarten Coene (JIRA)" <ji...@apache.org> on 2010/05/07 22:13:03 UTC

[jira] Updated: (IVY-1144) revisions are not replaces using deliver-task if an extra-attribute is set

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

Maarten Coene updated IVY-1144:
-------------------------------

    Fix Version/s: 2.2.0-RC1
                       (was: trunk)

> revisions are not replaces using deliver-task if an extra-attribute is set
> --------------------------------------------------------------------------
>
>                 Key: IVY-1144
>                 URL: https://issues.apache.org/jira/browse/IVY-1144
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1.0
>            Reporter: Daniel Schwager
>            Assignee: Maarten Coene
>             Fix For: 2.2.0-RC1
>
>
> I'm using extra attributes in my ivy-file "dtn:envelop". If i try to deliver,
> the revision "latest.${ivy.status}" is not replaced to the resolved&retrieved revision number:
> <?xml-stylesheet type="text/xsl" href="http://www.jayasoft.fr/org/ivyrep/ivy-doc.xsl"?>
> <ivy-module version="2.0" xmlns:dtn="http://dtnet.de/ivy/extra">
> ...
> 		<dependency org="dtnet" name="foundation"	
> 					rev="latest.${ivy.status}" dtn:envelop="" 	revConstraint="latest.integration"
> 					conf="
> 					runtime, eclipse, compile -> dtnet-startup, dtnet-exec, dtnet-net ; 
> 					tools -> dtnet-prop2class;
> 					source ; 
> 					license"/>
> If i remove the extra attribute
> 		<dependency org="dtnet" name="foundation"	
> 					rev="latest.${ivy.status}"  revConstraint="latest.integration"
> 					conf="
> 					runtime, eclipse, compile -> dtnet-startup, dtnet-exec, dtnet-net ; 
>                                     .....
> all works fine an my new, generated ivy.xml includes the replace revisions:
>    <dependency org="dtnet" name="foundation" rev="2.7.3"  ...
> My deliver task looks like this:
> 		<ivy:deliver 	
> 				pubrevision="${gen.new.revision}"
> 				generateRevConstraint="true"
> 				replacedynamicrev="true"
> 				pubdate="${now}"
> 				status="${ivy.status}"
> 				validate="true" 
> 				deliverpattern="${artifacts.dir}/[artifact].[ext]" />

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