|
4 | 4 | <property environment="env"/> |
5 | 5 | <property name="pubnub_jar_file_name" value="Pubnub-StandardEdition-${VERSION}.jar"/> |
6 | 6 | <property name="pubnub_debug_jar_file_name" value="Pubnub-StandardEdition-Debug-${VERSION}.jar"/> |
7 | | - <property name="pubnub_unittests_jar_file_name" value="Pubnub-UnitTests-${VERSION}.jar"/> |
8 | 7 | <property name="srcPubnubApi.link" value="srcPubnubApi"/> |
9 | 8 | <property name="sources_pubnub_api" value="${srcPubnubApi.link}/com/pubnub/api"/> |
10 | 9 | <property name="sources_pubnub_logging" value="srcLogging/com/pubnub/api"/> |
|
23 | 22 | <pathelement location="libs/junit-4.11.jar"/> |
24 | 23 | <pathelement location="libs/hamcrest-all-1.3.jar" /> |
25 | 24 | <pathelement location="libs/commons-cli-1.2.jar"/> |
26 | | - <pathelement location="jars/Pubnub-UnitTests-${VERSION}.jar"/> |
27 | 25 | </path> |
28 | 26 | <target name="build-all" depends="clean, debug-build, clean, build" /> |
29 | 27 | <target name="deploy-all" depends="clean, push_to_maven_central, clean, push_debug_to_maven_central" /> |
|
41 | 39 | <include name="**/*.java"/> |
42 | 40 | </replace> |
43 | 41 | </target> |
44 | | - <target name="test" > |
45 | | - <junit haltonfailure="yes" printsummary="yes" showoutput="true" > |
46 | | - <classpath refid="PubnubApi.classpath" /> |
47 | | - <classpath refid="PubnubTests.classpath" /> |
48 | | - <formatter type="plain" usefile="false" /> |
49 | | - <batchtest> |
50 | | - <zipfileset src="jars/${pubnub_unittests_jar_file_name}" includes="**/PubnubTest.class" /> |
51 | | - </batchtest> |
52 | | - </junit> |
53 | | - </target> |
54 | 42 | <target name="init"> |
55 | 43 | <mkdir dir="bin"/> |
56 | 44 | <copy includeemptydirs="false" todir="bin"> |
|
86 | 74 | <antcall target="unsetDebugTrue" /> |
87 | 75 | </target> |
88 | 76 |
|
89 | | - <target depends="create-jar, create-test-jar, create-examples-jar, create-demo-console-jar, create-push-test-jar, create-presence-test-jar, clean_bin, doc" name="build-jar"/> |
| 77 | + <target depends="create-jar, create-examples-jar, create-demo-console-jar, create-push-test-jar, create-presence-test-jar, clean_bin, doc" name="build-jar"/> |
90 | 78 | <target depends="build-project" name="create-jar"> |
91 | 79 | <jar destfile="${jar_name}" |
92 | 80 | basedir="bin" |
|
95 | 83 | /> |
96 | 84 | </target> |
97 | 85 |
|
98 | | - <target depends="build-project" name="create-test-jar"> |
99 | | - <jar destfile="jars/${pubnub_unittests_jar_file_name}" |
100 | | - basedir="bin" |
101 | | - includes="**/*Test*.class" |
102 | | - /> |
103 | | - </target> |
104 | | - |
105 | 86 | <target depends="init" name="build-project"> |
106 | 87 | <echo message="${ant.project.name}: ${ant.file}"/> |
107 | 88 | <replace dir="${srcPubnubApi.link}" token='static String VERSION = ""' value='static String VERSION = "${VERSION}"' > |
|
112 | 93 | <src path="src"/> |
113 | 94 | <src path="src1"/> |
114 | 95 | <src path="srcLogging"/> |
115 | | - <src path="srcTest"/> |
116 | 96 | <src path="srcCrypto"/> |
117 | 97 | <src path="examples/src"/> |
118 | 98 | <classpath refid="PubnubApi.classpath"/> |
|
0 commit comments