[jboss-cvs] JBoss Profiler SVN: r593 - in branches/JBossProfiler2: client and 7 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Nov 27 12:12:24 EST 2010


Author: jesper.pedersen
Date: 2010-11-27 12:12:23 -0500 (Sat, 27 Nov 2010)
New Revision: 593

Added:
   branches/JBossProfiler2/client/build.xml
   branches/JBossProfiler2/client/src/main/resources/style.css
   branches/JBossProfiler2/core/build.xml
Modified:
   branches/JBossProfiler2/
   branches/JBossProfiler2/build.xml
   branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/CombinedFrameComparator.java
   branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/DifferenceUtil.java
   branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/SnapshotUtil.java
   branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/TimedClassComparator.java
   branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/TimedClassInfo.java
   branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/precompiler/Precompiler.java
   branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/precompiler/SizeComparator.java
   branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/agent/Agent.java
   branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/agent/ProfilerThreadImpl.java
   branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/agent/SizeComparator.java
   branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/AllocationComparator.java
   branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/ClassComparator.java
   branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/FrameComparator.java
   branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/ThreadComparator.java
   branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/ThreadHelper.java
   branches/JBossProfiler2/lib/
Log:
[JBPROFILER-113] Split source into modules - not complete


Property changes on: branches/JBossProfiler2
___________________________________________________________________
Name: svn:ignore
   - bin
build
dist
reports
*.zip
*.tar.gz
*.tar.bz2
CMakeCache.txt
cmake_install.cmake
CMakeFiles
Makefile
*.patch


   + bin
build
dist
reports
*.zip
*.tar.gz
*.tar.bz2
CMakeCache.txt
cmake_install.cmake
CMakeFiles
Makefile
*.patch
target



Modified: branches/JBossProfiler2/build.xml
===================================================================
--- branches/JBossProfiler2/build.xml	2010-11-27 16:31:22 UTC (rev 592)
+++ branches/JBossProfiler2/build.xml	2010-11-27 17:12:23 UTC (rev 593)
@@ -2,702 +2,643 @@
 
 <project name="jboss-profiler" default="dist" basedir="."
          xmlns:ivy="antlib:org.apache.ivy.ant">
-	
-    <available classname="com.sun.net.httpserver.HttpServer" property="AVAILABLE_JDK_1.6"/>
-
-    <property name="build.dir" value="${basedir}/build"/>
-    <property name="lib.dir" value="${basedir}/lib"/>
-    <property name="doc.dir" value="${basedir}/doc"/>
-    <property name="doc.api.dir" value="${doc.dir}/api"/>
-    <property name="src.dir" value="${basedir}/src"/>
-    <property name="src.main.dir" value="${src.dir}/main"/>
-    <property name="src.main.jdk16.dir" value="${src.dir}/jdk16/main"/>
-    <property name="src.test.dir" value="${src.dir}/test"/>
-    <property name="etc.dir" value="${src.dir}/etc"/>
-    <property name="target.dir" value="${basedir}/target"/>
-    <property name="tools.dir" value="${basedir}/tools"/>
-    <property name="reports.dir" value="${basedir}/reports"/>
-	
-    <property name="native-src-dir" value="./src/native"/>
-
-    <!--  ================================= -->
-    <!--   Project                          -->
-    <!--  ================================= -->
-    <property name="name" value="jboss-profiler"/>
-    <property name="major" value="2"/>
-    <property name="minor" value="0"/>
-    <property name="patch" value="0"/>
-    <property name="type" value="Beta6"/>
-
-    <!--  ================================= -->
-    <!--   Ivy                              -->
-    <!--  ================================= -->
-    <property name="ivy.version" value="2.2.0"/>
-    <property name="ivy.dir" value="${user.home}/.ivy2/cache/org.apache.ivy/jars"/>
-    <property name="ivy.jar.name" value="ivy-${ivy.version}.jar"/>
-
-    <!--  ================================= -->
-    <!--   Repositories                     -->
-    <!--  ================================= -->
-    <property name="central.repo" value="http://repo1.maven.org/maven2"/>
-    <property name="jboss.repo" value="http://repository.jboss.org/nexus/content/groups/public/"/>
-    <property name="snapshots.repo" value="http://repository.jboss.org/nexus/content/repositories/snapshots/"/>
-
-    <!--  ================================= -->
-    <!--   Version                          -->
-    <!--  ================================= -->
-    <property name="version.javassist" value="3.14.0-GA"/>
-    <property name="version.jboss.remoting" value="2.5.3.SP1"/>
-    <property name="version.concurrent" value="1.3.4"/>
-    <property name="version.jsf-api" value="1.2_12"/>
-    <property name="version.jsf-impl" value="1.2_12"/>
-    <property name="version.jsf-facelets" value="1.1.15"/>
-    <property name="version.servlet" value="2.5"/>
-    <property name="version.commons-io" value="1.4"/>
-    <property name="version.richfaces" value="3.3.3.Final"/>
-    <property name="version.richfaces.ui.tree" value="3.2.2.SR1"/>
-    <property name="version.jms" value="1.1"/>
-    <property name="version.ejb" value="3.0"/>
-    <property name="version.jpa" value="1.0"/>
-    <property name="version.junit" value="4.8.1"/>
-
-    <property name="jboss-profiler-ant.jar" value="jboss-profiler-ant.jar"/>
-    <property name="jboss-profiler-client.jar" value="jboss-profiler-client.jar"/>
-    <property name="jboss-profiler-connectors.jar" value="jboss-profiler-connectors.jar"/>
-    <property name="jboss-profiler-embedded.jar" value="jboss-profiler-embedded.jar"/>
-    <property name="jboss-profiler-jvmti.jar" value="jboss-profiler-jvmti.jar"/>
-    <property name="jboss-profiler-plugins.jar" value="jboss-profiler-plugins.jar"/>
-    <property name="jboss-profiler-precompiler.jar" value="jboss-profiler-precompiler.jar"/>
-    <property name="jboss-profiler-test.jar" value="jboss-profiler-test.jar"/>
-    <property name="jboss-profiler.jar" value="jboss-profiler.jar"/>
-    <property name="jboss-profiler.sar" value="jboss-profiler.sar"/>
-    <property name="jboss-profiler.war" value="jboss-profiler.war"/>
-
-    <!-- =================================================================== -->
-    <!-- Define the class path                                               -->
-    <!-- =================================================================== -->
-    <path id="class.path">
-        <fileset dir="${lib.dir}/core">
-            <include name="*.jar"/>
-        </fileset>
-    </path>
-
-    <path id="test.class.path">
-        <fileset dir="${lib.dir}/core">
-            <include name="*.jar"/>
-        </fileset>
-        <fileset dir="${lib.dir}/test">
-            <include name="*.jar"/>
-        </fileset>
-        <fileset dir="${lib.dir}/web">
-            <include name="*.jar"/>
-        </fileset>
-        <fileset dir="${target.dir}">
-            <include name="*.jar"/>
-        </fileset>
-    </path>
-
-    <path id="web.class.path">
-        <fileset dir="${lib.dir}/core">
-            <include name="*.jar"/>
-        </fileset>
-        <fileset dir="${lib.dir}/web">
-            <include name="*.jar"/>
-        </fileset>
-        <fileset dir="${target.dir}">
-            <include name="*.jar"/>
-        </fileset>
-    </path>
-
-    <path id="checkstyle.lib.path.id">
-      <fileset dir="${tools.dir}/checkstyle/lib"/>
-      <fileset dir="${target.dir}">
-        <include name="**/*.jar"/>
+  
+  <available classname="com.sun.net.httpserver.HttpServer" property="AVAILABLE_JDK_1.6"/>
+  
+  <property name="build.dir" value="${basedir}/build"/>
+  <property name="lib.dir" value="${basedir}/lib"/>
+  <property name="doc.dir" value="${basedir}/doc"/>
+  <property name="doc.api.dir" value="${doc.dir}/api"/>
+  <property name="src.dir" value="${basedir}/src"/>
+  <property name="src.main.dir" value="${src.dir}/main"/>
+  <property name="src.main.jdk16.dir" value="${src.dir}/jdk16/main"/>
+  <property name="src.test.dir" value="${src.dir}/test"/>
+  <property name="etc.dir" value="${src.dir}/etc"/>
+  <property name="target.dir" value="${basedir}/target"/>
+  <property name="tools.dir" value="${basedir}/tools"/>
+  <property name="reports.dir" value="${basedir}/reports"/>
+  <property name="native.dir" value="${basedir}/native"/>
+  
+  <!-- ================================= -->
+  <!--  Project                          -->
+  <!-- ================================= -->
+  <property name="name" value="jboss-profiler"/>
+  <property name="major" value="2"/>
+  <property name="minor" value="0"/>
+  <property name="patch" value="0"/>
+  <property name="type" value="Beta6"/>
+  
+  <!-- ================================= -->
+  <!--  Ivy                              -->
+  <!-- ================================= -->
+  <property name="ivy.version" value="2.2.0"/>
+  <property name="ivy.dir" value="${user.home}/.ivy2/cache/org.apache.ivy/jars"/>
+  <property name="ivy.jar.name" value="ivy-${ivy.version}.jar"/>
+  
+  <!-- ================================= -->
+  <!--  Repositories                     -->
+  <!-- ================================= -->
+  <property name="central.repo" value="http://repo1.maven.org/maven2"/>
+  <property name="jboss.repo" value="http://repository.jboss.org/nexus/content/groups/public/"/>
+  <property name="snapshots.repo" value="http://repository.jboss.org/nexus/content/repositories/snapshots/"/>
+  
+  <!-- ================================= -->
+  <!--  Version                          -->
+  <!-- ================================= -->
+  <property name="version.javassist" value="3.14.0-GA"/>
+  <property name="version.jboss.remoting" value="2.5.3.SP1"/>
+  <property name="version.concurrent" value="1.3.4"/>
+  <property name="version.jsf-api" value="1.2_12"/>
+  <property name="version.jsf-impl" value="1.2_12"/>
+  <property name="version.jsf-facelets" value="1.1.15"/>
+  <property name="version.servlet" value="2.5"/>
+  <property name="version.commons-io" value="1.4"/>
+  <property name="version.richfaces" value="3.3.3.Final"/>
+  <property name="version.richfaces.ui.tree" value="3.2.2.SR1"/>
+  <property name="version.jms" value="1.1"/>
+  <property name="version.ejb" value="3.0"/>
+  <property name="version.jpa" value="1.0"/>
+  <property name="version.junit" value="4.8.1"/>
+  
+  <property name="jboss-profiler-ant.jar" value="jboss-profiler-ant.jar"/>
+  <property name="jboss-profiler-client.jar" value="jboss-profiler-client.jar"/>
+  <property name="jboss-profiler-connectors.jar" value="jboss-profiler-connectors.jar"/>
+  <property name="jboss-profiler-embedded.jar" value="jboss-profiler-embedded.jar"/>
+  <property name="jboss-profiler-jvmti.jar" value="jboss-profiler-jvmti.jar"/>
+  <property name="jboss-profiler-plugins.jar" value="jboss-profiler-plugins.jar"/>
+  <property name="jboss-profiler-precompiler.jar" value="jboss-profiler-precompiler.jar"/>
+  <property name="jboss-profiler-test.jar" value="jboss-profiler-test.jar"/>
+  <property name="jboss-profiler.jar" value="jboss-profiler.jar"/>
+  <property name="jboss-profiler.sar" value="jboss-profiler.sar"/>
+  <property name="jboss-profiler.war" value="jboss-profiler.war"/>
+  
+  <!-- =================================================================== -->
+  <!-- Define the class path                                               -->
+  <!-- =================================================================== -->
+  <path id="class.path">
+    <fileset dir="${lib.dir}/core">
+      <include name="*.jar"/>
+    </fileset>
+    <fileset dir="${target.dir}">
+      <include name="*.jar"/>
+    </fileset>
+  </path>
+  
+  <path id="test.class.path">
+    <fileset dir="${lib.dir}/core">
+      <include name="*.jar"/>
+    </fileset>
+    <fileset dir="${lib.dir}/test">
+      <include name="*.jar"/>
+    </fileset>
+    <fileset dir="${lib.dir}/web">
+      <include name="*.jar"/>
+    </fileset>
+    <fileset dir="${target.dir}">
+      <include name="*.jar"/>
+    </fileset>
+  </path>
+  
+  <path id="web.class.path">
+    <fileset dir="${lib.dir}/core">
+      <include name="*.jar"/>
+    </fileset>
+    <fileset dir="${lib.dir}/web">
+      <include name="*.jar"/>
+    </fileset>
+    <fileset dir="${target.dir}">
+      <include name="*.jar"/>
+    </fileset>
+  </path>
+  
+  <path id="checkstyle.lib.path.id">
+    <fileset dir="${tools.dir}/checkstyle/lib"/>
+    <fileset dir="${target.dir}">
+      <include name="**/*.jar"/>
+    </fileset>
+  </path>
+  
+  <!-- =================================================================== -->
+  <!-- Bootstrap Ivy                                                       -->
+  <!-- =================================================================== -->
+  <mkdir dir="${ivy.dir}"/>
+  <get usetimestamp="true" src="http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.version}/${ivy.jar.name}" 
+       skipexisting="true"
+       dest="${ivy.dir}/${ivy.jar.name}"/>
+  <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpath="${ivy.dir}/${ivy.jar.name}"/>
+  
+  <!-- =================================================================== -->
+  <!-- Initialize                                                          -->
+  <!-- =================================================================== -->
+  <target name="init">
+    <ivy:settings file="${basedir}/ivy.settings.xml"/>
+  </target>
+  
+  <!-- =================================================================== -->
+  <!-- resolve                                                             -->
+  <!-- =================================================================== -->
+  <target name="resolve" depends="init">
+    <ivy:retrieve pattern="${lib.dir}/[conf]/[artifact].[ext]" sync="true"/>
+  </target>
+  
+  <!-- =================================================================== -->
+  <!-- Prepares the directory structure                                    -->
+  <!-- =================================================================== -->
+  <target name="prepare" depends="resolve">
+    <mkdir dir="${build.dir}"/>
+    <mkdir dir="${target.dir}"/>
+  </target>
+  
+  <!-- =================================================================== -->
+  <!-- Report                                                              -->
+  <!-- =================================================================== -->
+  <target name="report" depends="resolve">
+    <ivy:report todir="${target.dir}"/>
+  </target>
+  
+  <!-- =================================================================== -->
+  <!-- Jars                                                                -->
+  <!-- =================================================================== -->
+  <target name="jars" depends="prepare">
+    <ant dir="core" inheritRefs="true" target="jars"/>
+    <ant dir="client" inheritRefs="true" target="jars"/>
+  </target>
+  
+  <!-- =================================================================== -->
+  <!-- Ant                                                                 -->
+  <!-- =================================================================== -->
+  <target name="ant" depends="prepare">
+    <delete dir="${build.dir}"/>
+    <mkdir dir="${build.dir}"/>
+    <javac
+        destdir="${build.dir}"
+        classpathref="web.class.path"
+        debug="on"
+        deprecation="on"
+        optimize="off"
+        source="1.5"
+        target="1.5"
+        >
+      <src path="${src.main.dir}"/>
+    </javac>
+    <copy todir="${build.dir}/org/jboss/profiler/ant">
+      <fileset dir="${etc.dir}">
+        <include name="**/antlib.xml"/>
       </fileset>
