[embjopr-commits] EMBJOPR SVN: r652 - in trunk/jsfunit: testdata and 1 other directories.
embjopr-commits at lists.jboss.org
embjopr-commits at lists.jboss.org
Fri Aug 7 20:10:22 EDT 2009
Author: ozizka at redhat.com
Date: 2009-08-07 20:10:22 -0400 (Fri, 07 Aug 2009)
New Revision: 652
Added:
trunk/jsfunit/testdata/jboss-profiler/
trunk/jsfunit/testdata/jboss-profiler/jboss-profiler-plugins.jar
trunk/jsfunit/testdata/jboss-profiler/jboss-profiler.jar
trunk/jsfunit/testdata/jboss-profiler/jboss-profiler.properties
trunk/jsfunit/testdata/jboss-profiler/jboss-profiler.sar
Modified:
trunk/jsfunit/pom.xml
Log:
* JBoss Profiller support added - see the "profile" Maven profile.
Modified: trunk/jsfunit/pom.xml
===================================================================
--- trunk/jsfunit/pom.xml 2009-08-08 00:09:21 UTC (rev 651)
+++ trunk/jsfunit/pom.xml 2009-08-08 00:10:22 UTC (rev 652)
@@ -5,6 +5,7 @@
<jopr.version>1.2.0-SNAPSHOT</jopr.version>
<cargo.plugin.version>1.0.1-SNAPSHOT</cargo.plugin.version>
<jvm.args.debug></jvm.args.debug> <!-- Used by the -Pdebug profile. -->
+ <jvm.args.profiler></jvm.args.profiler> <!-- Used by the -Pprofile profile. -->
<cargo.jboss.configuration>default</cargo.jboss.configuration><!-- JBoss AS configuration. -->
<cargo.jboss.bind.address>localhost</cargo.jboss.bind.address><!-- Address for JBoss AS to bind to. -->
@@ -368,7 +369,7 @@
<!-- Raise permgen size, allow classes unloading and permgen sweep -->
<!-- xb.builder.useUnorderedSequence=true is the same what run.sh does. -->
<!-- See http://www.nabble.com/changes-in-parsing-with-xb-td22478176.html -->
- <cargo.jvmargs>${jvm.args.debug} -Xmx1024m -Dxb.builder.useUnorderedSequence=true -XX:PermSize=256m -XX:MaxPermSize=512m</cargo.jvmargs>
+ <cargo.jvmargs>${jvm.args.debug} ${jvm.args.profiler} -Xmx1024m -Dxb.builder.useUnorderedSequence=true -XX:PermSize=256m -XX:MaxPermSize=512m</cargo.jvmargs>
<!-- -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -->
<!-- JBoss configuration - default, all, standard -->
<cargo.jboss.configuration>${cargo.jboss.configuration}</cargo.jboss.configuration>
@@ -585,8 +586,44 @@
</properties>
</profile>
- <!-- Hudson profile (commented - hesitating to hard-code version dir to pom.xml)
+ <!-- Profiler profile - enables JBoss Profiler. -->
<profile>
+ <id>profile</id>
+ <properties>
+ <jvm.args.profiler>-javaagent:${basedir}/testdata/jboss-profiler/jboss-profiler.jar -Djboss-profiler.properties=${basedir}/testdata/jboss-profiler/jboss-profiler.properties</jvm.args.profiler>
+ </properties>
+
+ <build>
+ <plugins>
+
+ <!-- Cargo plugin -->
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ <version>${cargo.plugin.version}</version>
+ <configuration>
+ <!-- Container configuration -->
+ <configuration>
+ <!-- Copy the JBoss Profiler files. -->
+ <configfiles>
+ <configfile>
+ <file>${basedir}/testdata/jboss-profiler/jboss-profiler.sar</file>
+ <tofile>deploy/jboss-profiler.sar</tofile>
+ </configfile>
+ </configfiles>
+ </configuration>
+ <!-- /Container configuration -->
+
+ </configuration>
+ </plugin>
+
+ </plugins>
+ </build>
+ </profile> <!-- "profile" profile (JBoss Profiler) -->
+
+
+ <!-- Hudson profile (commented out - hesitating to hard-code version dir to pom.xml)
+ <profile>
<id>running-in-hudson</id>
<activation>
<property><name>user.name</name><value>hudson</value></property>
Added: trunk/jsfunit/testdata/jboss-profiler/jboss-profiler-plugins.jar
===================================================================
(Binary files differ)
Property changes on: trunk/jsfunit/testdata/jboss-profiler/jboss-profiler-plugins.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsfunit/testdata/jboss-profiler/jboss-profiler.jar
===================================================================
(Binary files differ)
Property changes on: trunk/jsfunit/testdata/jboss-profiler/jboss-profiler.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsfunit/testdata/jboss-profiler/jboss-profiler.properties
===================================================================
--- trunk/jsfunit/testdata/jboss-profiler/jboss-profiler.properties (rev 0)
+++ trunk/jsfunit/testdata/jboss-profiler/jboss-profiler.properties 2009-08-08 00:10:22 UTC (rev 652)
@@ -0,0 +1,24 @@
+enable=yes
+precompiled=no
+cpu=yes
+memory=yes
+includes=org.jboss.profiler.*
+excludes=*
+visibility=private
+save=yes
+savelocation=.
+startup=yes
+repository=no
+remote=yes
+store=memory
+location=.
+host=localhost
+port=5400
+ejb=yes
+servlet=yes
+jsf=yes
+jmx=yes
+rmi=yes
+corba=yes
+plugin.1=org.jboss.profiler.plugins.Hibernate
+plugin.2=org.jboss.profiler.plugins.Seam
Added: trunk/jsfunit/testdata/jboss-profiler/jboss-profiler.sar
===================================================================
(Binary files differ)
Property changes on: trunk/jsfunit/testdata/jboss-profiler/jboss-profiler.sar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
More information about the embjopr-commits
mailing list