antlets/version/src xbuild.xml,NONE,1.1

[email protected]
Newsgroups gmane.comp.krysalis.metamorphosis.cvs
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/antlets/version/src
In directory sc8-pr-cvs1:/tmp/cvs-serv14378/version/src

Added Files:
	xbuild.xml 
Log Message:
Version antlib.
Old Jar checked (yuck)

--- NEW FILE: xbuild.xml ---
<?xml version="1.0"?>
<!-- $Header: /cvsroot/metamorphosis/antlets/version/src/xbuild.xml,v 1.1 2003/12/23 00:20:13 chalko Exp $ -->
<project default="version-stamp" name="version.antlet">
  <description>
   Version a Java project.
  </description>
  
  <!-- Antlet Specific Properties -->

    <dirname property="version.antlet.dir" file="${ant.file.version.antlet}"/>
	<property name="version-antlet:work.dir" 
  			value="${project.build.dir}/work"/>  
  			


                   


  <!-- Classpath for my jars -->
 <path id="version.classpath">
    <fileset dir="${version.antlet.dir}/lib/">
      <include name="*.jar"/>
    </fileset>
 </path>

  <taskdef resource="version" 
  		classpathref="version.classpath"/>	

  <target name="version-stamp">
	  <description>
	  Stamp a project with a version identifier/version data/attributes.
	  </description>

		<version-stamp dest="${project.src.dir}" overWrite="true" dependent="false">
			<versionMarker
				versionId="${project.package}"
				version ="${project.version}"
					>
				<defaultAttributes/>
			</versionMarker>
		</version-stamp>					  	
  </target>
</project>




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.