Finally got the visual VM build working

This commit is contained in:
Martin Hare Robertson 2010-08-05 23:58:30 +01:00
parent c7e8b397f2
commit 801f68f481
53 changed files with 5 additions and 408 deletions

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
<!-- for some information on what you could do (e.g. targets to override). -->
<!-- If you delete this file and reopen the project it will be recreated. -->
<project name="org.intrace.agent" default="netbeans" basedir=".">
<description>Builds, tests, and runs the project org.intrace.agent.</description>
<import file="nbproject/build-impl.xml"/>
</project>

View File

@ -1,5 +0,0 @@
Manifest-Version: 1.0
OpenIDE-Module: org.intrace.agent
OpenIDE-Module-Localizing-Bundle: org/intrace/agent/Bundle.properties
OpenIDE-Module-Specification-Version: 1.0

View File

@ -1,45 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
*** GENERATED FROM project.xml - DO NOT EDIT ***
*** EDIT ../build.xml INSTEAD ***
-->
<project name="org.intrace.agent-impl" basedir="..">
<fail message="Please build using Ant 1.7.1 or higher.">
<condition>
<not>
<antversion atleast="1.7.1"/>
</not>
</condition>
</fail>
<property file="nbproject/private/suite-private.properties"/>
<property file="nbproject/suite.properties"/>
<fail unless="suite.dir">You must set 'suite.dir' to point to your containing module suite</fail>
<property file="${suite.dir}/nbproject/private/platform-private.properties"/>
<property file="${suite.dir}/nbproject/platform.properties"/>
<macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-project/2">
<attribute name="name"/>
<attribute name="value"/>
<sequential>
<property name="@{name}" value="${@{value}}"/>
</sequential>
</macrodef>
<macrodef name="evalprops" uri="http://www.netbeans.org/ns/nb-module-project/2">
<attribute name="property"/>
<attribute name="value"/>
<sequential>
<property name="@{property}" value="@{value}"/>
</sequential>
</macrodef>
<property file="${user.properties.file}"/>
<nbmproject2:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
<nbmproject2:property name="nbplatform.active.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
<nbmproject2:evalprops property="cluster.path.evaluated" value="${cluster.path}" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
<fail message="Path to 'platform' cluster missing in $${cluster.path} property or using corrupt Netbeans Platform (missing harness).">
<condition>
<not>
<contains string="${cluster.path.evaluated}" substring="platform"/>
</not>
</condition>
</fail>
<import file="${harness.dir}/build.xml"/>
</project>

View File

@ -1,30 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.apisupport.project</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
<code-name-base>org.intrace.agent</code-name-base>
<suite-component/>
<module-dependencies/>
<public-packages>
<package>org.intrace.agent</package>
<package>org.intrace.agent.server</package>
<package>org.intrace.internal.objectweb.asm</package>
<package>org.intrace.internal.objectweb.asm.commons</package>
<package>org.intrace.internal.objectweb.asm.signature</package>
<package>org.intrace.internal.objectweb.asm.tree</package>
<package>org.intrace.internal.objectweb.asm.tree.analysis</package>
<package>org.intrace.internal.objectweb.asm.util</package>
<package>org.intrace.internal.objectweb.asm.xml</package>
<package>org.intrace.output</package>
<package>org.intrace.output.callers</package>
<package>org.intrace.output.trace</package>
<package>org.intrace.shared</package>
</public-packages>
<class-path-extension>
<runtime-relative-path>ext/intrace-agent.jar</runtime-relative-path>
<binary-origin>release/modules/ext/intrace-agent.jar</binary-origin>
</class-path-extension>
</data>
</configuration>
</project>

View File

@ -1 +0,0 @@
suite.dir=${basedir}/..

View File

@ -1 +0,0 @@
OpenIDE-Module-Name=InTrace: Agent (Required)

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
<!-- for some information on what you could do (e.g. targets to override). -->
<!-- If you delete this file and reopen the project it will be recreated. -->
<project name="org.intrace.client.gui" default="netbeans" basedir=".">
<description>Builds, tests, and runs the project org.intrace.client.gui.</description>
<import file="nbproject/build-impl.xml"/>
</project>

View File

@ -1,5 +0,0 @@
Manifest-Version: 1.0
OpenIDE-Module: org.intrace.client.gui
OpenIDE-Module-Localizing-Bundle: org/intrace/client/gui/Bundle.properties
OpenIDE-Module-Specification-Version: 1.0

View File

