Browse Source

LIBS/COMMUNITY/BETA: Improved the way how is generated the revision number in Ant Builder, now it will get the revision number of the last change made in the specific project, and not the last revision number from whole svn.

MELERIX 12 years ago
parent
commit
b98ddd4cc5
1 changed files with 10 additions and 1 deletions
  1. 10 1
      L2J_Server_BETA/build.xml

+ 10 - 1
L2J_Server_BETA/build.xml

@@ -225,6 +225,15 @@
 		<tstamp>
 			<format property="build.tstamp" pattern="dd/MM/yyyy HH:mm" />
 		</tstamp>
-		<exec dir="${basedir}" executable="svnversion" outputproperty="l2j.version" />
+		<exec dir="${basedir}" executable="svnversion" outputproperty="l2j.version">
+			<arg value="-c" />
+			<redirector>
+				<outputfilterchain>
+					<tokenfilter>
+						<replaceregex pattern="[0-9]+\:" replace="" />
+					</tokenfilter>
+				</outputfilterchain>
+			</redirector>
+		</exec>
 	</target>
 </project>