-    </path>
+    </copy>
+    <jar destfile="${target.dir}/${jboss-profiler-ant.jar}"
+         basedir="${build.dir}"
+         manifest="${etc.dir}/ant-manifest.mf"
+         includes="org/jboss/profiler/ant/**,org/jboss/profiler/shared/**,**/*.xml"
+         excludes="**/*.java"/>
+  </target>
 
-    <!-- =================================================================== -->
-    <!-- Bootstrap Ivy                                                       -->
-    <!-- =================================================================== -->
-    <mkdir dir="${ivy.dir}"/>
-    <get usetimestamp="true" src="http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.version}/${ivy.jar.name}" 
-         skipexisting="true"
-         dest="${ivy.dir}/${ivy.jar.name}"/>
-    <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpath="${ivy.dir}/${ivy.jar.name}"/>
-
-
-
-    <!-- =================================================================== -->
-    <!-- Initialize                                                          -->
-    <!-- =================================================================== -->
-    <target name="init">
-        <ivy:settings file="${basedir}/ivy.settings.xml"/>
-    </target>
-
-    <!-- =================================================================== -->
-    <!-- resolve                                                             -->
-    <!-- =================================================================== -->
-    <target name="resolve" depends="init">
-      <ivy:retrieve pattern="${lib.dir}/[conf]/[artifact].[ext]" sync="true"/>
-    </target>
-
-    <!-- =================================================================== -->
-    <!-- Prepares the directory structure                                    -->
-    <!-- =================================================================== -->
-    <target name="prepare" depends="resolve">
-        <mkdir dir="${build.dir}"/>
-        <mkdir dir="${target.dir}"/>
-    </target>
-
-    <!-- =================================================================== -->
-    <!-- report                                                              -->
-    <!-- =================================================================== -->
-    <target name="report" depends="resolve">
-      <ivy:report todir="${target.dir}"/>
-    </target>
-
-    <!-- =================================================================== -->
-    <!-- Agent                                                               -->
-    <!-- =================================================================== -->
-    <target name="agent" depends="prepare">
-        <delete dir="${build.dir}"/>
-        <mkdir dir="${build.dir}"/>
-        <javac
-            destdir="${build.dir}"
-            classpathref="web.class.path"
-            debug="on"
-            deprecation="on"
-            optimize="off"
-            source="1.5"
-            target="1.5"
-            >
-            <src path="${src.main.dir}"/>
-        </javac>
-        <copy todir="${build.dir}">
-            <fileset dir="${etc.dir}">
-               <include name="**/jboss-profiler.properties"/>
-            </fileset>
-        </copy>
-        <jar destfile="${target.dir}/${jboss-profiler.jar}"
-             basedir="${build.dir}"
-             manifest="${etc.dir}/agent-manifest.mf"
-             includes="org/jboss/profiler/agent/**,org/jboss/profiler/shared/**,**/*.properties"
-             excludes="**/*.java"/>
-    </target>
-
-    <!-- =================================================================== -->
-    <!-- Ant                                                                 -->
-    <!-- =================================================================== -->
-    <target name="ant" depends="prepare">
-        <delete dir="${build.dir}"/>
-        <mkdir dir="${build.dir}"/>
-        <javac
-            destdir="${build.dir}"
-            classpathref="web.class.path"
-            debug="on"
-            deprecation="on"
-            optimize="off"
-            source="1.5"
-            target="1.5"
-            >
-            <src path="${src.main.dir}"/>
-        </javac>
-        <copy todir="${build.dir}/org/jboss/profiler/ant">
-            <fileset dir="${etc.dir}">
-               <include name="**/antlib.xml"/>
-            </fileset>
-        </copy>
-        <jar destfile="${target.dir}/${jboss-profiler-ant.jar}"
-             basedir="${build.dir}"
-             manifest="${etc.dir}/ant-manifest.mf"
-             includes="org/jboss/profiler/ant/**,org/jboss/profiler/shared/**,**/*.xml"
-             excludes="**/*.java"/>
-    </target>
-
-    <!-- =================================================================== -->
-    <!-- Connectors                                                          -->
-    <!-- =================================================================== -->
-    <target name="connectors" depends="prepare">
-        <delete dir="${build.dir}"/>
-        <mkdir dir="${build.dir}"/>
-        <javac
-            destdir="${build.dir}"
-            classpathref="web.class.path"
-            debug="on"
-            deprecation="on"
-            optimize="off"
-            source="1.5"
-            target="1.5"
-            >
-            <src path="${src.main.dir}"/>
-        </javac>
-        <jar destfile="${target.dir}/${jboss-profiler-connectors.jar}"
-             basedir="${build.dir}"
-             manifest="${etc.dir}/connectors-manifest.mf"
-             includes="org/jboss/profiler/connectors/**"
-             excludes="**/*.java"/>
-    </target>
-
-    <!-- =================================================================== -->
-    <!-- Client                                                              -->
-    <!-- =================================================================== -->
-    <target name="client" depends="prepare">
-        <delete dir="${build.dir}"/>
-        <mkdir dir="${build.dir}"/>
-        <javac
-            destdir="${build.dir}"
-            classpathref="web.class.path"
-            debug="on"
-            deprecation="on"
-            optimize="off"
-            source="1.5"
-            target="1.5"
-            >
-            <src path="${src.main.dir}"/>
-        </javac>
-        <copy todir="${build.dir}">
-            <fileset dir="${etc.dir}">
-               <include name="**/log4j.xml"/>
-            </fileset>
-        </copy>
-        <copy todir="${build.dir}">
-            <fileset dir="${etc.dir}">
-               <include name="**/jboss-profiler-client.properties"/>
-               <include name="**/style.css"/>
-            </fileset>
-        </copy>
-
-        <jar destfile="${target.dir}/${jboss-profiler-client.jar}"
-             basedir="${build.dir}"
-             manifest="${etc.dir}/client-manifest.mf"
-             includes="org/jboss/profiler/client/*,org/jboss/profiler/client/cmd/**,org/jboss/profiler/shared/**,**/*.xml,**/*.properties,**/*.css"
-             excludes="**/*.java"/>
-    </target>
-
-    <!-- =================================================================== -->
-    <!-- Embedded                                                            -->
-    <!-- =================================================================== -->
-    <target name="embedded" depends="prepare">
-        <delete dir="${build.dir}"/>
-        <mkdir dir="${build.dir}"/>
-        <javac
-            destdir="${build.dir}"
-            classpathref="web.class.path"
-            debug="on"
-            deprecation="on"
-            optimize="off"
-            source="1.5"
-            target="1.5"
-            >
-            <src path="${src.main.dir}"/>
-        </javac>
-        <copy todir="${build.dir}">
-            <fileset dir="${etc.dir}">
-               <include name="**/jboss-profiler.properties"/>
-               <include name="**/log4j.xml"/>
-            </fileset>
-        </copy>
-<!--
+  <!-- =================================================================== -->
+  <!-- Connectors                                                          -->
+  <!-- =================================================================== -->
+  <target name="connectors" depends="prepare">
+    <delete dir="${build.dir}"/>
+    <mkdir dir="${build.dir}"/>
+    <javac
+        destdir="${build.dir}"
+        classpathref="web.class.path"
+        debug="on"
+        deprecation="on"
+        optimize="off"
+        source="1.5"
+        target="1.5"
+        >
+      <src path="${src.main.dir}"/>
+    </javac>
+    <jar destfile="${target.dir}/${jboss-profiler-connectors.jar}"
+         basedir="${build.dir}"
+         manifest="${etc.dir}/connectors-manifest.mf"
+         includes="org/jboss/profiler/connectors/**"
+         excludes="**/*.java"/>
+  </target>
+  
+  <!-- =================================================================== -->
+  <!-- Embedded                                                            -->
+  <!-- =================================================================== -->
+  <target name="embedded" depends="prepare">
+    <delete dir="${build.dir}"/>
+    <mkdir dir="${build.dir}"/>
+    <javac
+        destdir="${build.dir}"
+        classpathref="web.class.path"
+        debug="on"
+        deprecation="on"
+        optimize="off"
+        source="1.5"
+        target="1.5"
+        >
+      <src path="${src.main.dir}"/>
+    </javac>
+    <copy todir="${build.dir}">
+      <fileset dir="${etc.dir}">
+        <include name="**/jboss-profiler.properties"/>
+        <include name="**/log4j.xml"/>
+      </fileset>
+    </copy>
+    <!--
         <unzip src="${lib.dir}/jboss-common.jar" dest="${build.dir}">
