|
13 | 13 | <property name="mainjar" value="${ant.project.name}.jar" />
|
14 | 14 | <property name="ddmlib" value="ddmlib-24.2.3.jar" />
|
15 | 15 | <property name="log4j" value="log4j-1.2.17.jar" />
|
| 16 | + <property name="common" value="common-24.2.3.jar" /> |
| 17 | + <property name="kxml" value="kxml2-2.3.0.jar" /> |
| 18 | + <property name="guava" value="guava-17.0.jar" /> |
| 19 | + <property name="annotations" value="annotations-24.2.3.jar" /> |
16 | 20 |
|
17 | 21 | <target name="init">
|
18 | 22 | <!-- Create the time stamp -->
|
|
23 | 27 |
|
24 | 28 | <target name="compile" depends="init" description="compile the source ">
|
25 | 29 | <!-- Compile the java code from ${src} into ${build} -->
|
26 |
| - <javac nowarn="true" srcdir="${src}" destdir="${build}" classpath="${lib}/${ddmlib};${lib}/${log4j}" debug="on" /> |
| 30 | + <javac nowarn="true" srcdir="${src}" destdir="${build}" classpath="${lib}/${common};${lib}/${guava}};${lib}/${annotations}};${lib}/$kxml};${lib}/${ddmlib};${lib}/${log4j}" debug="on" /> |
27 | 31 | </target>
|
28 | 32 |
|
29 | 33 | <target name="dist" depends="compile" description="generate the distribution">
|
|
35 | 39 | <attribute name="Main-Class" value="org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader" />
|
36 | 40 | <attribute name="Rsrc-Main-Class" value="com.github.xsavikx.android.screencast.Main" />
|
37 | 41 | <attribute name="Class-Path" value="." />
|
38 |
| - <attribute name="Rsrc-Class-Path" value="./ ${ddmlib} MyInjectEventApp.jar ${log4j} ${android}" /> |
| 42 | + <attribute name="Rsrc-Class-Path" value="./ ${guava} ${annotations} ${common} ${kxml} ${ddmlib} MyInjectEventApp.jar ${log4j}" /> |
39 | 43 | <attribute name="Built-By" value="${user.name}" />
|
40 | 44 | <attribute name="Permissions" value="all-permissions" />
|
41 | 45 | <attribute name="Application-Name" value="Android Screencast" />
|
42 | 46 | </manifest>
|
43 | 47 | <zipfileset src="jar-in-jar-loader.zip" />
|
44 | 48 | <fileset dir="${build}" />
|
45 | 49 | <fileset dir="${src}" />
|
| 50 | + <zipfileset dir="${lib}" includes="${common}" /> |
| 51 | + <zipfileset dir="${lib}" includes="${kxml}" /> |
46 | 52 | <zipfileset dir="${lib}" includes="${ddmlib}" />
|
47 | 53 | <zipfileset dir="${lib}" includes="${log4j}" />
|
| 54 | + <zipfileset dir="${lib}" includes="${guava}" /> |
| 55 | + <zipfileset dir="${lib}" includes="${annotations}" /> |
48 | 56 |
|
49 | 57 | </jar>
|
50 | 58 |
|
|
0 commit comments