Skip to content

Commit 6ccc26e

Browse files
committed
GH-619 Moving killapp from samples to core tool
1 parent cf60186 commit 6ccc26e

File tree

12 files changed

+49
-30
lines changed

12 files changed

+49
-30
lines changed

samples/killapp/nbproject/build-impl.xml

Lines changed: 0 additions & 27 deletions
This file was deleted.

samples/killapp/nbproject/platform.properties

Lines changed: 0 additions & 2 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
*** GENERATED FROM project.xml - DO NOT EDIT ***
4+
*** EDIT ../build.xml INSTEAD ***
5+
-->
6+
<project name="org.graalvm.visualvm.killapp-impl" basedir="..">
7+
<fail message="Please build using Ant 1.7.1 or higher.">
8+
<condition>
9+
<not>
10+
<antversion atleast="1.7.1"/>
11+
</not>
12+
</condition>
13+
</fail>
14+
<property file="nbproject/private/suite-private.properties"/>
15+
<property file="nbproject/suite.properties"/>
16+
<fail unless="suite.dir">You must set 'suite.dir' to point to your containing module suite</fail>
17+
<property file="${suite.dir}/nbproject/private/platform-private.properties"/>
18+
<property file="${suite.dir}/nbproject/platform.properties"/>
19+
<macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-project/2">
20+
<attribute name="name"/>
21+
<attribute name="value"/>
22+
<sequential>
23+
<property name="@{name}" value="${@{value}}"/>
24+
</sequential>
25+
</macrodef>
26+
<macrodef name="evalprops" uri="http://www.netbeans.org/ns/nb-module-project/2">
27+
<attribute name="property"/>
28+
<attribute name="value"/>
29+
<sequential>
30+
<property name="@{property}" value="@{value}"/>
31+
</sequential>
32+
</macrodef>
33+
<property file="${user.properties.file}"/>
34+
<nbmproject2:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
35+
<nbmproject2:property name="nbplatform.active.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
36+
<nbmproject2:evalprops property="cluster.path.evaluated" value="${cluster.path}" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
37+
<fail message="Path to 'platform' cluster missing in $${cluster.path} property or using corrupt Netbeans Platform (missing harness).">
38+
<condition>
39+
<not>
40+
<contains string="${cluster.path.evaluated}" substring="platform"/>
41+
</not>
42+
</condition>
43+
</fail>
44+
<import file="${harness.dir}/build.xml"/>
45+
</project>

samples/killapp/nbproject/project.xml renamed to visualvm/killapp/nbproject/project.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<configuration>
55
<data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
66
<code-name-base>org.graalvm.visualvm.modules.killapp</code-name-base>
7-
<standalone/>
7+
<suite-component/>
88
<module-dependencies>
99
<dependency>
1010
<code-name-base>org.graalvm.visualvm.application</code-name-base>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
suite.dir=${basedir}/..

0 commit comments

Comments
 (0)