Lines 73-79
Link Here
|
73 |
<target depends="prepare" description="Compile shareable components" |
73 |
<target depends="prepare" description="Compile shareable components" |
74 |
name="compile"> |
74 |
name="compile"> |
75 |
<javac debug="${compile.debug}" deprecation="${compile.deprecation}" destdir="${build.home}/classes" optimize="${compile.optimize}" srcdir="${source.home}" |
75 |
<javac debug="${compile.debug}" deprecation="${compile.deprecation}" destdir="${build.home}/classes" optimize="${compile.optimize}" srcdir="${source.home}" |
76 |
target="${compile.target}" bootclasspath="${compile.bootclasspath}" extdirs="${compile.extdirs}" source="${compile.source}"> |
76 |
target="${compile.target}" extdirs="${compile.extdirs}" source="${compile.source}"> |
77 |
<classpath refid="compile.classpath"/> |
77 |
<classpath refid="compile.classpath"/> |
78 |
<compilerarg compiler="jikes" value="-nowarn"/> |
78 |
<compilerarg compiler="jikes" value="-nowarn"/> |
79 |
</javac> |
79 |
</javac> |
Lines 124-137
Link Here
|
124 |
<exclude name="samples/**" /> |
124 |
<exclude name="samples/**" /> |
125 |
</jar> |
125 |
</jar> |
126 |
|
126 |
|
127 |
<taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpathref="compile.classpath"/> |
|
|
128 |
<jarjar basedir="${build.home}/classes" jarfile="${dist.home}/${component.name}-nodep-${component.version}.jar" > |
129 |
<zipfileset dir="lib" includes="asm*.txt"/> |
130 |
<zipfileset src="lib/asm-3.3.1.jar" excludes="META-INF"/> |
131 |
<rule pattern="org.objectweb.asm.**" result="net.sf.cglib.asm.@1"/> |
132 |
<include name="**/*"/> |
133 |
<exclude name="samples/**"/> |
134 |
</jarjar> |
135 |
</target> |
127 |
</target> |
136 |
|
128 |
|
137 |
<target depends="compile,javadoc" description="Create docs and source distribution" name="srcjar"> |
129 |
<target depends="compile,javadoc" description="Create docs and source distribution" name="srcjar"> |
Lines 245-251
Link Here
|
245 |
<!-- <jvmarg value="-verbose:class"/> --> |
237 |
<!-- <jvmarg value="-verbose:class"/> --> |
246 |
<!-- <jvmarg value="-Xprof"/> --> |
238 |
<!-- <jvmarg value="-Xprof"/> --> |
247 |
<!-- <jvmarg value="-server"/> --> |
239 |
<!-- <jvmarg value="-server"/> --> |
248 |
<!-- <sysproperty key="cglib.debugLocation" value="debug"/> --> |
240 |
<sysproperty key="cglib.debugLocation" value="${cglib.debugLocation}"/> |
249 |
<!-- <jvmarg value="-Djava.security.policy==java.policy" /> --> |
241 |
<!-- <jvmarg value="-Djava.security.policy==java.policy" /> --> |
250 |
<!-- <jvmarg value="-Djava.security.manager" /> --> |
242 |
<!-- <jvmarg value="-Djava.security.manager" /> --> |
251 |
|
243 |
|