JBoss Tools SVN: r32455 - trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2011-06-29 13:19:50 -0400 (Wed, 29 Jun 2011)
New Revision: 32455
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/SeamUiAllTests.java
Log:
https://issues.jboss.org/browse/JBIDE-8008
Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/SeamUiAllTests.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/SeamUiAllTests.java 2011-06-29 16:50:25 UTC (rev 32454)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/SeamUiAllTests.java 2011-06-29 17:19:50 UTC (rev 32455)
@@ -57,7 +57,7 @@
suite.addTestSuite(ELExprPartitionerTest.class);
suite.addTestSuite(OpenSeamComponentDialogTest.class);
suite.addTest(SeamComponentsViewAllTests.suite());
-// suite.addTest(SeamProjectNewWizardTest.suite());
+ suite.addTest(SeamProjectNewWizardTest.suite());
suite.addTest(new ProjectImportTestSetup(new TestSuite(SeamActionNewWizardTest.class), "org.jboss.tools.seam.base.test", new String[]{"projects/Test1-ear", "projects/Test1-ejb", "projects/Test1"}, new String[]{"Test1-ear", "Test1-ejb", "Test1"}));
14 years, 6 months
JBoss Tools SVN: r32454 - trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-06-29 12:50:25 -0400 (Wed, 29 Jun 2011)
New Revision: 32454
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/Libs.java
Log:
JBIDE-8338
https://issues.jboss.org/browse/JBIDE-8338
Debug printing removed
Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/Libs.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/Libs.java 2011-06-29 16:04:01 UTC (rev 32453)
+++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/Libs.java 2011-06-29 16:50:25 UTC (rev 32454)
@@ -248,7 +248,6 @@
}
}
if(p == null) return;
- System.out.println("--->" + p);
int f = p.getFlags();
if((f & (IJavaElementDelta.F_CLASSPATH_CHANGED
| IJavaElementDelta.F_RESOLVED_CLASSPATH_CHANGED)) != 0) {
14 years, 6 months
JBoss Tools SVN: r32453 - in trunk/download.jboss.org/jbosstools/updates/development/indigo: soa-tooling and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-06-29 12:04:01 -0400 (Wed, 29 Jun 2011)
New Revision: 32453
Added:
trunk/download.jboss.org/jbosstools/updates/development/indigo/soa-tooling/
trunk/download.jboss.org/jbosstools/updates/development/indigo/soa-toolin...
trunk/download.jboss.org/jbosstools/updates/development/indigo/soa-toolin...
trunk/download.jboss.org/jbosstools/updates/development/indigo/soa-toolin...
Modified:
trunk/download.jboss.org/jbosstools/updates/development/indigo/compositeA...
trunk/download.jboss.org/jbosstools/updates/development/indigo/compositeC...
trunk/download.jboss.org/jbosstools/updates/development/indigo/index.html
Log:
update development/indigo site and add new development/indigo/soa-tooling site
Modified: trunk/download.jboss.org/jbosstools/updates/development/indigo/compositeA...
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/development/indigo/compositeA... 2011-06-29 16:03:30 UTC (rev 32452)
+++ trunk/download.jboss.org/jbosstools/updates/development/indigo/compositeA... 2011-06-29 16:04:01 UTC (rev 32453)
@@ -7,10 +7,9 @@
get new time w/
date +%s000
-->
-<property name='p2.timestamp' value='1305148908000'/>
+<property name='p2.timestamp' value='1309362410000'/>
</properties>
<children size='1'>
-<child location='http://download.jboss.org/jbosstools/updates/JBossTools-3.3.0.M1a/'/>
-<!-- <child location='http://download.jboss.org/jbosstools/updates/indigo/M6/'/> -->
+<child location='http://download.jboss.org/jbosstools/updates/JBossTools-3.3.0.M2/'/>
</children>
</repository>
Modified: trunk/download.jboss.org/jbosstools/updates/development/indigo/compositeC...
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/development/indigo/compositeC... 2011-06-29 16:03:30 UTC (rev 32452)
+++ trunk/download.jboss.org/jbosstools/updates/development/indigo/compositeC... 2011-06-29 16:04:01 UTC (rev 32453)
@@ -7,10 +7,9 @@
get new time w/
date +%s000
-->
-<property name='p2.timestamp' value='1305148908000'/>
+<property name='p2.timestamp' value='1309362410000'/>
</properties>
<children size='1'>
-<child location='http://download.jboss.org/jbosstools/updates/JBossTools-3.3.0.M1a/'/>
-<!-- <child location='http://download.jboss.org/jbosstools/updates/indigo/M6/'/> -->
+<child location='http://download.jboss.org/jbosstools/updates/JBossTools-3.3.0.M2/'/>
</children>
</repository>
Modified: trunk/download.jboss.org/jbosstools/updates/development/indigo/index.html
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/development/indigo/index.html 2011-06-29 16:03:30 UTC (rev 32452)
+++ trunk/download.jboss.org/jbosstools/updates/development/indigo/index.html 2011-06-29 16:04:01 UTC (rev 32453)
@@ -1,8 +1,8 @@
<html>
<head>
-<title>JBoss Tools Development Milestone Update Site: 3.3.0.M1a.2011-05-11_15-56-28-H2359</title>
+<title>JBoss Tools Development Milestone Update Site: 3.3.0.M2.2011-06-24_07-36-50-H7</title>
<style>
-@import url("../web/site.css");
+@import url("http://download.jboss.org/jbosstools/updates/web/site.css");
</style>
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
@@ -21,7 +21,7 @@
<h2 class="title">JBoss Tools Development Milestone Update Site</h2>
<table width="100%">
<tr class="header">
- <td class="sub-header" width="100%"><span>Latest Build: 3.3.0.M1a.2011-05-11_15-56-28-H2359</span></td>
+ <td class="sub-header" width="100%"><span>Latest Build: 3.3.0.M2.2011-06-24_07-36-50-H7</span></td>
</tr>
<tr class="light-row" style="height: 30px">
@@ -41,7 +41,7 @@
</p>
<ul>
- <li><a href="http://download.jboss.org/jbosstools/updates/indigo/M6">JBoss Tools Requirements - Composite Mirror - Indigo M6</a></li>
+ <li><a href="http://download.jboss.org/jbosstools/updates/indigo/RC2">JBoss Tools Requirements - Composite Mirror - Indigo RC2</a></li>
</ul>
</td>
</tr>
Copied: trunk/download.jboss.org/jbosstools/updates/development/indigo/soa-toolin... (from rev 32452, trunk/download.jboss.org/jbosstools/updates/development/indigo/compositeA...)
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/development/indigo/soa-toolin... (rev 0)
+++ trunk/download.jboss.org/jbosstools/updates/development/indigo/soa-toolin... 2011-06-29 16:04:01 UTC (rev 32453)
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<?compositeArtifactRepository version='1.0.0'?>
+<repository name='JBoss Tools Development Milestone Update Site' type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1.0.0'>
+<properties size='2'>
+<property name='p2.compressed' value='true'/>
+<!--
+ get new time w/
+ date +%s000
+-->
+<property name='p2.timestamp' value='1309362410000'/>
+</properties>
+<children size='1'>
+<child location='http://download.jboss.org/jbosstools/updates/JBossTools-3.3.0.M2.soa-tooling'/>
+</children>
+</repository>
Copied: trunk/download.jboss.org/jbosstools/updates/development/indigo/soa-toolin... (from rev 32452, trunk/download.jboss.org/jbosstools/updates/development/indigo/compositeC...)
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/development/indigo/soa-toolin... (rev 0)
+++ trunk/download.jboss.org/jbosstools/updates/development/indigo/soa-toolin... 2011-06-29 16:04:01 UTC (rev 32453)
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<?compositeMetadataRepository version='1.0.0'?>
+<repository name='JBoss Tools Development Milestone Update Site' type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1.0.0'>
+<properties size='2'>
+<property name='p2.compressed' value='true'/>
+<!--
+ get new time w/
+ date +%s000
+-->
+<property name='p2.timestamp' value='1309362410000'/>
+</properties>
+<children size='1'>
+<child location='http://download.jboss.org/jbosstools/updates/JBossTools-3.3.0.M2.soa-tooling'/>
+</children>
+</repository>
Copied: trunk/download.jboss.org/jbosstools/updates/development/indigo/soa-toolin... (from rev 32452, trunk/download.jboss.org/jbosstools/updates/development/indigo/index.html)
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/development/indigo/soa-toolin... (rev 0)
+++ trunk/download.jboss.org/jbosstools/updates/development/indigo/soa-toolin... 2011-06-29 16:04:01 UTC (rev 32453)
@@ -0,0 +1,133 @@
+<html>
+<head>
+<title>JBoss Tools - SOA Tooling - Nightly Build Update Site: 3.3.0.M2.soa-tooling.2011-06-24_05-36-09-H6</title>
+<style>
+@import url("http://download.jboss.org/jbosstools/updates/web/site.css");
+</style>
+</head>
+<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
+<table marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"
+ cellspacing="0" cellpadding="0">
+ <tr>
+ <td colspan="2"><img
+ src="https://www.jboss.org/dms/tools/images/tools-banner.png" /></td>
+ </tr>
+ <tr>
+ <td>  </td>
+ </tr>
+ <tr>
+ <td>  </td>
+ <td>
+ <h2 class="title">JBoss Tools - SOA Tooling - Nightly Build Update Site</h2>
+ <table width="100%">
+ <tr class="header">
+ <td class="sub-header" width="100%"><span>Latest Build: 3.3.0.M2.soa-tooling.2011-06-24_05-36-09-H6</span></td>
+ </tr>
+
+ <tr class="light-row" style="height: 30px">
+ <td class="bodyText">
+ <p class="bodyText">This is the <b>Nightly Build</b>
+ Update Site for JBoss Tools - SOA Tooling. See <a class="link"
+ href="http://www.jboss.org/tools/download/update">Installation
+ Instructions</a>.</p>
+ </td>
+ </tr>
+
+ <tr class="dark-row" style="height: 90px">
+ <td class="bodyText">
+ <p class="bodyText"><b class="bodyText" style="color: red;">NOTE:</b>
+<!-- see http://www.jboss.org/tools/download/dev#noteBirt for matching copy -->
+Some features (such as BIRT, Maven, or GWT) require additional third-party prerequisites not available from Eclipse.org or JBoss.org. These can be installed from the following composite update site mirror, which should be added automatically when you add the JBoss Tools update site to your Eclipse's list of Available Software Sites. To verify which sites are enabled, open <code><strong>Window > Preferences > Install/Update > Available Software Sites</strong></code>. To add sites, Click the <code><strong>Add...</strong></code> button, then right-click the link(s) below, copy the link(s), and paste them into Eclipse one by one as needed.
+ </p>
+
+ <ul>
+ <li><a href="http://download.jboss.org/jbosstools/updates/indigo/RC2">JBoss Tools Requirements - Composite Mirror - Indigo RC2</a></li>
+ <li><a href="http://download.jboss.org/jbosstools/updates/development/indigo/">JBoss Tools Core Updates - Stable Milestone - Indigo</a></li>
+ </ul>
+ </td>
+ </tr>
+
+ <tr class="light-row" style="height: 30px">
+ <td class="bodyText">
+ <p class="bodyText">You can also download JBoss Tools as
+ individual zips for offline installation. See <a class="link"
+ href="http://www.jboss.org/tools/download">JBoss Tools
+ Downloads</a>.</p>
+ </td>
+ </tr>
+
+ <tr class="dark-row" style="height: 30px">
+ <td class="bodyText">
+ <p class="bodyText">For more information, see <a
+ href="http://www.jboss.org/tools/download/installation">Installation
+ methods</a>.</p>
+ </td>
+ </tr>
+ <tr>
+ <td class="spacer"><br />
+ </td>
+ <td class="spacer"><br />
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>
+ <table width="100%">
+ <tr class="header">
+ <td class="sub-header" width="100%"><span> Installation
+ Types</span></td>
+ </tr>
+ <tr class="light-row" style="height: 30px">
+ <td class="bodyText">
+ <p class="bodyText">Depending on how close to the bleeding edge
+ you like to be, there are several types of releases available.</p>
+ <br />
+
+ </td>
+ </tr>
+
+ <tr class="dark-row" style="height: 30px">
+ <td class="bodyText">
+ <h4>Stable Releases</h4>
+
+ <p><a href="https://www.jboss.org/tools/download/stable.html">Stable
+ releases</a> are - as indicated by their name - stable.</p><br/>
+
+ </td>
+ </tr>
+
+ <tr class="light-row" style="height: 30px">
+ <td class="bodyText">
+ <h4>Development Milestones</h4>
+
+ <p><a href="https://www.jboss.org/tools/download/dev.html">Development
+ builds</a>, released once per milestone and only a few times a year, are
+ fairly stable, but there may be some things which do not yet work.
+ If you would like to try one of these milestones, we'd greatly
+ appreciate the assistance in testing and <a
+ href="https://jira.jboss.org/jira/browse/JBIDE">reporting of
+ issues in our issue tracker</a>.</p><br/>
+
+ </td>
+ </tr>
+
+ <tr class="dark-row" style="height: 30px">
+ <td class="bodyText">
+ <h4>Nightly Builds</h4>
+
+ <p>The <a
+ href="https://www.jboss.org/tools/download/nightly.html">bleeding
+ edge</a> contains the latest and greatest new features, but nothing is
+ stable or guaranteed - yet. If you're using a Milestone and need a
+ fix, you can update to the latest Nightly, or wait for the next
+ Milestone.</p><br/>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+</html>
14 years, 6 months
JBoss Tools SVN: r32452 - in trunk/build/aggregate: soa-site and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-06-29 12:03:30 -0400 (Wed, 29 Jun 2011)
New Revision: 32452
Modified:
trunk/build/aggregate/site/index-template.html
trunk/build/aggregate/site/index.html
trunk/build/aggregate/soa-site/index-template.html
trunk/build/aggregate/soa-site/index.html
Log:
replace relative paths w/ absolute ones
Modified: trunk/build/aggregate/site/index-template.html
===================================================================
--- trunk/build/aggregate/site/index-template.html 2011-06-29 15:55:57 UTC (rev 32451)
+++ trunk/build/aggregate/site/index-template.html 2011-06-29 16:03:30 UTC (rev 32452)
@@ -2,7 +2,7 @@
<head>
<title>JBoss Tools ${update.site.description} Update Site${update.site.version}</title>
<style>
-@import url("../web/site.css");
+@import url("http://download.jboss.org/jbosstools/updates/web/site.css");
</style>
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
Modified: trunk/build/aggregate/site/index.html
===================================================================
--- trunk/build/aggregate/site/index.html 2011-06-29 15:55:57 UTC (rev 32451)
+++ trunk/build/aggregate/site/index.html 2011-06-29 16:03:30 UTC (rev 32452)
@@ -2,7 +2,7 @@
<head>
<title>JBoss Tools Nightly Build Update Site</title>
<style>
-@import url("../web/site.css");
+@import url("http://download.jboss.org/jbosstools/updates/web/site.css");
</style>
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
Modified: trunk/build/aggregate/soa-site/index-template.html
===================================================================
--- trunk/build/aggregate/soa-site/index-template.html 2011-06-29 15:55:57 UTC (rev 32451)
+++ trunk/build/aggregate/soa-site/index-template.html 2011-06-29 16:03:30 UTC (rev 32452)
@@ -2,7 +2,7 @@
<head>
<title>JBoss Tools - SOA Tooling - ${update.site.description} Update Site${update.site.version}</title>
<style>
-@import url("../web/site.css");
+@import url("http://download.jboss.org/jbosstools/updates/web/site.css");
</style>
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
Modified: trunk/build/aggregate/soa-site/index.html
===================================================================
--- trunk/build/aggregate/soa-site/index.html 2011-06-29 15:55:57 UTC (rev 32451)
+++ trunk/build/aggregate/soa-site/index.html 2011-06-29 16:03:30 UTC (rev 32452)
@@ -2,7 +2,7 @@
<head>
<title>JBoss Tools - SOA Tooling - Nightly Build Update Site</title>
<style>
-@import url("../web/site.css");
+@import url("http://download.jboss.org/jbosstools/updates/web/site.css");
</style>
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
14 years, 6 months
JBoss Tools SVN: r32451 - branches/jbosstools-3.2.x/build/aggregate/site.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-06-29 11:55:57 -0400 (Wed, 29 Jun 2011)
New Revision: 32451
Modified:
branches/jbosstools-3.2.x/build/aggregate/site/index-template.html
branches/jbosstools-3.2.x/build/aggregate/site/index.html
Log:
replace relative paths w/ absolute ones
Modified: branches/jbosstools-3.2.x/build/aggregate/site/index-template.html
===================================================================
--- branches/jbosstools-3.2.x/build/aggregate/site/index-template.html 2011-06-29 15:49:21 UTC (rev 32450)
+++ branches/jbosstools-3.2.x/build/aggregate/site/index-template.html 2011-06-29 15:55:57 UTC (rev 32451)
@@ -2,7 +2,7 @@
<head>
<title>JBoss Tools ${update.site.description} Update Site${update.site.version}</title>
<style>
-@import url("../web/site.css");
+@import url("http://download.jboss.org/jbosstools/updates/web/site.css");
</style>
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
Modified: branches/jbosstools-3.2.x/build/aggregate/site/index.html
===================================================================
--- branches/jbosstools-3.2.x/build/aggregate/site/index.html 2011-06-29 15:49:21 UTC (rev 32450)
+++ branches/jbosstools-3.2.x/build/aggregate/site/index.html 2011-06-29 15:55:57 UTC (rev 32451)
@@ -2,7 +2,7 @@
<head>
<title>JBoss Tools Nightly Build Update Site</title>
<style>
-@import url("../web/site.css");
+@import url("http://download.jboss.org/jbosstools/updates/web/site.css");
</style>
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
14 years, 6 months
JBoss Tools SVN: r32450 - trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-06-29 11:49:21 -0400 (Wed, 29 Jun 2011)
New Revision: 32450
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/ServerPasswordSection.java
Log:
[JBIDE-9054] corrected indirect constant adressing (was: used inherited constant, now: using constant class directly)
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/ServerPasswordSection.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/ServerPasswordSection.java 2011-06-29 15:20:55 UTC (rev 32449)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/ServerPasswordSection.java 2011-06-29 15:49:21 UTC (rev 32450)
@@ -39,6 +39,7 @@
import org.eclipse.wst.server.ui.internal.command.ServerCommand;
import org.jboss.ide.eclipse.as.core.server.internal.JBossServer;
import org.jboss.ide.eclipse.as.core.server.internal.ServerAttributeHelper;
+import org.jboss.ide.eclipse.as.core.util.IJBossToolingConstants;
import org.jboss.ide.eclipse.as.ui.Messages;
/**
@@ -73,8 +74,8 @@
Label username = toolkit.createLabel(composite, Messages.swf_Username);
username.setForeground(toolkit.getColors().getColor(IFormColors.TITLE));
- String n = helper.getAttribute(JBossServer.SERVER_USERNAME, ""); //$NON-NLS-1$
- String p = helper.getAttribute(JBossServer.SERVER_PASSWORD, ""); //$NON-NLS-1$
+ String n = helper.getAttribute(IJBossToolingConstants.SERVER_USERNAME, ""); //$NON-NLS-1$
+ String p = helper.getAttribute(IJBossToolingConstants.SERVER_PASSWORD, ""); //$NON-NLS-1$
nameText = toolkit.createText(composite, n);
Label password = toolkit.createLabel(composite, Messages.swf_Password);
password.setForeground(toolkit.getColors().getColor(IFormColors.TITLE));
@@ -107,14 +108,14 @@
public class SetUserCommand extends SetVarCommand {
public SetUserCommand(IServerWorkingCopy server) {
super(server, Messages.EditorChangeUsernameCommandName, nameText, nameText.getText(),
- JBossServer.SERVER_USERNAME, nameModifyListener);
+ IJBossToolingConstants.SERVER_USERNAME, nameModifyListener);
}
}
public class SetPassCommand extends SetVarCommand {
public SetPassCommand(IServerWorkingCopy server) {
super(server, Messages.EditorChangePasswordCommandName, passText, passText.getText(),
- JBossServer.SERVER_PASSWORD, passModifyListener);
+ IJBossToolingConstants.SERVER_PASSWORD, passModifyListener);
}
}
14 years, 6 months
JBoss Tools SVN: r32449 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-06-29 11:20:55 -0400 (Wed, 29 Jun 2011)
New Revision: 32449
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7Server.java
Log:
[JBIDE-9054] corrected warnings by replacing deprecated constant class
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7Server.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7Server.java 2011-06-29 14:32:07 UTC (rev 32448)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7Server.java 2011-06-29 15:20:55 UTC (rev 32449)
@@ -10,13 +10,18 @@
******************************************************************************/
package org.jboss.ide.eclipse.as.core.server.internal.v7;
+import static org.jboss.ide.eclipse.as.core.util.IJBossRuntimeResourceConstants.AS7_DEPLOYMENTS;
+import static org.jboss.ide.eclipse.as.core.util.IJBossRuntimeResourceConstants.AS7_STANDALONE;
+import static org.jboss.ide.eclipse.as.core.util.IJBossRuntimeResourceConstants.FOLDER_TMP;
+import static org.jboss.ide.eclipse.as.core.util.IJBossToolingConstants.AS7_MANAGEMENT_PORT;
+import static org.jboss.ide.eclipse.as.core.util.IJBossToolingConstants.AS7_MANAGEMENT_PORT_DEFAULT_PORT;
+import static org.jboss.ide.eclipse.as.core.util.IJBossToolingConstants.AS7_MANAGEMENT_PORT_DEFAULT_XPATH;
+import static org.jboss.ide.eclipse.as.core.util.IJBossToolingConstants.AS7_MANAGEMENT_PORT_DETECT;
+import static org.jboss.ide.eclipse.as.core.util.IJBossToolingConstants.AS7_MANAGEMENT_PORT_DETECT_XPATH;
+
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.wst.server.core.IRuntime;
-import org.eclipse.wst.server.core.IServer;
-import org.jboss.ide.eclipse.as.core.JBossServerCorePlugin;
-import org.jboss.ide.eclipse.as.core.server.IJBossServerConstants;
import org.jboss.ide.eclipse.as.core.server.internal.JBossServer;
import org.jboss.ide.eclipse.as.core.util.IJBossToolingConstants;
import org.jboss.ide.eclipse.as.core.util.ServerUtil;
14 years, 6 months
JBoss Tools SVN: r32448 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-06-29 10:32:07 -0400 (Wed, 29 Jun 2011)
New Revision: 32448
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/LaunchConfigUtils.java
Log:
[JBIDE-9054] added util method to create a new ILaunchConfigurationWorkingCopy
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/LaunchConfigUtils.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/LaunchConfigUtils.java 2011-06-29 14:31:38 UTC (rev 32447)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/LaunchConfigUtils.java 2011-06-29 14:32:07 UTC (rev 32448)
@@ -137,7 +137,7 @@
* @return the new launch configuration working copy
* @throws CoreException
*/
- public ILaunchConfigurationWorkingCopy createLaunchConfigurationWorkingCopy(String name, String type) throws CoreException {
+ public static ILaunchConfigurationWorkingCopy createLaunchConfigurationWorkingCopy(String name, String type) throws CoreException {
ILaunchManager launchManager = DebugPlugin.getDefault().getLaunchManager();
ILaunchConfigurationType launchConfigType = launchManager.getLaunchConfigurationType(type);
14 years, 6 months
JBoss Tools SVN: r32447 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-06-29 10:31:38 -0400 (Wed, 29 Jun 2011)
New Revision: 32447
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/LaunchConfigUtils.java
Log:
[JBIDE-9054] added util method to create a new ILaunchConfigurationWorkingCopy
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/LaunchConfigUtils.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/LaunchConfigUtils.java 2011-06-29 14:23:40 UTC (rev 32446)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/LaunchConfigUtils.java 2011-06-29 14:31:38 UTC (rev 32447)
@@ -11,6 +11,10 @@
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Status;
+import org.eclipse.debug.core.DebugPlugin;
+import org.eclipse.debug.core.ILaunchConfigurationType;
+import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
+import org.eclipse.debug.core.ILaunchManager;
import org.eclipse.jdt.launching.IRuntimeClasspathEntry;
import org.eclipse.jdt.launching.IVMInstall;
import org.eclipse.jdt.launching.JavaRuntime;
@@ -19,6 +23,7 @@
import org.jboss.ide.eclipse.as.core.Messages;
import org.jboss.ide.eclipse.as.core.server.internal.JBossServer;
import org.jboss.ide.eclipse.as.core.server.internal.launch.RunJarContainerWrapper;
+import org.jboss.ide.eclipse.as.core.server.internal.launch.StopLaunchConfiguration;
/**
* @author André Dietisheim
@@ -123,4 +128,20 @@
libPath + File.separator + libs[i].getName())));
}
}
+
+ /**
+ * Creates a {@link ILaunchConfigurationWorkingCopy} for the given name and type.
+ *
+ * @param name the name for the new launch configuration
+ * @param type the type of the new launch configuration
+ * @return the new launch configuration working copy
+ * @throws CoreException
+ */
+ public ILaunchConfigurationWorkingCopy createLaunchConfigurationWorkingCopy(String name, String type) throws CoreException {
+ ILaunchManager launchManager = DebugPlugin.getDefault().getLaunchManager();
+ ILaunchConfigurationType launchConfigType = launchManager.getLaunchConfigurationType(type);
+
+ String launchName = launchManager.generateLaunchConfigurationName(name);
+ return launchConfigType.newInstance(null, launchName);
+ }
}
14 years, 6 months