forked from GameRoomPC/GameRoom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJAR_to_EXE.xml
23 lines (22 loc) · 976 Bytes
/
JAR_to_EXE.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0"?>
<project name="GameRoom.exe">
<target name="Pack for Release">
<loadfile property="implementation.version" srcFile="src/META-INF/MANIFEST.MF">
<filterchain>
<!-- following filter tokenize input file and return only
the lines that match the pattern. Matched string is
replaced by an empty string to get only the value of the
manifest property.
-->
<tokenfilter>
<containsregex pattern="Implementation-Version:[ \t]*" replace="" flags="i"/>
</tokenfilter>
</filterchain>
</loadfile>
<exec executable="D:/Google Drive/Projects/GameRoom/production/build_for_release.bat"
dir="D:/Google Drive/Projects/GameRoom/production/">
<arg value="${implementation.version}"/>
</exec>
<echo>Done!</echo>
</target>
</project>