I am trying to display the SVN revision number using Ant build system. I have
tried to use svntask. However, it gives me the revision of the current
directory. I would like to default it to the base directory, I've attached
the code snippet:::::

target name="version">
<typedef resource="com/googlecode/svntask/svntask.xml">
<classpath>
<fileset dir="${srcdir}/CAMViewerEar/lib">
<include name="svnkit.jar"/>
<include name="svntask.jar"/>
</fileset>
</classpath>
</typedef>

<svn><info path="." revisionProperty="revisionVersion" /></svn>
<property name="revision" value="${revisionVersion}" />
<echo message="revision number is : ${revision}" />
</target> 


Any help is appreciated, TIA 

-- 
View this message in context: 
http://www.nabble.com/Revision-Number-using-Ant-1.7-tp20610071p20610071.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to