-          <patternset>
-            <include name="org/jboss/logging/**"/>
-          </patternset>
+        <patternset>
+        <include name="org/jboss/logging/**"/>
+        </patternset>
         </unzip>
--->
-        <jar destfile="${target.dir}/${jboss-profiler-embedded.jar}"
-             basedir="${build.dir}"
-             manifest="${etc.dir}/embedded-manifest.mf"
-             includes="org/jboss/profiler/agent/**,org/jboss/profiler/embedded/**,org/jboss/profiler/shared/**,org/jboss/logging/**,**/*.properties,**/*.xml"
-             excludes="**/*.java"/>
-    </target>
-
-    <!-- =================================================================== -->
-    <!-- JVMTI                                                               -->
-    <!-- =================================================================== -->
-	<target name="jvmti-jdk16" if="AVAILABLE_JDK_1.6">
-		<echo message="compiling"/>
-        <javac
-            destdir="${build.dir}"
-            classpathref="web.class.path"
-            debug="on"
-            deprecation="on"
-            optimize="off"
-            source="1.5"
-            target="1.5"
-        	depend="false"
-        	failonerror="true">
-            <src path="${src.main.jdk16.dir}"/>
-        	
-        </javac>
-	</target>
-	
-    <target name="jvmti" depends="prepare">
-        <delete dir="${build.dir}"/>
-        <mkdir dir="${build.dir}"/>
-        <javac
-            destdir="${build.dir}"
-            classpathref="web.class.path"
-            debug="on"
-            deprecation="on"
-            optimize="off"
-            source="1.5"
-            target="1.5"
-        	depend="false"
-        	failonerror="true"
-            >
-            <src path="${src.main.dir}">
-        	</src>
-    			<include name="org/jboss/profiler/jvmti/**/*.java" />
-        	
-        </javac>
-    	
-    	<antcall target="jvmti-jdk16"/>
-     	
-        <copy todir="${build.dir}">
-            <fileset dir="${etc.dir}">
-               <include name="**/jboss-profiler.properties"/>
-               <include name="**/log4j.xml"/>
-            </fileset>
-        </copy>
-<!--
-        <unzip src="${lib.dir}/jboss-common.jar" dest="${build.dir}">
-          <patternset>
-            <include name="org/jboss/logging/**"/>
-          </patternset>
-        </unzip>
--->
-        <jar destfile="${target.dir}/${jboss-profiler-jvmti.jar}"
-             basedir="${build.dir}"
-             manifest="${etc.dir}/embedded-manifest.mf"
-             includes="org/jboss/profiler/jvmti/**"
-             excludes="**/*.java"/>
-
-    	<javah class="org.jboss.profiler.jvmti.JVMTIInterface"  destdir="${native-src-dir}" classpathref="test.class.path"/>
-    	
-    </target>
-
-    <!-- =================================================================== -->
-    <!-- Plugins                                                             -->
-    <!-- =================================================================== -->
-    <target name="plugins" depends="prepare">
-        <delete dir="${build.dir}"/>
-        <mkdir dir="${build.dir}"/>
-        <javac
-            destdir="${build.dir}"
-            classpathref="web.class.path"
-            debug="on"
-            deprecation="on"
-            optimize="off"
-            source="1.5"
-            target="1.5"
-            >
-            <src path="${src.main.dir}"/>
-        </javac>
-
-        <jar destfile="${target.dir}/${jboss-profiler-plugins.jar}"
-             basedir="${build.dir}"
-             includes="org/jboss/profiler/plugins/**"
-             excludes="**/*.java"/>
-    </target>
-
-    <!-- =================================================================== -->
-    <!-- Precompiler                                                         -->
-    <!-- =================================================================== -->
-    <target name="precompiler" depends="prepare">
-        <delete dir="${build.dir}"/>
-        <mkdir dir="${build.dir}"/>
-        <javac
-            destdir="${build.dir}"
-            classpathref="web.class.path"
-            debug="on"
-            deprecation="on"
-            optimize="off"
-            source="1.5"
-            target="1.5"
-            >
-            <src path="${src.main.dir}"/>
-        </javac>
-        <copy todir="${build.dir}">
-            <fileset dir="${etc.dir}">
-               <include name="**/log4j.xml"/>
-            </fileset>
-        </copy>
-
-        <jar destfile="${target.dir}/${jboss-profiler-precompiler.jar}"
-             basedir="${build.dir}"
-             manifest="${etc.dir}/precompiler-manifest.mf"
-             includes="org/jboss/profiler/agent/**,org/jboss/profiler/client/precompiler/**,org/jboss/profiler/shared/**,**/*.xml"
-             excludes="**/*.java"/>
-    </target>
-
-    <!-- =================================================================== -->
-    <!-- Web                                                                 -->
-    <!-- =================================================================== -->
-    <target name="web" depends="prepare">
-        <delete dir="${build.dir}"/>
-        <mkdir dir="${build.dir}"/>
-        <javac
-            destdir="${build.dir}"
-            classpathref="web.class.path"
-            debug="on"
-            deprecation="on"
-            optimize="off"
-            source="1.5"
-            target="1.5"
-            >
-            <src path="${src.main.dir}"/>
-        </javac>
-
-        <war destfile="${target.dir}/${jboss-profiler.war}" webxml="${etc.dir}/web.xml">
-          <fileset dir="${src.main.dir}/www"/>
-          <lib dir="${lib.dir}">
-            <exclude name="asm.jar"/>
-            <exclude name="javassist.jar"/>
-            <exclude name="concurrent.jar"/>
-            <exclude name="ejb3-persistence.jar"/>
-            <exclude name="jboss-common.jar"/>
-            <exclude name="jboss-ejb3x.jar"/>
-            <exclude name="jboss-remoting.jar"/>
-            <exclude name="jbossall-client.jar"/>
-            <exclude name="jsf-api.jar"/>
-            <exclude name="jsf-impl.jar"/>
-            <exclude name="log4j.jar"/>
-            <exclude name="servlet.jar"/>
-          </lib>
-          <classes dir="${build.dir}">
-             <include name="org/jboss/profiler/client/*"/>
-             <include name="org/jboss/profiler/client/web/**"/>
-             <include name="org/jboss/profiler/shared/**"/>
-             <exclude name="**/*.java"/>
-          </classes>
-          <zipfileset dir="${etc.dir}/"
-                      prefix="WEB-INF">
-             <include name="faces-config.xml"/>
-             <include name="jboss-web.xml"/>
-             <include name="*.tld"/>
-          </zipfileset>
-          <zipfileset dir="${etc.dir}/"
-                      prefix="WEB-INF/classes">
-             <include name="*skin.properties"/>
-          </zipfileset>
-          <zipfileset dir="${src.main.dir}/resources"
-                      prefix="WEB-INF/classes/resources">
-             <include name="*.properties"/>
-          </zipfileset>
-        </war>
-
-    </target>
-
-    <!-- =================================================================== -->
-    <!-- Test                                                                -->
-    <!-- =================================================================== -->
-    <target name="test" depends="prepare">
-        <delete dir="${build.dir}"/>
-        <mkdir dir="${build.dir}"/>
-
-        <mkdir dir="${build.dir}/WEB-INF"/>
-        <copy todir="${build.dir}/WEB-INF">
-            <fileset dir="${src.test.dir}/resources">
-               <include name="**/*.xml"/>
-            </fileset>
-        </copy>
-
-        <javac
-            destdir="${build.dir}"
-            classpathref="test.class.path"
-            debug="on"
-            deprecation="on"
-            optimize="off"
-            source="1.5" 
-            target="1.5"
-            >
-            <src path="${src.test.dir}/java"/>
-        </javac>
-
-        <jar destfile="${target.dir}/${jboss-profiler-test.jar}"
-             basedir="${build.dir}"
-             excludes="**/*.java"/>
-
-    </target>
-
-    <!-- =================================================================== -->
-    <!-- SAR                                                                 -->
-    <!-- =================================================================== -->
-    <target name="sar" depends="prepare">
-        <delete dir="${build.dir}"/>
-        <mkdir dir="${build.dir}"/>
-        <javac
-            destdir="${build.dir}"
-            classpathref="web.class.path"
-            debug="on"
-            deprecation="on"
-            optimize="off"
-            source="1.5"
-            target="1.5"
-            >
-            <src path="${src.main.dir}"/>
-        </javac>
-        <mkdir dir="${build.dir}/META-INF"/>
-        <copy todir="${build.dir}/META-INF">
-            <fileset dir="${etc.dir}">
-               <include name="**/jboss-service.xml"/>
-            </fileset>
-        </copy>
-        <jar destfile="${target.dir}/${jboss-profiler.sar}"
-             basedir="${build.dir}"
-             includes="org/jboss/profiler/as/**,org/jboss/profiler/connectors/**,**/*.xml"
-             excludes="**/*.java"/>
-    </target>
-
-    <!-- =================================================================== -->
-    <!-- Doc                                                                 -->
-    <!-- =================================================================== -->
-    <target name="doc">
-        <mkdir dir="${doc.api.dir}"/>
-        <javadoc packagenames="org.*"
-                 sourcepath="${src.main.dir}"
-                 destdir="${doc.api.dir}"
-                 author="true"
-                 version="true"
-                 windowtitle="JBoss Profiler 2"
-                 doctitle="JBoss Profiler 2"
-                 use="true"
-                 classpathref="class.path"
-                 bottom="Copyright &#169; 2007-2009 JBoss (http://www.jboss.com/)">
-             <link offline="true" href="http://java.sun.com/j2se/1.5/docs/api/" packagelistLoc="${java.home}/../docs/api"/>
-        </javadoc>
-        <ant dir="doc/userguide" target="pdf"/>
-        <ant dir="doc/developerguide" target="pdf"/>
-    </target>
-
-    <!-- ================================= 
-         Target: checkstyle
-         ================================= -->
-    <target name="checkstyle" depends="dist">
-      <taskdef name="checkstyle"
-               classname="com.puppycrawl.tools.checkstyle.CheckStyleTask"
-               classpathref="checkstyle.lib.path.id"/>
+    -->
+    <jar destfile="${target.dir}/${jboss-profiler-embedded.jar}"
+         basedir="${build.dir}"
+         manifest="${etc.dir}/embedded-manifest.mf"
+         includes="org/jboss/profiler/agent/**,org/jboss/profiler/embedded/**,org/jboss/profiler/shared/**,org/jboss/logging/**,**/*.properties,**/*.xml"
+         excludes="**/*.java"/>
+  </target>
+  
+  <!-- =================================================================== -->
+  <!-- JVMTI                                                               -->
+  <!-- =================================================================== -->
+  <target name="jvmti-jdk16" if="AVAILABLE_JDK_1.6">
+    <echo message="compiling"/>
+    <javac
+        destdir="${build.dir}"
+        classpathref="web.class.path"
+        debug="on"
+        deprecation="on"
+        optimize="off"
+        source="1.5"
+        target="1.5"
+        depend="false"
+        failonerror="true">
+      <src path="${src.main.jdk16.dir}"/>
       
