ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amir (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-1166) ivy unable to increment revision correctly
Date Tue, 02 Feb 2010 11:36:19 GMT
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, 2.1.0-RC1
         Environment: client(s): windowsxp and linux
server repository: linux
            Reporter: Amir


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>

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