@ -1,45 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
*** GENERATED FROM project.xml - DO NOT EDIT ***
*** EDIT ../build.xml INSTEAD ***
-->
<project name="org.intrace.client.gui-impl" basedir="..">
<fail message="Please build using Ant 1.7.1 or higher.">
<condition>
<not>
<antversion atleast="1.7.1"/>
</not>
</condition>
</fail>
<property file="nbproject/private/suite-private.properties"/>
<property file="nbproject/suite.properties"/>
<fail unless="suite.dir">You must set 'suite.dir' to point to your containing module suite</fail>
<property file="${suite.dir}/nbproject/private/platform-private.properties"/>
<property file="${suite.dir}/nbproject/platform.properties"/>
<macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-project/2">
<attribute name="name"/>
<attribute name="value"/>
<sequential>
<property name="@{name}" value="${@{value}}"/>
</sequential>
</macrodef>
<macrodef name="evalprops" uri="http://www.netbeans.org/ns/nb-module-project/2">
<attribute name="property"/>
<attribute name="value"/>
<sequential>
<property name="@{property}" value="@{value}"/>
</sequential>
</macrodef>
<property file="${user.properties.file}"/>
<nbmproject2:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
<nbmproject2:property name="nbplatform.active.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
<nbmproject2:evalprops property="cluster.path.evaluated" value="${cluster.path}" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
<fail message="Path to 'platform' cluster missing in $${cluster.path} property or using corrupt Netbeans Platform (missing harness).">
<condition>
<not>
<contains string="${cluster.path.evaluated}" substring="platform"/>
</not>
</condition>
</fail>
<import file="${harness.dir}/build.xml"/>
</project>

View File

@ -1,5 +0,0 @@
cluster.path=\
${nbplatform.active.dir}/platform:\
${nbplatform.active.dir}/profiler:\
${nbplatform.active.dir}/visualvm
nbplatform.active=VisualVM_1.2.2

View File

@ -1,46 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.apisupport.project</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
<code-name-base>org.intrace.client.gui</code-name-base>
<suite-component/>
<module-dependencies/>
<public-packages>
<package>net.miginfocom.layout</package>
<package>net.miginfocom.swt</package>
<package>org.eclipse.swt</package>
<package>org.eclipse.swt.accessibility</package>
<package>org.eclipse.swt.awt</package>
<package>org.eclipse.swt.browser</package>
<package>org.eclipse.swt.custom</package>
<package>org.eclipse.swt.dnd</package>
<package>org.eclipse.swt.events</package>
<package>org.eclipse.swt.graphics</package>
<package>org.eclipse.swt.internal</package>
<package>org.eclipse.swt.internal.accessibility.gtk</package>
<package>org.eclipse.swt.internal.cairo</package>
<package>org.eclipse.swt.internal.cde</package>
<package>org.eclipse.swt.internal.gnome</package>
<package>org.eclipse.swt.internal.gtk</package>
<package>org.eclipse.swt.internal.image</package>
<package>org.eclipse.swt.internal.mozilla</package>
<package>org.eclipse.swt.internal.mozilla.init</package>
<package>org.eclipse.swt.internal.opengl.glx</package>
<package>org.eclipse.swt.internal.theme</package>
<package>org.eclipse.swt.layout</package>
<package>org.eclipse.swt.opengl</package>
<package>org.eclipse.swt.printing</package>
<package>org.eclipse.swt.program</package>
<package>org.eclipse.swt.widgets</package>
<package>org.intrace.client.gui</package>
<package>org.intrace.client.gui.helper</package>
<package>org.intrace.shared</package>
</public-packages>
<class-path-extension>
<runtime-relative-path>ext/intrace-client-gui-linux.jar</runtime-relative-path>
<binary-origin>release/modules/ext/intrace-client-gui-linux.jar</binary-origin>
</class-path-extension>
</data>
</configuration>
</project>

View File

@ -1 +0,0 @@
suite.dir=${basedir}/..

View File

@ -1 +0,0 @@
OpenIDE-Module-Name=InTrace: Client (Linux)

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
<!-- for some information on what you could do (e.g. targets to override). -->
<!-- If you delete this file and reopen the project it will be recreated. -->
<project name="org.intrace.client" default="netbeans" basedir=".">
<description>Builds, tests, and runs the project org.intrace.client.</description>
<import file="nbproject/build-impl.xml"/>
</project>

View File

@ -1,5 +0,0 @@
Manifest-Version: 1.0
OpenIDE-Module: org.intrace.client
OpenIDE-Module-Localizing-Bundle: org/intrace/client/Bundle.properties
OpenIDE-Module-Specification-Version: 1.0

View File

