Hmm, i executed it with maven 3 and it works, i got the memory used by the program.
*Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/7/22 Caroline <[email protected]> > Hi Romain, > > I posted a dummy project somewhere along the road: > https://dl.dropboxusercontent.com/u/25877/JavaAgentDummy.zip > > However, since then I learned the configuration works where it is supposed > to: during buildtime tests. That's not what I want. I need to set the > javaagent for runtime. I managed to do it without Maven, simply using my > Netbeans IDE: Tools > Servers > TomEE > Platform > VM Options: > -javaagent:/path/to/javaagent.jar > > It's not Maven, but it works and that's okay for me. > > Thanks for your patience and sorry you missed my dummy project! > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Help-with-example-http-tomee-apache-org-javaagent-with-maven-surefire-html-tp4664277p4664300.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
