[embjopr-commits] EMBJOPR SVN: r693 - trunk/jsfunit.

embjopr-commits at lists.jboss.org embjopr-commits at lists.jboss.org
Tue Aug 25 17:51:55 EDT 2009


Author: ozizka at redhat.com
Date: 2009-08-25 17:51:55 -0400 (Tue, 25 Aug 2009)
New Revision: 693

Modified:
   trunk/jsfunit/pom.xml
Log:
 * POM: Added "netbeans-profiler" profile, which adds "jfluid-server.jar" to <config>/lib .

Modified: trunk/jsfunit/pom.xml
===================================================================
--- trunk/jsfunit/pom.xml	2009-08-25 21:17:19 UTC (rev 692)
+++ trunk/jsfunit/pom.xml	2009-08-25 21:51:55 UTC (rev 693)
@@ -649,7 +649,7 @@
 
 
 
-      <!-- Profiler profile - enables JBoss Profiler. -->
+      <!-- Profiler profile - enables JBoss Profiler. THIS IS FOR JDK 5 ONLY! -->
       <profile>
         <id>profile</id>
         <properties>
@@ -679,7 +679,6 @@
                        </configfiles>
                      </configuration>
                      <!-- /Container configuration -->
-
                   </configuration>
                </plugin>
 
@@ -688,6 +687,40 @@
       </profile> <!-- "profile" profile (JBoss Profiler) -->
 
 
+      <!-- Profiler profile - enables JBoss Profiler. THIS IS FOR JDK 5 ONLY! -->
+      <profile>
+        <id>netbeans-profiler</id>
+        <properties>
+          <!-- NetBeans' profiler -->
+          <!--<jvm.args.profiler>-agentpath:/home/ondra/sw/prog/netbeans-6.5/profiler3/lib/deployed/jdk15/linux/libprofilerinterface.so=/home/ondra/sw/prog/netbeans-6.5/profiler3/lib,5140</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/netbeans-profiler/jfluid-server.jar</file>
+                           <tofile>lib/jfluid-server.jar</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>



More information about the embjopr-commits mailing list