소스 검색

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>