-      <mkdir dir="${reports.dir}"/>
-      <mkdir dir="${reports.dir}/checkstyle" />
+    </javac>
+  </target>
+  
+  <target name="jvmti" depends="prepare">
+    <delete dir="${build.dir}"/>
+    <mkdir dir="${build.dir}"/>
+    <javac
+        destdir="${build.dir}"
+        classpathref="web.class.path"
+        debug="on"
+        deprecation="on"
+        optimize="off"
+        source="1.5"
+        target="1.5"
+        depend="false"
+        failonerror="true"
+        >
+      <src path="${src.main.dir}">
+      </src>
+      <include name="org/jboss/profiler/jvmti/**/*.java" />
       
-      <checkstyle config="${tools.dir}/checkstyle/checkstyle.xml"
-                  failOnViolation="false"
-                  classpathref="checkstyle.lib.path.id">
-        <fileset dir="${basedir}"
-                 includes="**/*.java"/>
-        <formatter type="plain"/>
-        <formatter type="xml" toFile="${reports.dir}/checkstyle/checkstyle-result.xml"/>
-      </checkstyle>
-    </target>
-
-    <!-- =================================================================== -->
-    <!-- Dist                                                                -->
-    <!-- =================================================================== -->
-    <target name="dist" depends="agent,connectors,ant,client,embedded,jvmti,plugins,precompiler,test,sar">
+    </javac>
+    
+    <antcall target="jvmti-jdk16"/>
+    
+    <copy todir="${build.dir}">
+      <fileset dir="${etc.dir}">
+        <include name="**/jboss-profiler.properties"/>
+        <include name="**/log4j.xml"/>
+      </fileset>
+    </copy>
+    <!--
+        <unzip src="${lib.dir}/jboss-common.jar" dest="${build.dir}">
+        <patternset>
+        <include name="org/jboss/logging/**"/>
+        </patternset>
+        </unzip>
+    -->
+    <jar destfile="${target.dir}/${jboss-profiler-jvmti.jar}"
+         basedir="${build.dir}"
+         manifest="${etc.dir}/embedded-manifest.mf"
+         includes="org/jboss/profiler/jvmti/**"
+         excludes="**/*.java"/>
+    
+    <javah class="org.jboss.profiler.jvmti.JVMTIInterface"  destdir="${native-src-dir}" classpathref="test.class.path"/>
+    
+  </target>
+  
+  <!-- =================================================================== -->
+  <!-- Plugins                                                             -->
+  <!-- =================================================================== -->
+  <target name="plugins" depends="prepare">
+    <delete dir="${build.dir}"/>
+    <mkdir dir="${build.dir}"/>
+    <javac
+        destdir="${build.dir}"
+        classpathref="web.class.path"
+        debug="on"
+        deprecation="on"
+        optimize="off"
+        source="1.5"
+        target="1.5"
+        >
+      <src path="${src.main.dir}"/>
+    </javac>
+    
+    <jar destfile="${target.dir}/${jboss-profiler-plugins.jar}"
+         basedir="${build.dir}"
+         includes="org/jboss/profiler/plugins/**"
+         excludes="**/*.java"/>
+  </target>
+  
+  <!-- =================================================================== -->
+  <!-- Precompiler                                                         -->
+  <!-- =================================================================== -->
+  <target name="precompiler" depends="prepare">
+    <delete dir="${build.dir}"/>
+    <mkdir dir="${build.dir}"/>
+    <javac
+        destdir="${build.dir}"
+        classpathref="web.class.path"
+        debug="on"
+        deprecation="on"
+        optimize="off"
+        source="1.5"
+        target="1.5"
+        >
+      <src path="${src.main.dir}"/>
+    </javac>
+    <copy todir="${build.dir}">
+      <fileset dir="${etc.dir}">
+        <include name="**/log4j.xml"/>
+      </fileset>
+    </copy>
+    
+    <jar destfile="${target.dir}/${jboss-profiler-precompiler.jar}"
+         basedir="${build.dir}"
+         manifest="${etc.dir}/precompiler-manifest.mf"
+         includes="org/jboss/profiler/agent/**,org/jboss/profiler/client/precompiler/**,org/jboss/profiler/shared/**,**/*.xml"
+         excludes="**/*.java"/>
+  </target>
+  
+  <!-- =================================================================== -->
+  <!-- Web                                                                 -->
+  <!-- =================================================================== -->
+  <target name="web" depends="prepare">
+    <delete dir="${build.dir}"/>
+    <mkdir dir="${build.dir}"/>
+    <javac
+        destdir="${build.dir}"
+        classpathref="web.class.path"
+        debug="on"
+        deprecation="on"
+        optimize="off"
+        source="1.5"
+        target="1.5"
+        >
+      <src path="${src.main.dir}"/>
+    </javac>
+    
+    <war destfile="${target.dir}/${jboss-profiler.war}" webxml="${etc.dir}/web.xml">
+      <fileset dir="${src.main.dir}/www"/>
+      <lib dir="${lib.dir}">
+        <exclude name="asm.jar"/>
+        <exclude name="javassist.jar"/>
+        <exclude name="concurrent.jar"/>
+        <exclude name="ejb3-persistence.jar"/>
+        <exclude name="jboss-common.jar"/>
+        <exclude name="jboss-ejb3x.jar"/>
+        <exclude name="jboss-remoting.jar"/>
+        <exclude name="jbossall-client.jar"/>
+        <exclude name="jsf-api.jar"/>
+        <exclude name="jsf-impl.jar"/>
+        <exclude name="log4j.jar"/>
+        <exclude name="servlet.jar"/>
+      </lib>
+      <classes dir="${build.dir}">
+        <include name="org/jboss/profiler/client/*"/>
+        <include name="org/jboss/profiler/client/web/**"/>
+        <include name="org/jboss/profiler/shared/**"/>
+        <exclude name="**/*.java"/>
+      </classes>
+      <zipfileset dir="${etc.dir}/"
+                  prefix="WEB-INF">
+        <include name="faces-config.xml"/>
+        <include name="jboss-web.xml"/>
+        <include name="*.tld"/>
+      </zipfileset>
+      <zipfileset dir="${etc.dir}/"
+                  prefix="WEB-INF/classes">
+        <include name="*skin.properties"/>
+      </zipfileset>
+      <zipfileset dir="${src.main.dir}/resources"
+                  prefix="WEB-INF/classes/resources">
+        <include name="*.properties"/>
+      </zipfileset>
+    </war>
+    
+  </target>
+  
+  <!-- =================================================================== -->
+  <!-- Test                                                                -->
+  <!-- =================================================================== -->
+  <target name="test" depends="prepare">
+    <delete dir="${build.dir}"/>
+    <mkdir dir="${build.dir}"/>
+    
+    <mkdir dir="${build.dir}/WEB-INF"/>
+    <copy todir="${build.dir}/WEB-INF">
+      <fileset dir="${src.test.dir}/resources">
+        <include name="**/*.xml"/>
+      </fileset>
+    </copy>
+    
+    <javac
+        destdir="${build.dir}"
+        classpathref="test.class.path"
+        debug="on"
+        deprecation="on"
+        optimize="off"
+        source="1.5" 
+        target="1.5"
+        >
+      <src path="${src.test.dir}/java"/>
+    </javac>
+    
+    <jar destfile="${target.dir}/${jboss-profiler-test.jar}"
+         basedir="${build.dir}"
+         excludes="**/*.java"/>
+    
+  </target>
+  
+  <!-- =================================================================== -->
+  <!-- SAR                                                                 -->
+  <!-- =================================================================== -->
+  <target name="sar" depends="prepare">
+    <delete dir="${build.dir}"/>
+    <mkdir dir="${build.dir}"/>
+    <javac
+        destdir="${build.dir}"
+        classpathref="web.class.path"
+        debug="on"
+        deprecation="on"
+        optimize="off"
+        source="1.5"
+        target="1.5"
+        >
+      <src path="${src.main.dir}"/>
+    </javac>
+    <mkdir dir="${build.dir}/META-INF"/>
+    <copy todir="${build.dir}/META-INF">
+      <fileset dir="${etc.dir}">
+        <include name="**/jboss-service.xml"/>
+      </fileset>
+    </copy>
+    <jar destfile="${target.dir}/${jboss-profiler.sar}"
+         basedir="${build.dir}"
+         includes="org/jboss/profiler/as/**,org/jboss/profiler/connectors/**,**/*.xml"
+         excludes="**/*.java"/>
+  </target>
+  
+  <!-- =================================================================== -->
+  <!-- Doc                                                                 -->
+  <!-- =================================================================== -->
+  <target name="doc">
+    <mkdir dir="${doc.api.dir}"/>
+    <javadoc packagenames="org.*"
+             sourcepath="${src.main.dir}"
+             destdir="${doc.api.dir}"
+             author="true"
+             version="true"
+             windowtitle="JBoss Profiler 2"
+             doctitle="JBoss Profiler 2"
+             use="true"
+             classpathref="class.path"
+             bottom="Copyright &#169; 2007-2009 JBoss (http://www.jboss.com/)">
+      <link offline="true" href="http://java.sun.com/j2se/1.5/docs/api/" packagelistLoc="${java.home}/../docs/api"/>
+    </javadoc>
+    <ant dir="doc/userguide" target="pdf"/>
+    <ant dir="doc/developerguide" target="pdf"/>
+  </target>
+  
+  <!-- ================================= 
+       Target: checkstyle
+       ================================= -->
+  <target name="checkstyle" depends="dist">
+    <taskdef name="checkstyle"
+             classname="com.puppycrawl.tools.checkstyle.CheckStyleTask"
+             classpathref="checkstyle.lib.path.id"/>
+    
+    <mkdir dir="${reports.dir}"/>
+    <mkdir dir="${reports.dir}/checkstyle" />
+    
+    <checkstyle config="${tools.dir}/checkstyle/checkstyle.xml"
+                failOnViolation="false"
+                classpathref="checkstyle.lib.path.id">
+      <fileset dir="${basedir}"
+               includes="**/*.java"/>
+      <formatter type="plain"/>
+      <formatter type="xml" toFile="${reports.dir}/checkstyle/checkstyle-result.xml"/>
+    </checkstyle>
+  </target>
+  
+  <!-- =================================================================== -->
+  <!-- Dist                                                                -->
+  <!-- =================================================================== -->
+  <target name="dist" depends="jars">
+    <!--
         <copy todir="${target.dir}">