@ -1,45 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
*** GENERATED FROM project.xml - DO NOT EDIT ***
*** EDIT ../build.xml INSTEAD ***
-->
<project name="org.intrace.client-impl" basedir="..">
<fail message="Please build using Ant 1.7.1 or higher.">
<condition>
<not>
<antversion atleast="1.7.1"/>
</not>
</condition>
</fail>
<property file="nbproject/private/suite-private.properties"/>
<property file="nbproject/suite.properties"/>
<fail unless="suite.dir">You must set 'suite.dir' to point to your containing module suite</fail>
<property file="${suite.dir}/nbproject/private/platform-private.properties"/>
<property file="${suite.dir}/nbproject/platform.properties"/>
<macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-project/2">
<attribute name="name"/>
<attribute name="value"/>
<sequential>
<property name="@{name}" value="${@{value}}"/>
</sequential>
</macrodef>
<macrodef name="evalprops" uri="http://www.netbeans.org/ns/nb-module-project/2">
<attribute name="property"/>
<attribute name="value"/>
<sequential>
<property name="@{property}" value="@{value}"/>
</sequential>
</macrodef>
<property file="${user.properties.file}"/>
<nbmproject2:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
<nbmproject2:property name="nbplatform.active.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
<nbmproject2:evalprops property="cluster.path.evaluated" value="${cluster.path}" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
<fail message="Path to 'platform' cluster missing in $${cluster.path} property or using corrupt Netbeans Platform (missing harness).">
<condition>
<not>
<contains string="${cluster.path.evaluated}" substring="platform"/>
</not>
</condition>
</fail>
<import file="${harness.dir}/build.xml"/>
</project>

View File

@ -1,5 +0,0 @@
cluster.path=\
${nbplatform.active.dir}/platform:\
${nbplatform.active.dir}/profiler:\
${nbplatform.active.dir}/visualvm
nbplatform.active=VisualVM_1.2.2

View File

@ -1,45 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.apisupport.project</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
<code-name-base>org.intrace.client</code-name-base>
<suite-component/>
<module-dependencies/>
<public-packages>
<package>net.miginfocom.layout</package>
<package>net.miginfocom.swt</package>
<package>org.eclipse.swt</package>
<package>org.eclipse.swt.accessibility</package>
<package>org.eclipse.swt.awt</package>
<package>org.eclipse.swt.browser</package>
<package>org.eclipse.swt.custom</package>
<package>org.eclipse.swt.dnd</package>
<package>org.eclipse.swt.events</package>
<package>org.eclipse.swt.graphics</package>
<package>org.eclipse.swt.internal</package>
<package>org.eclipse.swt.internal.gdip</package>
<package>org.eclipse.swt.internal.image</package>
<package>org.eclipse.swt.internal.mozilla</package>
<package>org.eclipse.swt.internal.mozilla.init</package>
<package>org.eclipse.swt.internal.ole.win32</package>
<package>org.eclipse.swt.internal.opengl.win32</package>
<package>org.eclipse.swt.internal.theme</package>
<package>org.eclipse.swt.internal.win32</package>
<package>org.eclipse.swt.layout</package>
<package>org.eclipse.swt.ole.win32</package>
<package>org.eclipse.swt.opengl</package>
<package>org.eclipse.swt.printing</package>
<package>org.eclipse.swt.program</package>
<package>org.eclipse.swt.widgets</package>
<package>org.intrace.client.gui</package>
<package>org.intrace.client.gui.helper</package>
<package>org.intrace.shared</package>
</public-packages>
<class-path-extension>
<runtime-relative-path>ext/intrace-client-gui-win.jar</runtime-relative-path>
<binary-origin>release/modules/ext/intrace-client-gui-win.jar</binary-origin>
</class-path-extension>
</data>
</configuration>
</project>

View File

@ -1 +0,0 @@
suite.dir=${basedir}/..

View File

@ -1 +0,0 @@
OpenIDE-Module-Name=InTrace: Client (Windows)

View File

@ -1,5 +0,0 @@
cluster.path=\
${nbplatform.active.dir}/platform:\
${nbplatform.active.dir}/profiler:\
${nbplatform.active.dir}/visualvm
nbplatform.active=VisualVM_1.2.2

View File

@ -1 +0,0 @@
suite.dir=${basedir}/..

View File

@ -1 +0,0 @@
OpenIDE-Module-Name=InTrace: VisualVM Plugin

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
<!-- for some information on what you could do (e.g. targets to override). -->
<!-- If you delete this file and reopen the project it will be recreated. -->
<project name="InTrace-VisualVM-Container" basedir=".">
<description>Builds the module suite InTrace-VisualVM-Container.</description>
<import file="nbproject/build-impl.xml"/>
</project>

