فهرست منبع

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 سال پیش
والد
کامیت
b98ddd4cc5
1فایلهای تغییر یافته به همراه10 افزوده شده و 1 حذف شده
  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>