ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amir (JIRA)" <j...@apache.org>
Subject [jira] Updated: (IVY-1166) ivy unable to increment revision correctly
Date Tue, 02 Feb 2010 11:38:18 GMT

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

Amir updated IVY-1166:
----------------------

    Description: 
ivy unable to increment revision correctly

when buildnumber and publish task finish it keeps publishing version 1.0.2
using ivy 2.0.0 works fine.

using :

<target name="publish.release" depends="client.deploy" description="Publishes a library
to the corporate Ivy repository">
        <!-- asks to ivy an available version number -->
        
		<!-- auto-increment the next release number -->
		<ivy:buildnumber
			organisation="uk.co.company" 
			module="AppWebServiceClient"
		/>
	    <echo message="Ivy repository says that the current ivy.revision is : ${ivy.revision}"
/>
	    <echo message="Ivy repository says that the current ivy.new.revision is : ${ivy.new.revision}"
/>
	    <echo message="Ivy repository says that the current ivy.build.number is : ${ivy.build.number}"
/>
	    <echo message="Ivy repository says that the current ivy.new.build.number is : ${ivy.new.build.number}"
/>
						
		<ivy:publish 
			settingsRef="basic.settings"			
			artifactspattern="${dist.dir}/[artifact].[ext]" 
			resolver="vm-repository" 			 
			status="release"
			conf="unversioned.jar"
			forcedeliver="true"
			overwrite="true"
		    pubrevision="${ivy.new.revision}"
		/>					
		<echo message="project ${ivy.module} released with version ${ivy.new.revision}" />
	</target>

  was:
ivy unable to increment revision correctly

using :

<target name="publish.release" depends="client.deploy" description="Publishes a library
to the corporate Ivy repository">
        <!-- asks to ivy an available version number -->
        
		<!-- auto-increment the next release number -->
		<ivy:buildnumber
			organisation="uk.co.company" 
			module="AppWebServiceClient"
		/>
	    <echo message="Ivy repository says that the current ivy.revision is : ${ivy.revision}"
/>
	    <echo message="Ivy repository says that the current ivy.new.revision is : ${ivy.new.revision}"
/>
	    <echo message="Ivy repository says that the current ivy.build.number is : ${ivy.build.number}"
/>
	    <echo message="Ivy repository says that the current ivy.new.build.number is : ${ivy.new.build.number}"
/>
						
		<ivy:publish 
			settingsRef="basic.settings"			
			artifactspattern="${dist.dir}/[artifact].[ext]" 
			resolver="vm-repository" 			 
			status="release"
			conf="unversioned.jar"
			forcedeliver="true"
			overwrite="true"
		    pubrevision="${ivy.new.revision}"
		/>					
		<echo message="project ${ivy.module} released with version ${ivy.new.revision}" />
	</target>


> ivy unable to increment revision correctly
> ------------------------------------------
>
>                 Key: IVY-1166
>                 URL: https://issues.apache.org/jira/browse/IVY-1166
>             Project: Ivy
>          Issue Type: Bug
>          Components: Ant
>    Affects Versions: 2.1.0-RC1, 2.1.0
>         Environment: client(s): windowsxp and linux
> server repository: linux
>            Reporter: Amir
>
> ivy unable to increment revision correctly
> when buildnumber and publish task finish it keeps publishing version 1.0.2
> using ivy 2.0.0 works fine.
> using :
> <target name="publish.release" depends="client.deploy" description="Publishes a library
to the corporate Ivy repository">
>         <!-- asks to ivy an available version number -->
>         
> 		<!-- auto-increment the next release number -->
> 		<ivy:buildnumber
> 			organisation="uk.co.company" 
> 			module="AppWebServiceClient"
> 		/>
> 	    <echo message="Ivy repository says that the current ivy.revision is : ${ivy.revision}"
/>
> 	    <echo message="Ivy repository says that the current ivy.new.revision is : ${ivy.new.revision}"
/>
> 	    <echo message="Ivy repository says that the current ivy.build.number is : ${ivy.build.number}"
/>
> 	    <echo message="Ivy repository says that the current ivy.new.build.number is :
${ivy.new.build.number}" />
> 						
> 		<ivy:publish 
> 			settingsRef="basic.settings"			
> 			artifactspattern="${dist.dir}/[artifact].[ext]" 
> 			resolver="vm-repository" 			 
> 			status="release"
> 			conf="unversioned.jar"
> 			forcedeliver="true"
> 			overwrite="true"
> 		    pubrevision="${ivy.new.revision}"
> 		/>					
> 		<echo message="project ${ivy.module} released with version ${ivy.new.revision}"
/>
> 	</target>

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