-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.xml
30 lines (22 loc) · 1019 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<project name="E2Stream" default="dist" basedir=".">
<description>E2Stream smart TV App Build</description>
<property environment="env" />
<target name="dist">
<zip destfile="${basedir}/../app/e2stream.pkg"
basedir="."
excludes=".settings/**,.svn,.project,build.xml"
/>
</target>
<target name="version">
<replace file="${basedir}/index.html" token="X.X" value="${setversion}"/>
<replace file="${basedir}/config.xml" token="0.0" value="${setversion}"/>
</target>
<target name="clearDebug">
<replace file="${basedir}/Javascript/Main.js" token="CLEAR: true" value="CLEAR: false"/>
<replace file="${basedir}/Javascript/Main.js" token="DEBUG: true" value="DEBUG: false"/>
</target>
<target name="legacyBuild">
<replace file="${basedir}/Javascript/Data.js" token='playerName : "Default"' value='playerName : "Legacy"'/>
<replace file="${basedir}/Index.html" token='Javascript/PlayerNew.js' value='Javascript/PlayerLegacy.js'/>
</target>
</project>