-            <fileset dir="${lib.dir}">
-               <include name="**/*.jar"/>
-               <exclude name="**/commons-beanutils.jar"/>
-               <exclude name="**/commons-digester.jar"/>
-               <exclude name="**/jsf-api.jar"/>
-               <exclude name="**/jsf-facelets.jar"/>
-               <exclude name="**/jsf-impl.jar"/>
-               <exclude name="**/richfaces-api.jar"/>
-               <exclude name="**/richfaces-impl.jar"/>
-               <exclude name="**/richfaces-ui.jar"/>
-               <exclude name="**/tree.jar"/>
-            </fileset>
-            <flattenmapper/>
+        <fileset dir="${lib.dir}">
+        <include name="**/*.jar"/>
+        <exclude name="**/commons-beanutils.jar"/>
+        <exclude name="**/commons-digester.jar"/>
+        <exclude name="**/jsf-api.jar"/>
+        <exclude name="**/jsf-facelets.jar"/>
+        <exclude name="**/jsf-impl.jar"/>
+        <exclude name="**/richfaces-api.jar"/>
+        <exclude name="**/richfaces-impl.jar"/>
+        <exclude name="**/richfaces-ui.jar"/>
+        <exclude name="**/tree.jar"/>
+        </fileset>
+        <flattenmapper/>
         </copy>
