Index: nbbuild/build.xml
===================================================================
RCS file: /cvs/nbbuild/build.xml,v
retrieving revision 1.709
diff -u -r1.709 build.xml
--- nbbuild/build.xml 6 Oct 2005 08:57:47 -0000 1.709
+++ nbbuild/build.xml 7 Oct 2005 09:44:33 -0000
@@ -791,6 +791,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: apisupport/harness/release/build.xml
===================================================================
RCS file: /cvs/apisupport/harness/release/build.xml,v
retrieving revision 1.6
diff -u -r1.6 build.xml
--- apisupport/harness/release/build.xml 21 Sep 2005 04:18:20 -0000 1.6
+++ apisupport/harness/release/build.xml 7 Oct 2005 09:44:33 -0000
@@ -147,6 +147,10 @@
+
+
+
+
Index: apisupport/harness/release/run.xml
===================================================================
RCS file: /cvs/apisupport/harness/release/run.xml,v
retrieving revision 1.9
diff -u -r1.9 run.xml
--- apisupport/harness/release/run.xml 4 Oct 2005 05:43:12 -0000 1.9
+++ apisupport/harness/release/run.xml 7 Oct 2005 09:44:33 -0000
@@ -137,4 +137,74 @@
+
+
+
+
+ This target only works when run from inside the NetBeans IDE.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: apisupport/harness/release/suite.xml
===================================================================
RCS file: /cvs/apisupport/harness/release/suite.xml,v
retrieving revision 1.18
diff -u -r1.18 suite.xml
--- apisupport/harness/release/suite.xml 29 Sep 2005 13:21:48 -0000 1.18
+++ apisupport/harness/release/suite.xml 7 Oct 2005 09:44:33 -0000
@@ -149,6 +149,10 @@
+
+
+
+
Index: apisupport/project/src/org/netbeans/modules/apisupport/project/ui/ModuleActions.java
===================================================================
RCS file: /cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/ModuleActions.java,v
retrieving revision 1.10
diff -u -r1.10 ModuleActions.java
--- apisupport/project/src/org/netbeans/modules/apisupport/project/ui/ModuleActions.java 30 Sep 2005 23:31:27 -0000 1.10
+++ apisupport/project/src/org/netbeans/modules/apisupport/project/ui/ModuleActions.java 7 Oct 2005 09:44:34 -0000
@@ -200,6 +200,7 @@
globalCommands.put(ActionProvider.COMMAND_REBUILD, new String[] {"clean", "netbeans"}); // NOI18N
globalCommands.put(ActionProvider.COMMAND_DEBUG, new String[] {"debug"}); // NOI18N
globalCommands.put(ActionProvider.COMMAND_RUN, new String[] {"reload"}); // NOI18N
+ globalCommands.put("profile", new String[] {"profile"}); // NOI18N
globalCommands.put(JavaProjectConstants.COMMAND_JAVADOC, new String[] {"javadoc-nb"}); // NOI18N
if (project.supportsUnitTests()) {
globalCommands.put(ActionProvider.COMMAND_TEST, new String[] {"test"}); // NOI18N
Index: apisupport/project/src/org/netbeans/modules/apisupport/project/ui/SuiteActions.java
===================================================================
RCS file: /cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/SuiteActions.java,v
retrieving revision 1.9
diff -u -r1.9 SuiteActions.java
--- apisupport/project/src/org/netbeans/modules/apisupport/project/ui/SuiteActions.java 28 Sep 2005 06:13:20 -0000 1.9
+++ apisupport/project/src/org/netbeans/modules/apisupport/project/ui/SuiteActions.java 7 Oct 2005 09:44:35 -0000
@@ -128,6 +128,7 @@
"build-jnlp", // NOI18N
"run-jnlp", // NOI18N
"debug-jnlp", // NOI18N
+ "profile" // NOI18N
};
}
@@ -179,9 +180,11 @@
return null;
}
targetNames = new String[] {"debug-jnlp"}; // NOI18N
+ } else if (command.equals("profile")) { // NOI18N
+ targetNames = new String[] {"profile"}; // NOI18N
} else {
throw new IllegalArgumentException(command);
- }
+ }
return ActionUtils.runTarget(findBuildXml(project), targetNames, null);
}