No description
.idea | ||
agent | ||
application | ||
profiler | ||
.gitignore | ||
lab-6-maggicl.iml | ||
README.md |
Agent
Compile the agent as JAR
cd agent/src
find . -name '*.java' -print -exec javac -d ../../out/production/agent \{\} \;
cd ..
jar cfm agent.jar manifest.txt -C ../out/production/agent .
Run application with agent
java -javaagent:agent/agent.jar=hello -cp out/production/application ch.usi.inf.sp.dbi.Application