-
+        
         <copy todir="${target.dir}">
-            <fileset dir="${etc.dir}">
-               <include name="**/log4j.xml"/>
-            </fileset>
+        <fileset dir="${etc.dir}">
+        <include name="**/log4j.xml"/>
+        </fileset>
         </copy>
         <copy todir="${target.dir}">
-            <fileset dir="${etc.dir}">
-               <include name="**/*.properties"/>
-               <exclude name="**/*skin.properties"/>
-            </fileset>
+        <fileset dir="${etc.dir}">
+        <include name="**/*.properties"/>
+        <exclude name="**/*skin.properties"/>
+        </fileset>
         </copy>
         <copy todir="${target.dir}">
-            <fileset dir="${doc.dir}">
-               <include name="**/*.txt"/>
-               <include name="**/*.html"/>
-            </fileset>
+        <fileset dir="${doc.dir}">
+        <include name="**/*.txt"/>
+        <include name="**/*.html"/>
+        </fileset>
         </copy>
-    </target>
-
-    <!-- =================================================================== -->
-    <!-- Release                                                             -->
-    <!-- =================================================================== -->
-    <target name="release" depends="clean,dist">
-        <delete dir="${build.dir}"/>
-
-        <ant dir="doc/userguide" target="pdf"/>
-        <ant dir="doc/developerguide" target="pdf"/>
-
-        <mkdir dir="${build.dir}/${name}-${major}.${minor}.${patch}.${type}"/>
-
-        <move flatten="true" todir="${build.dir}/${name}-${major}.${minor}.${patch}.${type}">
-          <fileset dir="${build.dir}">
-            <include name="**/*.pdf"/>
-          </fileset>
-        </move>
-
-        <delete dir="${build.dir}/en"/>
-
-        <move todir="${build.dir}/${name}-${major}.${minor}.${patch}.${type}"
-              includeEmptyDirs="false">
-            <fileset dir="${target.dir}"
-                     excludes="**/ejb-api.jar,
-                               **/jms.jar,
-                               **/persistence-api.jar,
-                               **/junit.jar,
-                               **/servlet-api.jar,
-                               **/*test.jar "/>
-        </move>
-        <zip destfile="${name}-${major}.${minor}.${patch}.${type}.zip"
-             basedir="${build.dir}"/>
-
-        <tar destfile="${name}-${major}.${minor}.${patch}.${type}.tar"
-             basedir="${build.dir}"/>
-
-        <gzip zipfile="${name}-${major}.${minor}.${patch}.${type}.tar.gz" 
-              src="${name}-${major}.${minor}.${patch}.${type}.tar"/>
-
-        <bzip2 zipfile="${name}-${major}.${minor}.${patch}.${type}.tar.bz2" 
-               src="${name}-${major}.${minor}.${patch}.${type}.tar"/>
-
-        <delete file="${name}-${major}.${minor}.${patch}.${type}.tar"/>
-
-    </target>
-
-    <!-- =================================================================== -->
-    <!-- Clean                                                               -->
-    <!-- =================================================================== -->
-    <target name="clean">
-        <delete>
-          <fileset dir="${basedir}" defaultexcludes="no">
-            <include name="**/*~" />
-            <include name="**/*.bak"/>
-          </fileset>
-        </delete>
-        <delete dir="${build.dir}"/>
-        <delete dir="${reports.dir}"/>
-        <delete dir="${target.dir}"/>
-        <delete dir="${doc.api.dir}"/>
-        <delete file="${name}-${major}.${minor}.${patch}.${type}.zip"/>
-        <delete file="${name}-${major}.${minor}.${patch}.${type}.tar.gz"/>
-        <delete file="${name}-${major}.${minor}.${patch}.${type}.tar.bz2"/>
-    </target>
-
-    <!-- =================================================================== -->
-    <!-- clean-cache                                                         -->
-    <!-- =================================================================== -->
-    <target name="clean-cache">
-      <ivy:cleancache />
-    </target>
+    -->
+  </target>
+  
+  <!-- =================================================================== -->
+  <!-- Release                                                             -->
+  <!-- =================================================================== -->
+  <target name="release" depends="clean,dist">
+    <delete dir="${build.dir}"/>
+    
+    <ant dir="doc/userguide" target="pdf"/>
+    <ant dir="doc/developerguide" target="pdf"/>
+    
+    <mkdir dir="${build.dir}/${name}-${major}.${minor}.${patch}.${type}"/>
+    
+    <move flatten="true" todir="${build.dir}/${name}-${major}.${minor}.${patch}.${type}">
+      <fileset dir="${build.dir}">
+        <include name="**/*.pdf"/>
+      </fileset>
+    </move>
+    
+    <delete dir="${build.dir}/en"/>
+    
+    <move todir="${build.dir}/${name}-${major}.${minor}.${patch}.${type}"
+          includeEmptyDirs="false">
+      <fileset dir="${target.dir}"
+               excludes="**/ejb-api.jar,
+                         **/jms.jar,
+                         **/persistence-api.jar,
+                         **/junit.jar,
+                         **/servlet-api.jar,
+                         **/*test.jar "/>
+    </move>
+    <zip destfile="${name}-${major}.${minor}.${patch}.${type}.zip"
+         basedir="${build.dir}"/>
+    
+    <tar destfile="${name}-${major}.${minor}.${patch}.${type}.tar"
+         basedir="${build.dir}"/>
+    
+    <gzip zipfile="${name}-${major}.${minor}.${patch}.${type}.tar.gz" 
+          src="${name}-${major}.${minor}.${patch}.${type}.tar"/>
+    
+    <delete file="${name}-${major}.${minor}.${patch}.${type}.tar"/>
+  </target>
+  
+  <!-- =================================================================== -->
+  <!-- Clean                                                               -->
+  <!-- =================================================================== -->
+  <target name="clean">
+    <delete>
+      <fileset dir="${basedir}" defaultexcludes="no">
+        <include name="**/*~" />
+        <include name="**/*.bak"/>
+      </fileset>
+    </delete>
+    <delete dir="${build.dir}"/>
+    <delete dir="${reports.dir}"/>
+    <delete dir="${target.dir}"/>
+    <delete dir="${doc.api.dir}"/>
+    <delete file="${name}-${major}.${minor}.${patch}.${type}.zip"/>
+    <delete file="${name}-${major}.${minor}.${patch}.${type}.tar.gz"/>
+    <delete file="${name}-${major}.${minor}.${patch}.${type}.tar.bz2"/>
+  </target>
+  
+  <!-- =================================================================== -->
+  <!-- clean-cache                                                         -->
+  <!-- =================================================================== -->
+  <target name="clean-cache">
+    <ivy:cleancache />
+  </target>
 </project>

Added: branches/JBossProfiler2/client/build.xml
===================================================================
--- branches/JBossProfiler2/client/build.xml	                        (rev 0)
+++ branches/JBossProfiler2/client/build.xml	2010-11-27 17:12:23 UTC (rev 593)
@@ -0,0 +1,64 @@
+<!--
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+-->
+<project name="profiler-client" 
+         default="compile" 
+         xmlns:ivy="antlib:org.apache.ivy.ant">
+
+  <!-- ================================= 
+       Properties              
+       ================================= -->
+  <property name="build.client.dir" value="${build.dir}/client" />
+
+  <!-- ================================= 
+       Target: compile
+       ================================= -->
+  <target name="compile">
+    <mkdir dir="${build.client.dir}" />
+    <mkdir dir="${build.client.dir}/impl" />
+
+    <javac srcdir="src/main/java"
+           destdir="${build.client.dir}/impl"
+           classpathref="class.path"
+           debug="${javac.debug}"
+           deprecation="${javac.deprecation}"
+           optimize="${javac.optimize}">
+      <compilerarg value="-Xlint"/>
+    </javac> 
+  </target>
+
+  <!-- ================================= 
+       Target: jars 
+       ================================= -->
+  <target name="jars" depends="compile">
+    <copy todir="${build.client.dir}/impl">
+      <fileset dir="src/main/resources">
+        <include name="jboss-profiler-client.properties"/>
+        <include name="style.css"/>
+      </fileset>
+    </copy>
+    
+    <jar destfile="${target.dir}/${jboss-profiler-client.jar}"
+         basedir="${build.client.dir}/impl"
+         manifest="src/main/resources/client-manifest.mf"/>
+  </target>
+
+</project>

