ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Schwager (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-1144) revisions are not replaces using deliver-task if an extra-attribute is set
Date Thu, 26 Nov 2009 10:50:41 GMT
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


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.


Mime
View raw message