View File

@ -1,49 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
*** GENERATED FROM project.xml - DO NOT EDIT ***
*** EDIT ../build.xml INSTEAD ***
-->
<project name="InTrace-VisualVM-Container-impl" basedir=".." xmlns:sproject="http://www.netbeans.org/ns/nb-module-suite-project/1">
<fail message="Please build using Ant 1.7.1 or higher.">
<condition>
<not>
<antversion atleast="1.7.1"/>
</not>
</condition>
</fail>
<property file="nbproject/private/platform-private.properties"/>
<property file="nbproject/platform.properties"/>
<macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-suite-project/1">
<attribute name="name"/>
<attribute name="value"/>
<sequential>
<property name="@{name}" value="${@{value}}"/>
</sequential>
</macrodef>
<macrodef name="evalprops" uri="http://www.netbeans.org/ns/nb-module-suite-project/1">
<attribute name="property"/>
<attribute name="value"/>
<sequential>
<property name="@{property}" value="@{value}"/>
</sequential>
</macrodef>
<property file="${user.properties.file}"/>
<sproject:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir"/>
<sproject:property name="nbplatform.active.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir"/>
<sproject:evalprops property="cluster.path.evaluated" value="${cluster.path}"/>
<fail message="Path to 'platform' cluster missing in $${cluster.path} property or using corrupt Netbeans Platform (missing harness).">
<condition>
<not>
<contains string="${cluster.path.evaluated}" substring="platform"/>
</not>
</condition>
</fail>
<fail message="Cannot find NetBeans build harness. ${line.separator}Check that nbplatform.${nbplatform.active}.netbeans.dest.dir and nbplatform.${nbplatform.active}.harness.dir are defined. ${line.separator}On a developer machine these are normally defined in ${user.properties.file}=${netbeans.user}/build.properties ${line.separator}but for automated builds you should pass these properties to Ant explicitly.">
<condition>
<not>
<available type="dir" file="${harness.dir}"/>
</not>
</condition>
</fail>
<import file="${harness.dir}/suite.xml"/>
</project>

View File

@ -1,5 +0,0 @@
cluster.path=\
${nbplatform.active.dir}/platform:\
${nbplatform.active.dir}/profiler:\
${nbplatform.active.dir}/visualvm
nbplatform.active=VisualVM_1.2.2

View File

@ -1,9 +0,0 @@
modules=\
${project.org.intrace.visualvm}:\
${project.org.intrace.client}:\
${project.org.intrace.client.gui}:\
${project.org.intrace.agent}
project.org.intrace.agent=InTrace-Agent
project.org.intrace.client=InTrace-Client-Windows
project.org.intrace.client.gui=InTrace-Client-Linux
project.org.intrace.visualvm=InTrace-VisualVM-Plugin

View File

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.apisupport.project.suite</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/nb-module-suite-project/1">
<name>InTrace-VisualVM-Container</name>
</data>
</configuration>
</project>

View File

@ -4,4 +4,4 @@ OpenIDE-Module-Install: org/intrace/visualvm/Installer.class
OpenIDE-Module-Layer: org/intrace/visualvm/layer.xml
OpenIDE-Module-Localizing-Bundle: org/intrace/visualvm/Bundle.properties
OpenIDE-Module-Specification-Version: 1.0
OpenIDE-Module-Name: InTrace Launcher
OpenIDE-Module-Name: InTrace: VisualVM Plugin

View File

@ -11,11 +11,8 @@
</not>
</condition>
</fail>
<property file="nbproject/private/suite-private.properties"/>
<property file="nbproject/suite.properties"/>
<fail unless="suite.dir">You must set 'suite.dir' to point to your containing module suite</fail>
<property file="${suite.dir}/nbproject/private/platform-private.properties"/>
<property file="${suite.dir}/nbproject/platform.properties"/>
<property file="nbproject/private/platform-private.properties"/>
<property file="nbproject/platform.properties"/>
<macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-project/2">
<attribute name="name"/>
<attribute name="value"/>

View File

@ -4,7 +4,7 @@
<configuration>
<data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
<code-name-base>org.intrace.visualvm</code-name-base>
<suite-component/>
<standalone/>
<module-dependencies>
<dependency>
<code-name-base>com.sun.tools.visualvm.application</code-name-base>

View File

@ -0,0 +1 @@
OpenIDE-Module-Name=InTrace: Visual VM Plugin