Commit b55c82a4 authored by Lubomir Bulej's avatar Lubomir Bulej

DiSL: Create disl-bypass.jar to include on the client's boot classpath to...

DiSL: Create disl-bypass.jar to include on the client's boot classpath to provide BypassCheck and DynamicBypass classes.
parent 078e1f05
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
</javac> </javac>
</target> </target>
<target name="compile" depends="compile-disl,compile-agent,compile-test,compile-reserver,compile-redispatch" /> <target name="compile" depends="compile-disl,compile-agent,compile-test,compile-reserver,compile-reagent,compile-redispatch" />
<target name="package-dislserver" depends="compile-disl"> <target name="package-dislserver" depends="compile-disl">
<jar basedir="${bin}" destfile="${build}/disl-server.jar" <jar basedir="${bin}" destfile="${build}/disl-server.jar"
...@@ -101,7 +101,15 @@ ...@@ -101,7 +101,15 @@
</jar> </jar>
</target> </target>
<target name="package" depends="package-dislserver,package-reserver,package-redispatch,compile-agent,compile-reagent" /> <target name="package-dynamicbypass" depends="compile-dynamicbypass">
<jar basedir="${bin}" destfile="${build}/disl-bypass.jar" includes="ch/usi/dag/disl/dynamicbypass/**">
<manifest>
<attribute name="DiSL-Version" value="${disl.version}" />
</manifest>
</jar>
</target>
<target name="package" depends="package-dislserver,package-dynamicbypass,package-reserver,package-redispatch,compile-agent,compile-reagent" />
<target name="eclipse-agent" description="creates simple agent jar file for eclipse"> <target name="eclipse-agent" description="creates simple agent jar file for eclipse">
<mkdir dir="build" /> <mkdir dir="build" />
......
...@@ -34,5 +34,5 @@ shift ...@@ -34,5 +34,5 @@ shift
# -Ddisl.excepthandler=true \ # -Ddisl.excepthandler=true \
${JAVA_HOME:+$JAVA_HOME/jre/bin/}java \ ${JAVA_HOME:+$JAVA_HOME/jre/bin/}java \
-agentpath:${AGENT} -agentpath:${RE_AGENT} \ -agentpath:${AGENT} -agentpath:${RE_AGENT} \
-Xbootclasspath/a:${INSTR_LIB}:${DISL_LIB_P}/dislre-dispatch.jar \ -Xbootclasspath/a:${DISL_LIB_P}/disl-bypass.jar:${INSTR_LIB}:${DISL_LIB_P}/dislre-dispatch.jar \
"$@" "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment