Alexander Kriegisch 0be7475fac Remove redundant 'name' and 'packaging' tags from POMs | пре 3 година | |
---|---|---|
.. | ||
.settings | пре 5 година | |
cert | пре 13 година | |
src | пре 13 година | |
.classpath | пре 5 година | |
.project | пре 5 година | |
X.java | пре 13 година | |
aop.xml | пре 13 година | |
code.jar | пре 13 година | |
pom.xml | пре 3 година | |
readme | пре 13 година |
Build the src contents into a jar which will then contain class files and our manifest. Jar typically code.jar
Then sign the jar with
jarsigner -keystore ../cert/key.store -storepass foobar code.jar foo
as per: http://introcs.cs.princeton.edu/85application/jar/sign.html
then you can run it:
java -javaagent:XXX -classpath code.jar foo.bar.Foo