Skip to main content

Posts

Showing posts with the label build version

ANT, ADF: Adding version info to my build and help about screen

Build I added two steps to my build (after everything was built) one to create the properties file and the other to package it: <antcall target="create-version-property" inheritAll="true" inheritRefs="true"/> <antcall target="inject-version-file" inheritAll="true" inheritRefs="true"/> Creating the file.   <target name="create-version-property">    <-- check that the jar file is available -->     <available file="${build.file.location}/lib/svnant.jar" property="SVN_ANT_AVAILABLE" />         <fail unless="SVN_ANT_AVAILABLE" message="Run jar target to generate the required task"/>        <-- load the svn ant plugin classpath -->         <taskdef resource="org/tigris/subversion/svnant/svnantlib.xml">             <classpath>         ...