|
28 | 28 | <exclude name="**/*.java"/>
|
29 | 29 | </fileset>
|
30 | 30 | </copy>
|
31 |
| - <copy includeemptydirs="false" todir="bin"> |
32 |
| - <fileset dir="examples"> |
33 |
| - <exclude name="**/*.java"/> |
34 |
| - </fileset> |
35 |
| - </copy> |
36 |
| - <copy includeemptydirs="false" todir="bin"> |
37 |
| - <fileset dir="tests"> |
38 |
| - <exclude name="**/*.java"/> |
39 |
| - </fileset> |
40 |
| - </copy> |
41 | 31 | </target>
|
42 | 32 | <target name="clean">
|
43 | 33 | <delete dir="bin"/>
|
|
55 | 45 | <src path="examples"/>
|
56 | 46 | <classpath refid="socket.io-java-client.classpath"/>
|
57 | 47 | </javac>
|
58 |
| - <javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}"> |
59 |
| - <src path="tests"/> |
60 |
| - <classpath refid="socket.io-java-client.classpath"/> |
61 |
| - </javac> |
62 | 48 | </target>
|
63 | 49 | <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
|
64 | 50 | <target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
|
|
74 | 60 | <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
|
75 | 61 | <antcall target="build"/>
|
76 | 62 | </target>
|
77 |
| - <target name="AllTests"> |
78 |
| - <mkdir dir="${junit.output.dir}"/> |
79 |
| - <junit fork="yes" printsummary="withOutAndErr"> |
80 |
| - <formatter type="xml"/> |
81 |
| - <test name="io.socket.AllTests" todir="${junit.output.dir}"/> |
82 |
| - <env key="PATH" value="/opt/local/bin/"/> |
83 |
| - <classpath refid="socket.io-java-client.classpath"/> |
84 |
| - </junit> |
85 |
| - </target> |
86 | 63 | <target name="BasicExample">
|
87 | 64 | <java classname="BasicExample" failonerror="true" fork="yes">
|
88 | 65 | <classpath refid="socket.io-java-client.classpath"/>
|
89 | 66 | </java>
|
90 |
| - </target> |
91 |
| - <target name="WebsocketTestSocketIO"> |
92 |
| - <mkdir dir="${junit.output.dir}"/> |
93 |
| - <junit fork="yes" printsummary="withOutAndErr"> |
94 |
| - <formatter type="xml"/> |
95 |
| - <test name="io.socket.WebsocketTestSocketIO" todir="${junit.output.dir}"/> |
96 |
| - <classpath refid="socket.io-java-client.classpath"/> |
97 |
| - </junit> |
98 |
| - </target> |
99 |
| - <target name="XHRTestSocketIO"> |
100 |
| - <mkdir dir="${junit.output.dir}"/> |
101 |
| - <junit fork="yes" printsummary="withOutAndErr"> |
102 |
| - <formatter type="xml"/> |
103 |
| - <test name="io.socket.XHRTestSocketIO" todir="${junit.output.dir}"/> |
104 |
| - <classpath refid="socket.io-java-client.classpath"/> |
105 |
| - </junit> |
106 |
| - </target> |
107 |
| - <target name="junitreport"> |
108 |
| - <junitreport todir="${junit.output.dir}"> |
109 |
| - <fileset dir="${junit.output.dir}"> |
110 |
| - <include name="TEST-*.xml"/> |
111 |
| - </fileset> |
112 |
| - <report format="frames" todir="${junit.output.dir}"/> |
113 |
| - </junitreport> |
114 | 67 | </target>
|
115 | 68 | <target name="jar" depends="build-project">
|
116 | 69 | <mkdir dir="jar"/>
|
|
0 commit comments