Commit 2edc0b99 authored by Aibek Sarimbekov's avatar Aibek Sarimbekov
Browse files

removed useless libraries

parent d15b8230
user.runtime.jar.name=test-runtime.jar
\ No newline at end of file
user.runtime.jar.name=fia-runtime.jar
<project name="disl-test" default="compile" basedir=".">
<property file="../../disl.version"/>
<property file="../../build.properties"/>
<property file="../../disl.version"/>
<property file="../../build.properties"/>
<property file="build.properties"/>
<property name="disl.jar.path" value="../../build/disl-${disl.version}.jar"/>
<path id="buildpath">
<pathelement location="${disl.jar.path}"/>
<pathelement location="../../${asm.path}"/>
<pathelement location="../../${jborat.path}"/>
<pathelement location="../../${jborat-runtime.path}"/>
<property name="disl.jar.path" value="../../build/disl-${disl.version}.jar"/>
<path id="buildpath">
<pathelement location="${disl.jar.path}"/>
<pathelement location="../../${asm.path}"/>
<pathelement location="../../${jborat.path}"/>
<pathelement location="../../${jborat-runtime.path}"/>
<pathelement location="lib/stp.jar"/>
</path>
......@@ -56,7 +56,7 @@
basedir="./bin"
includes="${test.path}/runtime/**">
</jar>
<jar jarfile="../../build/${instr.jar.name}"
<jar jarfile="../../build/${instr.jar.name}"
basedir="./bin"
includes="${test.path}/*"
excludes="${test.path}/runtime ${test.path}/TargetClass*.class ${test.path}/MANIFEST.MF"
......
# BEGIN JDK
# ALL JDK CLASSES MUST HAVE TWO VERSIONS
org.jcp.*
org.omg.*
org.xml.*
org.ietf.*
java.*
javax.*
com.sun.*
sun.*
sunx.*
com.apple.*
# END JDK
# BEGIN APPLICATION CODE
# IF YOU DON'T WEAVE JDK (see excluded.lst), YOU SHOULD APPLY
# THE CODE-MERGER TO THE APPLICATION CODE
#org.*
\ No newline at end of file
......@@ -2,12 +2,7 @@
ch.usi.dag.jborat.*
sun.instrument.*
# THESE ARE THE RUNTIME CLASSES THAT MUST NOT BE WOVEN
ch.usi.dag.disl.test.senseo.runtime.*
ch.usi.dag.disl.test.map.runtime.*
ch.usi.dag.disl.test.jp2.runtime.*
ch.usi.dag.disl.test.virda.runtime.*
ch.usi.dag.disl.test.after2.runtime.*
ch.usi.dag.sample.runtime.*
ch.usi.dag.disl.example.fieldsImmutabilityAnalysis.runtime.*
# BEGIN JDK WEAVING
# COMMENT THE FOLLOWING FOR FULL COVERAGE
#org.jcp.*
......
# This is a sample configuration with relative paths
# you can use full path using file:/// format
../../lib/asm-debug-all-4.0.jar
lib/remote-jborat.jar
../../test/lib/remote-jborat.jar
../../lib/jborat.jar
......@@ -2,9 +2,9 @@
EXPECTED_ARGS=1
if [ $# -lt $EXPECTED_ARGS ]
if [ $# -gt $EXPECTED_ARGS ]
then
echo "Usage: `basename $0` test-case [pkg]"
echo "Usage: `basename $0` [pkg]"
exit
fi
......@@ -17,13 +17,13 @@ then
rm .server.pid
fi
DISL_CLASS="./bin/ch/usi/dag/disl/example/$1/DiSLClass.class"
TARGET_CLASS="ch.usi.dag.disl.example.$1.TargetClass"
DISL_CLASS="./bin/ch/usi/dag/disl/example/fieldsImmutabilityAnalysis/DiSLClass.class"
TARGET_CLASS="ch.usi.dag.disl.example.fieldsImmutabilityAnalysis.TargetClass"
if [ "$2" = "pkg" ]
if [ "$1" = "pkg" ]
then
# start server and take pid
ant package -Dtest.name=$1
ant package -Dtest.name=fieldsImmutabilityAnalysis
./runServer.sh
else
# start server and take pid
......
......@@ -27,10 +27,12 @@ fi
# to enable socket, add ",ipc.socket" to the options
JBORAT_AGENT_OPTS="1234,localhost,ipc.socket"
java -noverify -XX:MaxPermSize=128m \
java -noverify \
-XX:MaxPermSize=128m \
-Xmx2G \
-javaagent:lib/agent.jar \
-Xbootclasspath/p:lib/remote-runtime.jar:../../lib/jborat-runtime.jar:build/test-runtime.jar \
-agentpath:lib/${JBORAT_AGENT}=${JBORAT_AGENT_OPTS} \
-javaagent:../../test/lib/agent.jar \
-Xbootclasspath/p:../../test/lib/remote-runtime.jar:../../lib/jborat-runtime.jar:build/fia-runtime.jar \
-agentpath:../../test/lib/${JBORAT_AGENT}=${JBORAT_AGENT_OPTS} \
-cp ./bin \
$*
$*
# -jar /home/sarimbea/workspace/lib/dacapo-9.12-bach.jar luindex lusearch pmd h2 tradebeans tradesoap sunflow tomcat
......@@ -22,16 +22,18 @@ else
exit -1
fi
CLASSPATH=../../lib/jborat-agent.jar:../../lib/jborat-runtime.jar:../../lib/jborat-interface.jar:lib/remote-server.jar
CLASSPATH=../../lib/jborat-agent.jar:../../lib/jborat-runtime.jar:../../lib/jborat-interface.jar:../../test/lib/remote-server.jar
java -Dch.usi.dag.jborat.instrumented="instrumented" \
java \
-Dch.usi.dag.jborat.uninstrumented="uninstrumented" \
-Dch.usi.dag.jborat.instrumented="instrumented" \
-Djborat.debug \
-Ddisl.dynbypass=true \
-Ddisl.debug \
-Ddisl.debug=false \
-Djborat.ipc.socket=true \
-Djava.library.path=./lib/${JBORAT_AGENT_PATH} \
-Dch.usi.dag.jborat.instrumentation="ch.usi.dag.disl.DiSL" \
-Dch.usi.dag.jborat.codemergerList="conf/codemerger.lst" \
-Dch.usi.dag.jborat.codemergerList="../../test/conf/codemerger.lst" \
-Dch.usi.dag.jborat.liblist="conf/lib.lst" \
-Dch.usi.dag.jborat.udiliblist="conf/udilib.lst" \
-Dch.usi.dag.jborat.exclusionList="conf/exclusion.lst" \
......
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