Skip to content

Commit c0ceeaf

Browse files
author
Devendra
committed
changes to build.xml for updating version
1 parent 7a161d0 commit c0ceeaf

31 files changed

+40
-22
lines changed

android/Pubnub-Android-3.5.1.jar

13 Bytes
Binary file not shown.

android/build.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,18 @@
5757

5858
<target depends="init" name="build-project">
5959
<echo message="${ant.project.name}: ${ant.file}"/>
60+
<replace dir="${src_pubnub_api_path}" token='protected static String VERSION = ""' value='protected static String VERSION = "${VERSION}"' >
61+
<include name="**/*.java"/>
62+
</replace>
6063
<javac destdir="bin" source="${source}" target="${target}">
6164
<src path="${src_pubnub_api_path}"/>
6265
<src path="${src_java_path}"/>
6366
<src path="${src_logging_path}"/>
6467
<src path="${src_android_path}"/>
6568
<classpath refid="classpath"/>
6669
</javac>
70+
<replace dir="${src_pubnub_api_path}" token='protected static String VERSION = "${VERSION}"' value='protected static String VERSION = ""'>
71+
<include name="**/*.java"/>
72+
</replace>
6773
</target>
6874
</project>
13 Bytes
Binary file not shown.
13 Bytes
Binary file not shown.
8 Bytes
Binary file not shown.

blackberry/build.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,18 @@
5757

5858
<target depends="init" name="build-project">
5959
<echo message="${ant.project.name}: ${ant.file}"/>
60+
<replace dir="${srcPubnubApi.link}" token='protected static String VERSION = ""' value='protected static String VERSION = "${VERSION}"' >
61+
<include name="**/*.java"/>
62+
</replace>
6063
<javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
6164
<src path="${srcPubnubApi.link}"/>
6265
<src path="src"/>
6366
<src path="${j2me.link}/src1"/>
6467
<src path="${j2me.link}/srcLogging"/>
6568
<classpath refid="PubnubApi.classpath"/>
6669
</javac>
70+
<replace dir="${srcPubnubApi.link}" token='protected static String VERSION = "${VERSION}"' value='protected static String VERSION = ""'>
71+
<include name="**/*.java"/>
72+
</replace>
6773
</target>
6874
</project>

j2me/Pubnub-MicroEdition-3.5.1.jar

9 Bytes
Binary file not shown.

j2me/build.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,18 @@
4949

5050
<target depends="init" name="build-project">
5151
<echo message="${ant.project.name}: ${ant.file}"/>
52+
<replace dir="${srcPubnubApi.link}" token='protected static String VERSION = ""' value='protected static String VERSION = "${VERSION}"' >
53+
<include name="**/*.java"/>
54+
</replace>
5255
<javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
5356
<src path="${srcPubnubApi.link}"/>
5457
<src path="src"/>
5558
<src path="src1"/>
5659
<src path="srcLogging"/>
5760
<classpath refid="PubnubApi.classpath"/>
5861
</javac>
62+
<replace dir="${srcPubnubApi.link}" token='protected static String VERSION = "${VERSION}"' value='protected static String VERSION = ""'>
63+
<include name="**/*.java"/>
64+
</replace>
5965
</target>
6066
</project>
8 Bytes
Binary file not shown.

java/build.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181

8282
<target depends="init" name="build-project">
8383
<echo message="${ant.project.name}: ${ant.file}"/>
84-
<replace dir="${srcPubnubApi.link}" token='private static String VERSION = ""' value='private static String VERSION = "${VERSION}"' >
84+
<replace dir="${srcPubnubApi.link}" token='protected static String VERSION = ""' value='protected static String VERSION = "${VERSION}"' >
8585
<include name="**/*.java"/>
8686
</replace>
8787
<javac destdir="bin" debug="${debug}" source="${source}" target="${target}">
@@ -93,7 +93,7 @@
9393
<src path="examples/src"/>
9494
<classpath refid="PubnubApi.classpath"/>
9595
</javac>
96-
<replace dir="${srcPubnubApi.link}" token='private static String VERSION = "${VERSION}"' value='private static String VERSION = ""'>
96+
<replace dir="${srcPubnubApi.link}" token='protected static String VERSION = "${VERSION}"' value='protected static String VERSION = ""'>
9797
<include name="**/*.java"/>
9898
</replace>
9999
</target>

0 commit comments

Comments
 (0)