You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ryan Grier <rw...@ryangrier.com> on 2003/01/21 04:20:25 UTC

New Ant Task

Hello all,
I believe I may have a nice little tool which may come in handy for some
people; at least I hope it does. 

The goal of this task was for me to have Ant take care of both the build
number and the version number in my software. I could have just used a
build in task to take care of build number increments. This would be
fine, if I didn't use a special pattern for build numbers.

To my knowledge, there is no build in Ant task that will update a
version number in a Java class for me. With this being said, i decided
to do it myself. I'm not sure if these Ant tasks will be helpful to
anyone.

If anyone has any comments, suggestions, gripes, complaints, please let
me know. The task is a fairly simple one. I wrote it for myself and I
figured I would give it to anyone who would want it.

Ryan 


Task Name: Version_Tool
Description: The goal of this task was for me to have Ant take care of
both the build number and the version number in my software. I could
have just used a build in task to take care of build number increments.
This would be fine, if I didn't use a special pattern for build numbers.

Compatibility: This has been tested on 1.5.1 
URL: http://ant.ryangrier.com/
License: BSD License



<subsection name="Version_Tool">
	<p>A versioning tool for Ant.</p>
	    <table>
	  	<tr>
	    	   	<th>Compatibility:</th>
	    	   	<td>Ant 1.5.1</td>
       		</tr>
	       	<tr>
	    	   	<th>URL:</th>
	           	<td><a
href="http://ant.ryangrier.com/">http://ant.ryangrier.com/</a></td>
		</tr>
	        <tr>
	        	<th>Contact:</th>
	            <td><a
href="mailto:version_tool@ryangrier.com">version_tool@ryangrier.com</a></td>
		</tr>
	        <tr>
	            <th>License:</th>
	            <td>BSD</td>
		</tr>
	</table>
</subsection>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>