[jboss-svn-commits] JBL Code SVN: r34439 - in labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/profiler: jprofiler and 1 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Aug 2 04:52:23 EDT 2010


Author: whitingjr
Date: 2010-08-02 04:52:22 -0400 (Mon, 02 Aug 2010)
New Revision: 34439

Added:
   labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/profiler/jip/ant-profiler.xml
   labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/profiler/jprofiler/ant-profiler.xml
   labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/profiler/none/ant-profiler.xml
Log:
Added Ant build files to load any profiler dependent configuration and tasks.

Added: labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/profiler/jip/ant-profiler.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/profiler/jip/ant-profiler.xml	                        (rev 0)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/profiler/jip/ant-profiler.xml	2010-08-02 08:52:22 UTC (rev 34439)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+Copyright 2009 Red Hat, Inc.
+ Red Hat licenses this file to you under the Apache License, version
+ 2.0 (the "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+   http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied.  See the License for the specific language governing
+ permissions and limitations under the License.
+  -->
+
+<project name="JBoss TM: JProfiler Ant Import ">
+
+   <target name="process-profiling-data"></target>
+</project>
\ No newline at end of file

Added: labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/profiler/jprofiler/ant-profiler.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/profiler/jprofiler/ant-profiler.xml	                        (rev 0)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/profiler/jprofiler/ant-profiler.xml	2010-08-02 08:52:22 UTC (rev 34439)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+Copyright 2009 Red Hat, Inc.
+ Red Hat licenses this file to you under the Apache License, version
+ 2.0 (the "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+   http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied.  See the License for the specific language governing
+ permissions and limitations under the License.
+  -->
+
+<project name="JBoss TM: JProfiler Ant Import ">
+
+   <path id="jprofiler.ant.task.classpath">
+      <fileset dir="${profiler.agent.library.path}/bin">
+         <include name="jpexport" />
+         <include name="ant.jar" />
+      </fileset>
+      <fileset dir="lib/profilerdrivers/${profiler}">
+         <include name="*.jar" />
+      </fileset>
+   </path>
+
+   <taskdef name="export" classname="com.jprofiler.ant.ExportTask"
+      classpathref="jprofiler.ant.task.classpath"/>
+
+   <target name="process-profiling-data">
+      <export snapshotfile="${profile.data.file}">
+         <view name="CallTree" file="${output.directory}/calltree.html"/>
+         <view name="CallTree" file="${output.directory}/calltree.xml">
+            <option name="viewfilters" value="org.jboss.jbossts.performance.jdbc.JDBCTask"/>
+         </view>
+         
+      </export>
+            
+   </target>
+
+</project>
\ No newline at end of file

Added: labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/profiler/none/ant-profiler.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/profiler/none/ant-profiler.xml	                        (rev 0)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/profiler/none/ant-profiler.xml	2010-08-02 08:52:22 UTC (rev 34439)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+Copyright 2009 Red Hat, Inc.
+ Red Hat licenses this file to you under the Apache License, version
+ 2.0 (the "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+   http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied.  See the License for the specific language governing
+ permissions and limitations under the License.
+  -->
+
+<project name="JBoss TM: JProfiler Ant Import ">
+
+   <target name="process-profiling-data"></target>   
+
+</project>
\ No newline at end of file



More information about the jboss-svn-commits mailing list