2
0
Эх сурвалжийг харах

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 жил өмнө
parent
commit
b98ddd4cc5

+ 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>