Modified: branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/CombinedFrameComparator.java
===================================================================
--- branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/CombinedFrameComparator.java	2010-11-27 16:31:22 UTC (rev 592)
+++ branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/CombinedFrameComparator.java	2010-11-27 17:12:23 UTC (rev 593)
@@ -30,6 +30,8 @@
  */
 public class CombinedFrameComparator implements Comparator<CombinedFrameInfo>, Serializable
 {
+   /** Serial version uid */
+   private static final long serialVersionUID = 1L;
 
    /** Method: TOTAL TIME */
    public static final int TOTAL_TIME = 0;

Modified: branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/DifferenceUtil.java
===================================================================
--- branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/DifferenceUtil.java	2010-11-27 16:31:22 UTC (rev 592)
+++ branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/DifferenceUtil.java	2010-11-27 17:12:23 UTC (rev 593)
@@ -191,6 +191,7 @@
     * @param directory The directory
     * @exception Exception If an error occurs
     */
+   @SuppressWarnings("unchecked")
    protected void dumpMethods(Map<String, List<CombinedFrameInfo>> oInfo, Map<String, List<CombinedFrameInfo>> nInfo,
          String directory) throws Exception
    {

Modified: branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/SnapshotUtil.java
===================================================================
--- branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/SnapshotUtil.java	2010-11-27 16:31:22 UTC (rev 592)
+++ branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/SnapshotUtil.java	2010-11-27 17:12:23 UTC (rev 593)
@@ -86,6 +86,7 @@
     * @param snapshot The snapshot
     * @return The information
     */
+   @SuppressWarnings("unchecked")
    public Map<String, List<CombinedFrameInfo>> getInformation(Snapshot snapshot)
    {
       Map<String, Map<String, CombinedFrameInfo>> data = new HashMap<String, Map<String, CombinedFrameInfo>>();
@@ -595,6 +596,7 @@
     * @param w The writer
     * @exception Exception If an error occurs
     */
+   @SuppressWarnings("unchecked")
    protected void dumpMostTime(Map<String, List<CombinedFrameInfo>> info, Writer w) throws Exception
    {
       w.write("<h2>Most time</h2>" +
@@ -676,6 +678,7 @@
     * @param directory The directory
     * @exception Exception If an error occurs
     */
+   @SuppressWarnings("unchecked")
    protected void dumpMethods(Map<String, List<CombinedFrameInfo>> info, String directory) throws Exception
    {
 
@@ -782,6 +785,7 @@
     * @param directory The directory
     * @exception Exception If an error occurs
     */
+   @SuppressWarnings("unchecked")
    protected void dumpHotspots(Map<String, List<CombinedFrameInfo>> info, String directory) throws Exception
    {
 
@@ -890,6 +894,7 @@
     * @param w The writer
     * @exception Exception If an error occurs
     */
+   @SuppressWarnings("unchecked")
    protected void dumpHotspot(List<CombinedFrameInfo> hotspots, int max, boolean include, Writer w) throws Exception
    {
       w.write("<h2>Hotspots</h2>" +
@@ -987,6 +992,7 @@
     * @param w The file writer
     * @exception Exception If an error occurs
     */
+   @SuppressWarnings("unchecked")
    protected void dumpAllocations(Snapshot snapshot, Writer w) throws Exception
    {
       if (snapshot.getAllocations() != null &&
@@ -1043,6 +1049,7 @@
     * @param directory The directory
     * @exception Exception If an error occurs
     */
+   @SuppressWarnings("unchecked")
    protected void dumpClasses(List<TimedClassInfo> classes, Map<String, List<CombinedFrameInfo>> info,
          List<AllocationInfo> allocs, String directory) throws Exception
    {
@@ -1122,6 +1129,7 @@
     * @param directory The directory
     * @exception Exception If an error occurs
     */
+   @SuppressWarnings("unchecked")
    protected void dumpClass(TimedClassInfo tci, List<CombinedFrameInfo> cfs, List<AllocationInfo> allocs,
          String directory) throws Exception
    {
@@ -1269,6 +1277,7 @@
     * @param directory The directory
     * @exception Exception If an error occurs
     */
+   @SuppressWarnings("unchecked")
    protected void dumpPackages(Map<String, List<CombinedFrameInfo>> info, String directory) throws Exception
    {
       FileWriter fw = new FileWriter(directory +
@@ -1384,6 +1393,7 @@
     * @param directory The directory
     * @exception Exception If an error occurs
     */
+   @SuppressWarnings("unchecked")
    protected void dumpCaller(MethodRepository methodRepository, List<ThreadInfo> threads, String directory)
       throws Exception
    {
@@ -1519,6 +1529,7 @@
     * @param directory The directory
     * @exception Exception If an error occurs
     */
+   @SuppressWarnings("unchecked")
    protected void dumpWaitTime(List<TimedClassInfo> classes, String directory) throws Exception
    {
       Collections.sort(classes, new TimedClassComparator(TimedClassComparator.WAIT_TIME));
@@ -1606,6 +1617,7 @@
     * @param fi The frame
     * @param data The data
     */
+   @SuppressWarnings("unchecked")
    protected void getCallerInformation(MethodRepository mr, FrameInfo fi,
          Map<String, Map<String, CombinedFrameInfo>> data)
    {

Modified: branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/TimedClassComparator.java
===================================================================
--- branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/TimedClassComparator.java	2010-11-27 16:31:22 UTC (rev 592)
+++ branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/TimedClassComparator.java	2010-11-27 17:12:23 UTC (rev 593)
@@ -30,6 +30,8 @@
  */
 public class TimedClassComparator implements Comparator<TimedClassInfo>, Serializable
 {
+   /** Serial version uid */
+   private static final long serialVersionUID = 1L;
 
    /** Method: TOTAL TIME */
    public static final int TOTAL_TIME = 0;

Modified: branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/TimedClassInfo.java
===================================================================
--- branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/TimedClassInfo.java	2010-11-27 16:31:22 UTC (rev 592)
+++ branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/TimedClassInfo.java	2010-11-27 17:12:23 UTC (rev 593)
@@ -29,6 +29,8 @@
  */
 public class TimedClassInfo extends ClassInfo
 {
+   /** Serial version uid */
+   private static final long serialVersionUID = 1L;
 
    /** The time */
    private double time;

Modified: branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/precompiler/Precompiler.java
===================================================================
--- branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/precompiler/Precompiler.java	2010-11-27 16:31:22 UTC (rev 592)
+++ branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/precompiler/Precompiler.java	2010-11-27 17:12:23 UTC (rev 593)
@@ -67,7 +67,7 @@
    private static List<String> excludeList = new ArrayList<String>();
 
    /** Visibility tree */
-   private static TreeMap visibilityTree;
+   private static TreeMap<String, Visibility> visibilityTree;
 
    /** Visibility */
    private static Visibility visibility;
@@ -325,7 +325,7 @@
    private static void initVisibility(String vs)
    {
       visibility = parseVisibility(vs);
-      visibilityTree = new TreeMap(new SizeComparator());
+      visibilityTree = new TreeMap<String, Visibility>(new SizeComparator());
    }
 
    /**

Modified: branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/precompiler/SizeComparator.java
===================================================================
--- branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/precompiler/SizeComparator.java	2010-11-27 16:31:22 UTC (rev 592)
+++ branches/JBossProfiler2/client/src/main/java/org/jboss/profiler/client/precompiler/SizeComparator.java	2010-11-27 17:12:23 UTC (rev 593)
@@ -30,6 +30,8 @@
  */
 public class SizeComparator implements Comparator<String>, Serializable
 {
+   /** Serial version uid */
+   private static final long serialVersionUID = 1L;
 
    /**
     * Compare two objects

Added: branches/JBossProfiler2/client/src/main/resources/style.css
===================================================================
--- branches/JBossProfiler2/client/src/main/resources/style.css	                        (rev 0)
+++ branches/JBossProfiler2/client/src/main/resources/style.css	2010-11-27 17:12:23 UTC (rev 593)
@@ -0,0 +1,147 @@
+/*
+ * JBoss Tattletale
+ * Copyright (C) 2009 Red Hat Middleware LLC.
+ * All rights reserved.
+ * 
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+html {
+    height: 100%;
+    min-height: 100%;
+    background-color : #ffffff;
+    color : #454545;
+    border-collapse : collapse; 
+    border-style: none;
+    margin : 0px auto; 
+    padding: 0px;
+}
+
+body {
+    background-color : #ffffff;
+    color : #454545;
+    margin : 0px auto; 
+    text-align : left;
+    font-family : "Lucida Grand", Verdana, Arial, Helvetica, sans-serif;
+    font-size: 10pt;
+    border-collapse : collapse; 
+    border-style: none;
+    padding: 5px;
+}
+
+p {
+    margin: 5px;
+}
+
+a {
+    color: #527fa8;
+}
+
+hr {
+    border-top: 1px solid #a4b2b9;
+    border-right: 0px solid #a4b2b9;
+    border-left: 0px solid #a4b2b9;
+    border-bottom: 0px solid #a4b2b9;
+    margin-bottom: 3px;
+}
+
+img {
+    border: 0px;
+}
+
+h1 {
+    font-family : "Lucida Grand", Verdana, Arial, Helvetica, sans-serif;
+    font-size : 14pt; 
+    font-weight : bold; 
+    background-color: white;
+    color: #50667c;
+}
+
+h2 {
+    font-family : "Lucida Grand", Verdana, Arial, Helvetica, sans-serif;
+    font-size : 11pt; 
+    font-weight : bold; 
+    background-color: white;
+    color: #50667c;
+}
+
+h3 {
+    font-family : "Lucida Grand", Verdana, Arial, Helvetica, sans-serif;
+    font-size : 11pt; 
+    font-weight : bold; 
+    background-color: white;
+    color: #50667c;
+}
+
+h4 {
+    font-family : "Lucida Grand", Verdana, Arial, Helvetica, sans-serif;
+    font-size : 10pt; 
+    font-weight : bold; 
+    background-color: white;
+    color: #50667c;
+}
+
+h5 {
+    font-family : "Lucida Grand", Verdana, Arial, Helvetica, sans-serif;
+    font-size : 10pt; 
+    font-weight : bold; 
+    background-color: white;
+    color: #50667c;
+}
+
+h6 {
+    font-family : "Lucida Grand", Verdana, Arial, Helvetica, sans-serif;
+    font-size : 10pt; 
+    font-weight : bold; 
+    background-color: white;
+    color: #50667c;
+}
+
+table {
+    width: 100%;
+    border-collapse : collapse; 
+    border-style: none;
+}
+
+tr th {
+    background-color: #d9e0e3;
+    font-size: 10pt;
+    font-weight: bold;
+    color: #5f6a6f;
+    text-align: left;
+    padding: 3px;
+}
+
+tr td {
+    font-size: 10pt;
+    font-weight: bold;
+    vertical-align: top;
+    text-align: left;
+    padding: 3px;
+}
+
+.roweven {
+    background-color: white;
+}
+
+.rowodd {
+    background-color: #eff4f7;
+}

Added: branches/JBossProfiler2/core/build.xml
===================================================================
--- branches/JBossProfiler2/core/build.xml	                        (rev 0)
+++ branches/JBossProfiler2/core/build.xml	2010-11-27 17:12:23 UTC (rev 593)
@@ -0,0 +1,62 @@
+<!--
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+-->
+<project name="profiler-core" 
+         default="compile" 
+         xmlns:ivy="antlib:org.apache.ivy.ant">
+
+  <!-- ================================= 
+       Properties              
+       ================================= -->
+  <property name="build.core.dir" value="${build.dir}/core" />
+
+  <!-- ================================= 
+       Target: compile
+       ================================= -->
+  <target name="compile">
+    <mkdir dir="${build.core.dir}" />
+    <mkdir dir="${build.core.dir}/impl" />
+
+    <javac srcdir="src/main/java"
+           destdir="${build.core.dir}/impl"
+           classpathref="class.path"
+           debug="${javac.debug}"
+           deprecation="${javac.deprecation}"
+           optimize="${javac.optimize}">
+      <compilerarg value="-Xlint"/>
+    </javac> 
+  </target>
+
+  <!-- ================================= 
+       Target: jars 
+       ================================= -->
+  <target name="jars" depends="compile">
+    <copy todir="${build.core.dir}/impl">
+      <fileset dir="src/main/resources">
+        <include name="**/jboss-profiler.properties"/>
+      </fileset>
+    </copy>
+    <jar destfile="${target.dir}/${jboss-profiler.jar}"
+         basedir="${build.core.dir}/impl"
+         manifest="src/main/resources/agent-manifest.mf"/>
+  </target>
+
+</project>

Modified: branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/agent/Agent.java
===================================================================
--- branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/agent/Agent.java	2010-11-27 16:31:22 UTC (rev 592)
+++ branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/agent/Agent.java	2010-11-27 17:12:23 UTC (rev 593)
@@ -113,7 +113,7 @@
    private static Visibility visibility;
 
    /** Visibility tree */
-   private static TreeMap visibilityTree;
+   private static TreeMap<String, Visibility> visibilityTree;
 
    /** Save */
    private static boolean save = true;
@@ -215,7 +215,7 @@
 
       String vs = properties.getProperty("visibility", "private");
       visibility = parseVisibility(vs);
-      visibilityTree = new TreeMap(new SizeComparator());
+      visibilityTree = new TreeMap<String, Visibility>(new SizeComparator());
 
       ejb = parseBoolean(properties.getProperty("ejb"), true);
       servlet = parseBoolean(properties.getProperty("servlet"), true);
@@ -1026,6 +1026,7 @@
     * @param args The arguments
     * @param inst The instrumentation
     */
+   @SuppressWarnings("unchecked")
    private static void boot(String args, Instrumentation inst)
    {
       parseConfiguration();
@@ -1181,8 +1182,7 @@
          }
       }
 
-      if (remote &&
-            !remoteInit && !quite)
+      if (remote && !remoteInit && !quite)
       {
          System.out.println("JBoss Profiler depends on external communication module");
       }

Modified: branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/agent/ProfilerThreadImpl.java
===================================================================
--- branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/agent/ProfilerThreadImpl.java	2010-11-27 16:31:22 UTC (rev 592)
+++ branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/agent/ProfilerThreadImpl.java	2010-11-27 17:12:23 UTC (rev 593)
@@ -115,7 +115,7 @@
 
       if (parent != null)
       {
-         fi = (FrameInfo)parent.getChild(mi);
+         fi = parent.getChild(mi);
 
          if (fi == null)
          {

Modified: branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/agent/SizeComparator.java
===================================================================
--- branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/agent/SizeComparator.java	2010-11-27 16:31:22 UTC (rev 592)
+++ branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/agent/SizeComparator.java	2010-11-27 17:12:23 UTC (rev 593)
@@ -30,6 +30,8 @@
  */
 public class SizeComparator implements Comparator<String>, Serializable
 {
+   /** Serial version uid */
+   private static final long serialVersionUID = 1L;
 
    /**
     * Compare two objects

Modified: branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/AllocationComparator.java
===================================================================
--- branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/AllocationComparator.java	2010-11-27 16:31:22 UTC (rev 592)
+++ branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/AllocationComparator.java	2010-11-27 17:12:23 UTC (rev 593)
@@ -30,6 +30,8 @@
  */
 public class AllocationComparator implements Comparator<AllocationInfo>, Serializable
 {
+   /** Serial version uid */
+   private static final long serialVersionUID = 1L;
 
    /**
     * Compare two objects

Modified: branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/ClassComparator.java
===================================================================
--- branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/ClassComparator.java	2010-11-27 16:31:22 UTC (rev 592)
+++ branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/ClassComparator.java	2010-11-27 17:12:23 UTC (rev 593)
@@ -30,6 +30,8 @@
  */
 public class ClassComparator implements Comparator<ClassInfo>, Serializable
 {
+   /** Serial version uid */
+   private static final long serialVersionUID = 1L;
 
    /**
     * Compare two objects

Modified: branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/FrameComparator.java
===================================================================
--- branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/FrameComparator.java	2010-11-27 16:31:22 UTC (rev 592)
+++ branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/FrameComparator.java	2010-11-27 17:12:23 UTC (rev 593)
@@ -30,6 +30,8 @@
  */
 public class FrameComparator implements Comparator<FrameInfo>, Serializable
 {
+   /** Serial version uid */
+   private static final long serialVersionUID = 1L;
 
    /**
     * Compare two objects

Modified: branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/ThreadComparator.java
===================================================================
--- branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/ThreadComparator.java	2010-11-27 16:31:22 UTC (rev 592)
+++ branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/ThreadComparator.java	2010-11-27 17:12:23 UTC (rev 593)
@@ -30,6 +30,8 @@
  */
 public class ThreadComparator implements Comparator<ThreadInfo>, Serializable
 {
+   /** Serial version uid */
+   private static final long serialVersionUID = 1L;
 
    /**
     * Compare two objects

Modified: branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/ThreadHelper.java
===================================================================
--- branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/ThreadHelper.java	2010-11-27 16:31:22 UTC (rev 592)
+++ branches/JBossProfiler2/core/src/main/java/org/jboss/profiler/shared/ThreadHelper.java	2010-11-27 17:12:23 UTC (rev 593)
@@ -51,6 +51,7 @@
     * @return The thread
     * @exception IOException If an error occurs
     */
+   @SuppressWarnings("unchecked")
    public static ThreadInfo load(File directory) throws IOException
    {
       ThreadInfo ti = null;


Property changes on: branches/JBossProfiler2/lib
___________________________________________________________________
Name: svn:ignore
   - core
test


   + core
test
web





More information about the jboss-cvs-commits mailing list