Permalink
Browse files

changed version to 1.0.3-SNAPSHOT in example scripts

  • Loading branch information...
stevensouza committed Jul 24, 2016
1 parent 152f2c0 commit 0a9bfcb269f7c328d062f9b15413dfe33ad5a8df
@@ -2,4 +2,4 @@
# The following executes a simple program and monitors any classes/methods with the automon Monitor annotation
# Load time weaving is performed so the aspectjweaver.jar is used.
# The program being monitored is in playground-1.0.jar
java -Dorg.automon=sysout -Dorg.aspectj.weaver.loadtime.configuration=file:config/ajc-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:libs/playground-1.0.jar com.stevesouza.automon.annotations.AnnotationTester
java -Dorg.automon=sysout -Dorg.aspectj.weaver.loadtime.configuration=file:config/ajc-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:libs/playground-1.0.jar com.stevesouza.automon.annotations.AnnotationTester
@@ -6,6 +6,6 @@
# Yammer Metrics or JavaSimon could be done in a similar way. Note -Dorg.automon=jamon is not specified below. Instead
# Automon recognizes that Jamon is available and so uses it.
java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.2-SNAPSHOT.jar:../helloworld_unwoven_jamon/target/helloworld_unwoven_jamon-1.0.2-SNAPSHOT.jar:libs/jamon-2.81.jar com.stevesouza.jamon.JamonHelloWorld
java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.3-SNAPSHOT.jar:../helloworld_unwoven_jamon/target/helloworld_unwoven_jamon-1.0.3-SNAPSHOT.jar:libs/jamon-2.81.jar com.stevesouza.jamon.JamonHelloWorld
# to run the program in a loop for 1000 times (allows time to look at automon jmx in jconsole)
#java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.2-SNAPSHOT.jar:../helloworld_unwoven_jamon/target/helloworld_unwoven_jamon-1.0.2-SNAPSHOT.jar:libs/jamon-2.81.jar com.stevesouza.jamon.JamonHelloWorld 1000
#java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.3-SNAPSHOT.jar:../helloworld_unwoven_jamon/target/helloworld_unwoven_jamon-1.0.3-SNAPSHOT.jar:libs/jamon-2.81.jar com.stevesouza.jamon.JamonHelloWorld 1000
@@ -6,8 +6,8 @@
# StatsD or JAMon could be done in a similar way. Note -Dorg.automon=javasimon is not specified below. Instead
# Automon recognizes that Metrics is in the class path and so uses it.
# java -Dorg.automon=javasimon -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.2-SNAPSHOT.jar:libs/javasimon-core-4.1.1.jar com.stevesouza.helloworld.HelloWorld
java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.2-SNAPSHOT.jar:libs/javasimon-core-4.1.1.jar com.stevesouza.helloworld.HelloWorld
# java -Dorg.automon=javasimon -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.3-SNAPSHOT.jar:libs/javasimon-core-4.1.1.jar com.stevesouza.helloworld.HelloWorld
java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.3-SNAPSHOT.jar:libs/javasimon-core-4.1.1.jar com.stevesouza.helloworld.HelloWorld
# to run the program in a loop for 1000 times (allows time to look at automon jmx in jconsole)
# java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.2-SNAPSHOT.jar:libs/javasimon-core-4.1.1.jar com.stevesouza.helloworld.HelloWorld 1000
# java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.3-SNAPSHOT.jar:libs/javasimon-core-4.1.1.jar com.stevesouza.helloworld.HelloWorld 1000
@@ -6,8 +6,8 @@
# StatsD or JavaSimon could be done in a similar way. Note -Dorg.automon=metrics is not specified below. Instead
# Automon recognizes that Metrics is in the class path and so uses it.
# java -Dorg.automon=metrics -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.2-SNAPSHOT.jar:libs/metrics-core-3.1.0.jar com.stevesouza.helloworld.HelloWorld
java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.2-SNAPSHOT.jar:libs/metrics-core-3.1.0.jar com.stevesouza.helloworld.HelloWorld
# java -Dorg.automon=metrics -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.3-SNAPSHOT.jar:libs/metrics-core-3.1.0.jar com.stevesouza.helloworld.HelloWorld
java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.3-SNAPSHOT.jar:libs/metrics-core-3.1.0.jar com.stevesouza.helloworld.HelloWorld
# to run the program in a loop for 1000 times (allows time to look at automon jmx in jconsole)
# java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.2-SNAPSHOT.jar:libs/metrics-core-3.1.0.jar com.stevesouza.helloworld.HelloWorld 1000
# java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.3-SNAPSHOT.jar:libs/metrics-core-3.1.0.jar com.stevesouza.helloworld.HelloWorld 1000
@@ -6,8 +6,8 @@
# StatsD or JavaSimon could be done in a similar way. Note -Dorg.automon=newrelic is not specified below. Instead
# Automon recognizes that Metrics is in the class path and so uses it.
# java -Dorg.automon=newrelic -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.2-SNAPSHOT.jar:libs/newrelic-api-3.29.0.jar com.stevesouza.helloworld.HelloWorld
java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.2-SNAPSHOT.jar:libs/newrelic-api-3.29.0.jar com.stevesouza.helloworld.HelloWorld
# java -Dorg.automon=newrelic -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.3-SNAPSHOT.jar:libs/newrelic-api-3.29.0.jar com.stevesouza.helloworld.HelloWorld
java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.3-SNAPSHOT.jar:libs/newrelic-api-3.29.0.jar com.stevesouza.helloworld.HelloWorld
# to run the program in a loop for 1000 times (allows time to look at automon jmx in jconsole)
# java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.2-SNAPSHOT.jar:libs/newrelic-api-3.29.0.jar com.stevesouza.helloworld.HelloWorld 1000
# java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.3-SNAPSHOT.jar:libs/newrelic-api-3.29.0.jar com.stevesouza.helloworld.HelloWorld 1000
@@ -7,8 +7,8 @@
# Automon recognizes that StatsD is in the class path and so uses it. Note the StatsD server must be up and running for the
# sample program to save data.
#java -Dorg.automon=statsd -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.2-SNAPSHOT.jar:libs/java-statsd-client-3.1.0.jar com.stevesouza.helloworld.HelloWorld 100
java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.2-SNAPSHOT.jar:libs/java-statsd-client-3.1.0.jar com.stevesouza.helloworld.HelloWorld
#java -Dorg.automon=statsd -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.3-SNAPSHOT.jar:libs/java-statsd-client-3.1.0.jar com.stevesouza.helloworld.HelloWorld 100
java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.3-SNAPSHOT.jar:libs/java-statsd-client-3.1.0.jar com.stevesouza.helloworld.HelloWorld
# to run the program in a loop for 1000 times (allows time to look at automon jmx in jconsole)
#java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.2-SNAPSHOT.jar:libs/java-statsd-client-3.1.0.jar com.stevesouza.helloworld.HelloWorld 100
#java -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.3-SNAPSHOT.jar:libs/java-statsd-client-3.1.0.jar com.stevesouza.helloworld.HelloWorld 100
@@ -2,8 +2,8 @@
# The following executes the HelloWorld using load time weaving (ltw). The aspectj javaagent is required.
# ltw is the most flexible way of using aspectj and is controled by passing an aspectj xml config line into the program.
java -Dorg.automon=sysout -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.2-SNAPSHOT.jar com.stevesouza.helloworld.HelloWorld
java -Dorg.automon=sysout -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.3-SNAPSHOT.jar com.stevesouza.helloworld.HelloWorld
# Explicitly specify sysout.
# java -Dorg.automon=sysout -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.2-SNAPSHOT.jar com.stevesouza.helloworld.HelloWorld
# java -Dorg.automon=sysout -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.3-SNAPSHOT.jar com.stevesouza.helloworld.HelloWorld
# to run the program in a loop for 1000 times (allows time to look at automon jmx in jconsole)
#java -Dorg.automon=sysout -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.2-SNAPSHOT.jar com.stevesouza.helloworld.HelloWorld 1000
#java -Dorg.automon=sysout -Dorg.aspectj.weaver.loadtime.configuration=file:config/hello-world-unwoven-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../helloworld_unwoven/target/helloworld_unwoven-1.0.3-SNAPSHOT.jar com.stevesouza.helloworld.HelloWorld 1000
@@ -2,7 +2,7 @@
# The following executes the HelloWorld unwoven application. It doesn't use aspectJ. This is to allow a user to
# see the difference between a plain inocation of a program and an aspectj invocation of the same program.
java -classpath ../helloworld_unwoven/target/helloworld_unwoven-1.0.2-SNAPSHOT.jar com.stevesouza.helloworld.HelloWorld
java -classpath ../helloworld_unwoven/target/helloworld_unwoven-1.0.3-SNAPSHOT.jar com.stevesouza.helloworld.HelloWorld
# to run the program in a loop for 100 times (allows time to look at automon jmx in jconsole)
#java -classpath ../helloworld_unwoven/target/helloworld_unwoven-1.0.2-SNAPSHOT.jar com.stevesouza.helloworld.HelloWorld 100
#java -classpath ../helloworld_unwoven/target/helloworld_unwoven-1.0.3-SNAPSHOT.jar com.stevesouza.helloworld.HelloWorld 100
@@ -2,7 +2,7 @@
# Compile-time weaving - The following executes the HelloWorld woven application. This means aspectj aspects were woven in at compile time and
# are part of the classes. aspectjrt.jar needs to be in the classpath.
java -Dorg.automon=sysout -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../helloworld_woven/target/helloworld_woven-1.0.2-SNAPSHOT.jar:libs/aspectjrt.jar com.stevesouza.helloworld.HelloWorld
java -Dorg.automon=sysout -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../helloworld_woven/target/helloworld_woven-1.0.3-SNAPSHOT.jar:libs/aspectjrt.jar com.stevesouza.helloworld.HelloWorld
# to run the program in a loop for 100 times (allows time to look at automon jmx in jconsole)
# java -Dorg.automon=sysout -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../helloworld_woven/target/helloworld_woven-1.0.2-SNAPSHOT.jar:libs/aspectjrt.jar com.stevesouza.helloworld.HelloWorld 100
# java -Dorg.automon=sysout -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../helloworld_woven/target/helloworld_woven-1.0.3-SNAPSHOT.jar:libs/aspectjrt.jar com.stevesouza.helloworld.HelloWorld 100
View
@@ -4,4 +4,4 @@
# ltw is the most flexible way of using aspectj and is controled by passing an aspectj xml config line into the program.
#
# The example monitors jdk IO, and net classes.
java -Dorg.automon=statsd -Dorg.aspectj.weaver.loadtime.configuration=file:config/unwoven-jdk-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../unwoven_jdk/target/unwoven_jdk-1.0.2-SNAPSHOT.jar:libs/hsqldb-2.3.2.jar:libs/java-statsd-client-3.1.0.jar com.stevesouza.jdk.JdkHelloWorld README.md
java -Dorg.automon=sysout -Dorg.aspectj.weaver.loadtime.configuration=file:config/unwoven-jdk-aop.xml -javaagent:libs/aspectjweaver.jar -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../unwoven_jdk/target/unwoven_jdk-1.0.3-SNAPSHOT.jar:libs/hsqldb-2.3.2.jar:libs/java-statsd-client-3.1.0.jar com.stevesouza.jdk.JdkHelloWorld README.md
View
@@ -4,4 +4,4 @@
# The spring_aop jar has all needed depedendent jars bundled inside it. It also
# has a main executable class defined: org.automon.spring_aop.SpringMain. See the spring_aop project and associated pom.xml for
# more info.
java -Dorg.automon="sysout" -jar ../spring_aop/target/spring_aop-1.0.2-SNAPSHOT.jar
java -Dorg.automon="sysout" -jar ../spring_aop/target/spring_aop-1.0.3-SNAPSHOT.jar
View
@@ -3,7 +3,7 @@
# Compile-time weaving - The following executes the HelloWorld woven application which is written using spring.
# This means aspectj aspects were woven in at compile time and are part of the classes. aspectjrt.jar needs to be in the classpath
# as well as any needed spring classes.
java -Dorg.automon=sysout -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../spring_woven/target/spring_woven-1.0.2-SNAPSHOT.jar:libs/aspectjrt.jar:libs/spring-core-4.1.1.RELEASE.jar:libs/spring-context-4.1.1.RELEASE.jar:libs/spring-beans-4.1.1.RELEASE.jar:libs/commons-logging-api-1.1.jar:libs/spring-expression-4.1.1.RELEASE.jar com.stevesouza.spring.HelloWorld
java -Dorg.automon=sysout -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../spring_woven/target/spring_woven-1.0.3-SNAPSHOT.jar:libs/aspectjrt.jar:libs/spring-core-4.1.1.RELEASE.jar:libs/spring-context-4.1.1.RELEASE.jar:libs/spring-beans-4.1.1.RELEASE.jar:libs/commons-logging-api-1.1.jar:libs/spring-expression-4.1.1.RELEASE.jar com.stevesouza.spring.HelloWorld
# to run the program in a loop for 100 times (allows time to look at automon jmx in jconsole)
#java -Dorg.automon=sysout -classpath ../automon/target/automon-1.0.2-SNAPSHOT.jar:../spring_woven/target/spring_woven-1.0.2-SNAPSHOT.jar:libs/aspectjrt.jar:libs/spring-core-4.1.1.RELEASE.jar:libs/spring-context-4.1.1.RELEASE.jar:libs/spring-beans-4.1.1.RELEASE.jar:libs/commons-logging-api-1.1.jar:libs/spring-expression-4.1.1.RELEASE.jar com.stevesouza.spring.HelloWorld 100
#java -Dorg.automon=sysout -classpath ../automon/target/automon-1.0.3-SNAPSHOT.jar:../spring_woven/target/spring_woven-1.0.3-SNAPSHOT.jar:libs/aspectjrt.jar:libs/spring-core-4.1.1.RELEASE.jar:libs/spring-context-4.1.1.RELEASE.jar:libs/spring-beans-4.1.1.RELEASE.jar:libs/commons-logging-api-1.1.jar:libs/spring-expression-4.1.1.RELEASE.jar com.stevesouza.spring.HelloWorld 100

0 comments on commit 0a9bfcb

Please sign in to comment.