JBoss Tools SVN: r32355 - in trunk/cdi/plugins/org.jboss.tools.cdi.xml.ui: images/xstudio/editors and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-06-24 15:00:18 -0400 (Fri, 24 Jun 2011)
New Revision: 32355
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.xml.ui/images/xstudio/editors/cdi-beans.gif
trunk/cdi/plugins/org.jboss.tools.cdi.xml.ui/plugin.xml
Log:
JBIDE-9254
https://issues.jboss.org/browse/JBIDE-9254
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.xml.ui/images/xstudio/editors/cdi-beans.gif
===================================================================
(Binary files differ)
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.xml.ui/plugin.xml
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.xml.ui/plugin.xml 2011-06-24 18:36:53 UTC (rev 32354)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.xml.ui/plugin.xml 2011-06-24 19:00:18 UTC (rev 32355)
@@ -7,7 +7,7 @@
class="org.jboss.tools.jst.web.ui.editors.WebCompoundEditor"
contributorClass="org.jboss.tools.common.model.ui.texteditors.MultiPageContributor"
entities="FileCDIBeans"
- icon="$nl$/images/xstudio/editors/seam-components.gif"
+ icon="$nl$/images/xstudio/editors/cdi-beans.gif"
name="%editors.spring-beans.name">
</xmlEditor>
</extension>
14 years, 9 months
JBoss Tools SVN: r32354 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-06-24 14:36:53 -0400 (Fri, 24 Jun 2011)
New Revision: 32354
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/LocalJBossServerStartupLaunchUtil.java
Log:
[JBIDE-9215] extracted setting the server configuration to its own method
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/LocalJBossServerStartupLaunchUtil.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/LocalJBossServerStartupLaunchUtil.java 2011-06-24 18:19:03 UTC (rev 32353)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/LocalJBossServerStartupLaunchUtil.java 2011-06-24 18:36:53 UTC (rev 32354)
@@ -103,7 +103,7 @@
updateVMPath(runtime, wc);
wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY,
serverHome + Path.SEPARATOR + IJBossRuntimeResourceConstants.BIN);
- updateArguments(wc, jbs, runtime);
+ updateProgramArguments(wc, jbs, runtime);
updateVMArgs(wc, runtime);
updateClassPath(wc, jbs);
wc.setAttribute(AbstractJBossLaunchConfigType.SERVER_ID, jbs.getServer().getId());
@@ -127,11 +127,12 @@
wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_VM_ARGUMENTS, vmArgs.trim());
}
- private void updateArguments(ILaunchConfigurationWorkingCopy wc, JBossServer jbs, IJBossServerRuntime runtime)
+ private void updateProgramArguments(ILaunchConfigurationWorkingCopy wc, JBossServer jbs, IJBossServerRuntime runtime)
throws CoreException {
String args = wc.getAttribute(IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS, ""); //$NON-NLS-1$
String host = jbs.getServer().getHost();
args = updateHostArgument(host, args);
+ args = updateConfigArgument(args, runtime);
args = updateServerHomeArgument(args, runtime);
wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS, args.trim());
}
@@ -144,11 +145,15 @@
IJBossRuntimeResourceConstants.ENDORSED).toOSString(), true);
}
- private String updateServerHomeArgument(String args, IJBossServerRuntime runtime) {
+ private String updateConfigArgument(String args, IJBossServerRuntime runtime) {
String config = runtime.getJBossConfiguration();
args = ArgsUtil.setArg(args,
IJBossRuntimeConstants.STARTUP_ARG_CONFIG_SHORT,
IJBossRuntimeConstants.STARTUP_ARG_CONFIG_LONG, config);
+ return args;
+ }
+
+ private String updateServerHomeArgument(String args, IJBossServerRuntime runtime) {
try {
if (!runtime.getConfigLocation().equals(IConstants.SERVER)) {
14 years, 9 months
JBoss Tools SVN: r32353 - in trunk/download.jboss.org/jbosstools/updates: development and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-06-24 14:19:03 -0400 (Fri, 24 Jun 2011)
New Revision: 32353
Added:
trunk/download.jboss.org/jbosstools/updates/README.html
trunk/download.jboss.org/jbosstools/updates/README.old.update.sites.txt
trunk/download.jboss.org/jbosstools/updates/development/README.html
Removed:
trunk/download.jboss.org/jbosstools/updates/development/index.html
trunk/download.jboss.org/jbosstools/updates/index.html
trunk/download.jboss.org/jbosstools/updates/stable/index.html
Log:
new readmes; remove extraneous index.html pages (or rename to README.html)
Copied: trunk/download.jboss.org/jbosstools/updates/README.html (from rev 32352, trunk/download.jboss.org/jbosstools/updates/index.html)
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/README.html (rev 0)
+++ trunk/download.jboss.org/jbosstools/updates/README.html 2011-06-24 18:19:03 UTC (rev 32353)
@@ -0,0 +1,166 @@
+<html>
+<head>
+<title>JBoss Tools Updates</title>
+<style>
+@import url("../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" width="800">
+ <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 Updates</h2>
+ <table width="100%">
+
+ <!-- <tr class="light-row" style="height: 30px">
+ <td class="bodyText">
+ <p class="bodyText"></p>
+ </td>
+ </tr> -->
+ <tr class="dark-row" style="height: 30px">
+ <td class="bodyText">
+ <!-- <p class="bodyText"></p> -->
+
+<!-- to convert raw fish listing to links do this in vi
+
+:%s#^sftp://jbossqa@filemgmt.jboss.org/htdocs/jbosstools/updates/\(.\+\)$#<li><a class=link href=\1>\1<\/a></li>#g
+
+Then sftp file into
+
+jbossqa(a)filemgmt.jboss.org/htdocs/jbosstools/updates/
+
+which becomes
+
+http://download.jboss.org/jbosstools/updates/
+
+-->
+ <br/>
+ <ul>
+<b>Stable JBoss Tools Releases</b><br/>
+<!-- <li><a class=link href=http://download.jboss.org/jbosstools/updates/stable/indigo>JBoss Tools 3.3, Eclipse 3.7 (Indigo)</a></li> -->
+<li><a class=link href=http://download.jboss.org/jbosstools/updates/stable/helios>JBoss Tools 3.2, Eclipse 3.6 (Helios)</a></li>
+<li><a class=link href=http://download.jboss.org/jbosstools/updates/stable/galileo>JBoss Tools 3.1, Eclipse 3.5 (Galileo)</a></li>
+<li><a class=link href=http://download.jboss.org/jbosstools/updates/stable/ganymede>JBoss Tools 3.0, Eclipse 3.4 (Ganymede)</a></li>
+<li><a class=link href=http://download.jboss.org/jbosstools/updates/JBossTools-3.0.3.GA.zip>JBossTools-3.0.3.GA.zip</a></li>
+<li><a class=link href=http://download.jboss.org/jbosstools/updates/JBossTools-2.1.2.GA>JBossTools-2.1.2.GA</a></li>
+<li><a class=link href=http://download.jboss.org/jbosstools/updates/JBossTools-2.0.1.GA>JBossTools-2.0.1.GA</a></li>
+<li><a class=link href=http://download.jboss.org/jbosstools/updates/JBossIDE-2.0.0.Beta2>JBossIDE-2.0.0.Beta2</a></li>
+<br/>
+<b>Other Updates</b><br/>
+<li><a class=link href=stable>Stable Builds</a></li>
+<li><a class=link href=development>Development Milestones</a></li>
+<li><a class=link href=nightly>Nightly Builds</a></li>
+<br/>
+<b>Dependencies & Requirements</b><br/>
+<li><a class=link href=indigo>All JBoss Tools 3.3 dependencies in one update site</a> (for installing or developing with Eclipse 3.7)</li>
+<li><a class=link href=helios>All JBoss Tools 3.2 dependencies in one update site</a> (for installing or developing with Eclipse 3.6)</li>
+<li><a class=link href=requirements>All JBoss Tools dependencies in collection of update site</a> (for installing or developing)</li>
+<br/>
+<b>JBT Target Platforms</b><br/>
+<li><a class=link href=http://download.jboss.org/jbosstools/updates/target-platform_3.3.indigo>All JBoss Tools 3.3 dependencies in one update site</a> (for installing or developing with Eclipse 3.7)</li>
+<li><a class=link href=http://download.jboss.org/jbosstools/updates/target-platform>All JBoss Tools 3.2 dependencies in one update site</a> (for installing or developing with Eclipse 3.6)</li>
+<br/>
+<b>JBDS Target Platforms</b><br/>
+<li><a style="color: red" class=link href=http://www.qa.jboss.com/binaries/RHDS/updates/jbds-target-platform_3...>All JBoss Developer Studio 5.0 dependencies in one update site</a> (for installing or developing with Eclipse 3.7)</li>
+<li><a style="color: red" class=link href=http://www.qa.jboss.com/binaries/RHDS/updates/jbds-target-platform>All JBoss Developer Studio 4.x dependencies in one update site</a> (for installing or developing with Eclipse 3.6)</li>
+<br/>
+<p class="bodyText"><i>Note: <b style="color: red">red
+ links</b> require VPN access.</i>
+ </ul>
+ <br/>
+ </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>
Added: trunk/download.jboss.org/jbosstools/updates/README.old.update.sites.txt
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/README.old.update.sites.txt (rev 0)
+++ trunk/download.jboss.org/jbosstools/updates/README.old.update.sites.txt 2011-06-24 18:19:03 UTC (rev 32353)
@@ -0,0 +1,20 @@
+JBossTools-3.3.x requires Eclipse 3.7
+
+JBossTools-3.2.x requires Eclipse 3.6
+
+JBossTools-3.1.x requires Eclipse 3.5
+
+JBossTools-3.0.x requires Eclipse 3.4
+
+JBossTools-2.x requires Eclipse 3.3
+
+JBossIDE-2.0.0.Beta2 should be kept as it's the last one that supports Eclipse 3.2
+
+--
+
+nightly contains the latest from trunk (HEAD) and active development/maintenance branches.
+
+stable contains the latest Final (GA) releases
+
+development contains the latest builds for active development and maintenance branches (3.2.1.CR2, 3.3.0.M3)
+
Copied: trunk/download.jboss.org/jbosstools/updates/development/README.html (from rev 32352, trunk/download.jboss.org/jbosstools/updates/development/index.html)
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/development/README.html (rev 0)
+++ trunk/download.jboss.org/jbosstools/updates/development/README.html 2011-06-24 18:19:03 UTC (rev 32353)
@@ -0,0 +1,137 @@
+<html>
+<head>
+<title>JBoss Tools Development Milestone Update Sites</title>
+<style>
+@import url("../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 Development Milestone Update Sites</h2>
+ <table width="100%">
+
+ <tr class="light-row" style="height: 30px">
+ <td class="bodyText">
+ <p class="bodyText">This is the <b>Development Milestone</b>
+ Update Site for JBoss Tools. 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;">
+Choose your development stream:</b>
+ </p>
+
+ <ul>
+ <li><a href="indigo">JBoss Tools 3.3 Development Milestone</a> (requires Eclipse 3.7 Indigo M6, as of 2011-05-10 - see <a href="https://issues.jboss.org/browse/JBIDE-8907">JBIDE-8907</a> for install advice)</li>
+ <li><a href="helios">JBoss Tools 3.2 Development Milestone</a> (requires Eclipse 3.6 Helios SR2)</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>
Deleted: trunk/download.jboss.org/jbosstools/updates/development/index.html
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/development/index.html 2011-06-24 18:12:25 UTC (rev 32352)
+++ trunk/download.jboss.org/jbosstools/updates/development/index.html 2011-06-24 18:19:03 UTC (rev 32353)
@@ -1,137 +0,0 @@
-<html>
-<head>
-<title>JBoss Tools Development Milestone Update Sites</title>
-<style>
-@import url("../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 Development Milestone Update Sites</h2>
- <table width="100%">
-
- <tr class="light-row" style="height: 30px">
- <td class="bodyText">
- <p class="bodyText">This is the <b>Development Milestone</b>
- Update Site for JBoss Tools. 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;">
-Choose your development stream:</b>
- </p>
-
- <ul>
- <li><a href="indigo">JBoss Tools 3.3 Development Milestone</a> (requires Eclipse 3.7 Indigo M6, as of 2011-05-10 - see <a href="https://issues.jboss.org/browse/JBIDE-8907">JBIDE-8907</a> for install advice)</li>
- <li><a href="helios">JBoss Tools 3.2 Development Milestone</a> (requires Eclipse 3.6 Helios SR2)</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>
Deleted: trunk/download.jboss.org/jbosstools/updates/index.html
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/index.html 2011-06-24 18:12:25 UTC (rev 32352)
+++ trunk/download.jboss.org/jbosstools/updates/index.html 2011-06-24 18:19:03 UTC (rev 32353)
@@ -1,166 +0,0 @@
-<html>
-<head>
-<title>JBoss Tools Updates</title>
-<style>
-@import url("../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" width="800">
- <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 Updates</h2>
- <table width="100%">
-
- <!-- <tr class="light-row" style="height: 30px">
- <td class="bodyText">
- <p class="bodyText"></p>
- </td>
- </tr> -->
- <tr class="dark-row" style="height: 30px">
- <td class="bodyText">
- <!-- <p class="bodyText"></p> -->
-
-<!-- to convert raw fish listing to links do this in vi
-
-:%s#^sftp://jbossqa@filemgmt.jboss.org/htdocs/jbosstools/updates/\(.\+\)$#<li><a class=link href=\1>\1<\/a></li>#g
-
-Then sftp file into
-
-jbossqa(a)filemgmt.jboss.org/htdocs/jbosstools/updates/
-
-which becomes
-
-http://download.jboss.org/jbosstools/updates/
-
--->
- <br/>
- <ul>
-<b>Stable JBoss Tools Releases</b><br/>
-<!-- <li><a class=link href=http://download.jboss.org/jbosstools/updates/stable/indigo>JBoss Tools 3.3, Eclipse 3.7 (Indigo)</a></li> -->
-<li><a class=link href=http://download.jboss.org/jbosstools/updates/stable/helios>JBoss Tools 3.2, Eclipse 3.6 (Helios)</a></li>
-<li><a class=link href=http://download.jboss.org/jbosstools/updates/stable/galileo>JBoss Tools 3.1, Eclipse 3.5 (Galileo)</a></li>
-<li><a class=link href=http://download.jboss.org/jbosstools/updates/stable/ganymede>JBoss Tools 3.0, Eclipse 3.4 (Ganymede)</a></li>
-<li><a class=link href=http://download.jboss.org/jbosstools/updates/JBossTools-3.0.3.GA.zip>JBossTools-3.0.3.GA.zip</a></li>
-<li><a class=link href=http://download.jboss.org/jbosstools/updates/JBossTools-2.1.2.GA>JBossTools-2.1.2.GA</a></li>
-<li><a class=link href=http://download.jboss.org/jbosstools/updates/JBossTools-2.0.1.GA>JBossTools-2.0.1.GA</a></li>
-<li><a class=link href=http://download.jboss.org/jbosstools/updates/JBossIDE-2.0.0.Beta2>JBossIDE-2.0.0.Beta2</a></li>
-<br/>
-<b>Other Updates</b><br/>
-<li><a class=link href=stable>Stable Builds</a></li>
-<li><a class=link href=development>Development Milestones</a></li>
-<li><a class=link href=nightly>Nightly Builds</a></li>
-<br/>
-<b>Dependencies & Requirements</b><br/>
-<li><a class=link href=indigo>All JBoss Tools 3.3 dependencies in one update site</a> (for installing or developing with Eclipse 3.7)</li>
-<li><a class=link href=helios>All JBoss Tools 3.2 dependencies in one update site</a> (for installing or developing with Eclipse 3.6)</li>
-<li><a class=link href=requirements>All JBoss Tools dependencies in collection of update site</a> (for installing or developing)</li>
-<br/>
-<b>JBT Target Platforms</b><br/>
-<li><a class=link href=http://download.jboss.org/jbosstools/updates/target-platform_3.3.indigo>All JBoss Tools 3.3 dependencies in one update site</a> (for installing or developing with Eclipse 3.7)</li>
-<li><a class=link href=http://download.jboss.org/jbosstools/updates/target-platform>All JBoss Tools 3.2 dependencies in one update site</a> (for installing or developing with Eclipse 3.6)</li>
-<br/>
-<b>JBDS Target Platforms</b><br/>
-<li><a style="color: red" class=link href=http://www.qa.jboss.com/binaries/RHDS/updates/jbds-target-platform_3...>All JBoss Developer Studio 5.0 dependencies in one update site</a> (for installing or developing with Eclipse 3.7)</li>
-<li><a style="color: red" class=link href=http://www.qa.jboss.com/binaries/RHDS/updates/jbds-target-platform>All JBoss Developer Studio 4.x dependencies in one update site</a> (for installing or developing with Eclipse 3.6)</li>
-<br/>
-<p class="bodyText"><i>Note: <b style="color: red">red
- links</b> require VPN access.</i>
- </ul>
- <br/>
- </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>
Deleted: trunk/download.jboss.org/jbosstools/updates/stable/index.html
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/stable/index.html 2011-06-24 18:12:25 UTC (rev 32352)
+++ trunk/download.jboss.org/jbosstools/updates/stable/index.html 2011-06-24 18:19:03 UTC (rev 32353)
@@ -1 +0,0 @@
-<meta http-equiv="refresh" content="0;url=http://download.jboss.org/jbosstools/updates/">
14 years, 9 months
JBoss Tools SVN: r32352 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/computers.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2011-06-24 14:12:25 -0400 (Fri, 24 Jun 2011)
New Revision: 32352
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/computers/FaceletsTagCompletionProposalComputer.java
Log:
JBIDE-7100
Wrong proposals appear in CA Window for CSS styles inside <style></style> tag
JBIDE-9092
Wrong attribute name proposals appear in CA Window for CSS styles inside <style></style> tag
Issues are fixed
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/computers/FaceletsTagCompletionProposalComputer.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/computers/FaceletsTagCompletionProposalComputer.java 2011-06-24 15:48:28 UTC (rev 32351)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/computers/FaceletsTagCompletionProposalComputer.java 2011-06-24 18:12:25 UTC (rev 32352)
@@ -13,15 +13,18 @@
import java.util.List;
import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.jface.text.ITextViewer;
import org.eclipse.wst.html.core.internal.contentmodel.HTMLCMDocument;
import org.eclipse.wst.html.core.internal.provisional.HTMLCMProperties;
import org.eclipse.wst.sse.core.internal.provisional.INodeNotifier;
import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion;
+import org.eclipse.wst.sse.core.internal.provisional.text.ITextRegion;
import org.eclipse.wst.sse.ui.contentassist.CompletionProposalInvocationContext;
import org.eclipse.wst.sse.ui.internal.contentassist.ContentAssistUtils;
import org.eclipse.wst.xml.core.internal.contentmodel.CMDocument;
import org.eclipse.wst.xml.core.internal.provisional.document.IDOMDocument;
import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
+import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;
import org.eclipse.wst.xml.core.internal.ssemodelquery.ModelQueryAdapter;
import org.eclipse.wst.xml.ui.internal.contentassist.ContentAssistRequest;
import org.jboss.tools.common.el.core.resolver.ELContext;
@@ -153,6 +156,26 @@
return;
}
+ // This is a workaround for issues JBIDE-7100 and JBIDE-9092 ===>>>
+ ITextViewer textViewer = context.getViewer();
+ IndexedRegion treeNode = ContentAssistUtils.getNodeAt(textViewer, context.getInvocationOffset());
+
+ Node node = (Node) treeNode;
+ while ((node != null) && (node.getNodeType() == Node.TEXT_NODE) && (node.getParentNode() != null)) {
+ node = node.getParentNode();
+ }
+ IDOMNode xmlnode = (IDOMNode) node;
+
+ ITextRegion completionRegion = getCompletionRegion(context.getInvocationOffset(), node);
+
+ String regionType = completionRegion.getType();
+ if (regionType == DOMRegionContext.XML_END_TAG_OPEN) {
+ // Disable tag insertion proposals if it's end tag open region of <style /> tag
+ if (xmlnode != null && xmlnode.getNodeName() != null && xmlnode.getNodeName().equalsIgnoreCase("style")) //$NON-NLS-1$
+ return;
+ }
+ // This is a workaround for issues JBIDE-7100 and JBIDE-9092 <<<===
+
addTagNameProposals(contentAssistRequest, childPosition, true, context);
}
14 years, 9 months
JBoss Tools SVN: r32351 - trunk/vpe/plugins/org.jboss.tools.vpe.jsp/templates.
by jbosstools-commits@lists.jboss.org
Author: yradtsevich
Date: 2011-06-24 11:48:28 -0400 (Fri, 24 Jun 2011)
New Revision: 32351
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.jsp/templates/vpe-templates-jsp.xml
Log:
https://issues.jboss.org/browse/JBIDE-9235 : jsp:attribute can have chield items, but template described that it can't
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.jsp/templates/vpe-templates-jsp.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.jsp/templates/vpe-templates-jsp.xml 2011-06-24 15:03:38 UTC (rev 32350)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.jsp/templates/vpe-templates-jsp.xml 2011-06-24 15:48:28 UTC (rev 32351)
@@ -70,7 +70,7 @@
</vpe:tag>
<vpe:tag name="jsp:attribute" case-sensitive="yes">
- <vpe:template children="no" modify="no">
+ <vpe:template children="yes" modify="yes">
<vpe:any value="{name()}" title="{tagstring()}" style="display:none;"/>
</vpe:template>
</vpe:tag>
14 years, 9 months
JBoss Tools SVN: r32350 - trunk/build/aggregate/bottests-site/features/org.jboss.tools.bot.test.feature.
by jbosstools-commits@lists.jboss.org
Author: psrna
Date: 2011-06-24 11:03:38 -0400 (Fri, 24 Jun 2011)
New Revision: 32350
Modified:
trunk/build/aggregate/bottests-site/features/org.jboss.tools.bot.test.feature/feature.xml
Log:
Modified: trunk/build/aggregate/bottests-site/features/org.jboss.tools.bot.test.feature/feature.xml
===================================================================
--- trunk/build/aggregate/bottests-site/features/org.jboss.tools.bot.test.feature/feature.xml 2011-06-24 12:33:28 UTC (rev 32349)
+++ trunk/build/aggregate/bottests-site/features/org.jboss.tools.bot.test.feature/feature.xml 2011-06-24 15:03:38 UTC (rev 32350)
@@ -34,23 +34,23 @@
</requires>
<!-- bpmn is not yet being built so this can't be available upstream -->
- <plugin id="org.jboss.tools.bpmn.ui.bot.test" download-size="0" install-size="0" version="0.0.0" />
+<!-- <plugin id="org.jboss.tools.bpmn.ui.bot.test" download-size="0" install-size="0" version="0.0.0" /> -->
<plugin id="org.jboss.tools.bpel.ui.bot.test" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.cdi.bot.test" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.deltacloud.ui.bot.test" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.drools.ui.bot.test" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.esb.ui.bot.test" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.hibernate.ui.bot.test" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.jbpm.ui.bot.test" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.jsf.ui.bot.test" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.jst.ui.bot.test" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.maven.ui.bot.test" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.modeshape.rest.ui.bot.test" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.seam.ui.bot.test" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.smooks.ui.bot.test" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.struts.ui.bot.test" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.vpe.ui.bot.test" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.ws.ui.bot.test" download-size="0" install-size="0" version="0.0.0" />
+<!-- <plugin id="org.jboss.tools.cdi.bot.test" download-size="0" install-size="0" version="0.0.0" /> -->
+<!-- <plugin id="org.jboss.tools.deltacloud.ui.bot.test" download-size="0" install-size="0" version="0.0.0" /> -->
+<!-- <plugin id="org.jboss.tools.drools.ui.bot.test" download-size="0" install-size="0" version="0.0.0" /> -->
+<!-- <plugin id="org.jboss.tools.esb.ui.bot.test" download-size="0" install-size="0" version="0.0.0" /> -->
+<!-- <plugin id="org.jboss.tools.hibernate.ui.bot.test" download-size="0" install-size="0" version="0.0.0" /> -->
+<!-- <plugin id="org.jboss.tools.jbpm.ui.bot.test" download-size="0" install-size="0" version="0.0.0" /> -->
+<!-- <plugin id="org.jboss.tools.jsf.ui.bot.test" download-size="0" install-size="0" version="0.0.0" /> -->
+<!-- <plugin id="org.jboss.tools.jst.ui.bot.test" download-size="0" install-size="0" version="0.0.0" /> -->
+<!-- <plugin id="org.jboss.tools.maven.ui.bot.test" download-size="0" install-size="0" version="0.0.0" /> -->
+<!-- <plugin id="org.jboss.tools.modeshape.rest.ui.bot.test" download-size="0" install-size="0" version="0.0.0" /> -->
+<!-- <plugin id="org.jboss.tools.seam.ui.bot.test" download-size="0" install-size="0" version="0.0.0" /> -->
+<!-- <plugin id="org.jboss.tools.smooks.ui.bot.test" download-size="0" install-size="0" version="0.0.0" /> -->
+<!-- <plugin id="org.jboss.tools.struts.ui.bot.test" download-size="0" install-size="0" version="0.0.0" /> -->
+<!-- <plugin id="org.jboss.tools.vpe.ui.bot.test" download-size="0" install-size="0" version="0.0.0" /> -->
+<!-- <plugin id="org.jboss.tools.ws.ui.bot.test" download-size="0" install-size="0" version="0.0.0" /> -->
</feature>
14 years, 9 months
JBoss Tools SVN: r32349 - in trunk/forge: tests/org.jboss.tools.forge.core.test/src/org/jboss/tools/forge/core/process and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2011-06-24 08:33:28 -0400 (Fri, 24 Jun 2011)
New Revision: 32349
Modified:
trunk/forge/plugins/org.jboss.tools.forge.core/src/org/jboss/tools/forge/core/process/ForgeLaunchHelper.java
trunk/forge/tests/org.jboss.tools.forge.core.test/src/org/jboss/tools/forge/core/process/ForgeLaunchHelperTest.java
Log:
ForgeLaunchHelper and ForgeLaunchHelperTest are ready and running
Modified: trunk/forge/plugins/org.jboss.tools.forge.core/src/org/jboss/tools/forge/core/process/ForgeLaunchHelper.java
===================================================================
--- trunk/forge/plugins/org.jboss.tools.forge.core/src/org/jboss/tools/forge/core/process/ForgeLaunchHelper.java 2011-06-24 10:51:17 UTC (rev 32348)
+++ trunk/forge/plugins/org.jboss.tools.forge.core/src/org/jboss/tools/forge/core/process/ForgeLaunchHelper.java 2011-06-24 12:33:28 UTC (rev 32349)
@@ -144,10 +144,10 @@
return result;
}
- public static IProcess launch(String name, String location) {
+ public static IProcess launch(ForgeRuntime runtime) {
IProcess result = null;
- String launchConfigurationName = name + System.currentTimeMillis();
- List<String> classPath = createClassPath(location);
+ String launchConfigurationName = runtime.getName() + System.currentTimeMillis();
+ List<String> classPath = createClassPath(runtime.getLocation());
if (classPath != null) {
ILaunch launch = launch(launchConfigurationName, classPath);
removeLaunchConfiguration(launchConfigurationName);
Modified: trunk/forge/tests/org.jboss.tools.forge.core.test/src/org/jboss/tools/forge/core/process/ForgeLaunchHelperTest.java
===================================================================
--- trunk/forge/tests/org.jboss.tools.forge.core.test/src/org/jboss/tools/forge/core/process/ForgeLaunchHelperTest.java 2011-06-24 10:51:17 UTC (rev 32348)
+++ trunk/forge/tests/org.jboss.tools.forge.core.test/src/org/jboss/tools/forge/core/process/ForgeLaunchHelperTest.java 2011-06-24 12:33:28 UTC (rev 32349)
@@ -1,41 +1,72 @@
package org.jboss.tools.forge.core.process;
+import static org.junit.Assert.fail;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertFalse;
+
+import java.io.IOException;
+
+import org.eclipse.core.runtime.FileLocator;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Platform;
import org.eclipse.debug.core.DebugException;
import org.eclipse.debug.core.model.IProcess;
+import org.eclipse.ui.progress.UIJob;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
-import junit.framework.TestCase;
+public class ForgeLaunchHelperTest {
-public class ForgeLaunchHelperTest extends TestCase {
-
- private static final String PREFIX = "reference:file:";
private IProcess forgeProcess = null;
-
- protected void setUp() {
+ private ForgeRuntime forgeRuntime = null;
+
+ @Before
+ public void setUp() throws Exception {
+ forgeRuntime = new TestRuntime();
forgeProcess = null;
}
-
- public void testLaunch() {
- try {
- String location = Platform.getBundle("org.jboss.tools.forge.runtime").getLocation();
- assertTrue(location.startsWith(PREFIX));
- location = location.substring(PREFIX.length());
- forgeProcess = ForgeLaunchHelper.launch("test", location);
- assertNotNull(forgeProcess);
- assertFalse(forgeProcess.isTerminated());
- } catch (Throwable t) {
- t.printStackTrace();
- fail();
- }
- }
-
- protected void tearDown() {
+
+ @After
+ public void tearDown() throws Exception {
if (forgeProcess != null) {
try {
forgeProcess.terminate();
} catch (DebugException e) {}
}
forgeProcess = null;
+ forgeRuntime = null;
}
+ @Test
+ public void test() {
+ new UIJob("testLaunch") {
+ public IStatus runInUIThread(IProgressMonitor monitor) {
+ try {
+ forgeProcess = ForgeLaunchHelper.launch(forgeRuntime);
+ assertNotNull(forgeProcess);
+ assertFalse(forgeProcess.isTerminated());
+ } catch (RuntimeException e) {
+ fail();
+ }
+ return null;
+ }
+
+ }.schedule();
+ }
+
+ private class TestRuntime extends ForgeRuntime {
+ public String getName() {
+ return "test";
+ }
+ public String getLocation() {
+ try {
+ return FileLocator.getBundleFile(Platform.getBundle("org.jboss.tools.forge.runtime")).getAbsolutePath();
+ } catch (IOException e) {
+ return null;
+ }
+ }
+ }
+
}
14 years, 9 months
JBoss Tools SVN: r32348 - in trunk/as/tests/org.jboss.ide.eclipse.as.test: src/org/jboss/ide/eclipse/as/test/util and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2011-06-24 06:51:17 -0400 (Fri, 24 Jun 2011)
New Revision: 32348
Added:
trunk/as/tests/org.jboss.ide.eclipse.as.test/serverMock/7.0.0.mf.jboss-as-server.jar
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/ServerRuntimeUtils.java
Log:
Preparing for better as7 mocks
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/serverMock/7.0.0.mf.jboss-as-server.jar
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.ide.eclipse.as.test/serverMock/7.0.0.mf.jboss-as-server.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/ServerRuntimeUtils.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/ServerRuntimeUtils.java 2011-06-24 10:49:20 UTC (rev 32347)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/ServerRuntimeUtils.java 2011-06-24 10:51:17 UTC (rev 32348)
@@ -67,23 +67,25 @@
public static final String twiddle_5_0_1 = "5.0.1" + twiddle_suffix;
public static final String twiddle_5_1_0 = "5.1.0" + twiddle_suffix;
public static final String twiddle_6_0_0 = "6.0.0" + twiddle_suffix;
+ public static final String as_server_7_0_jar = "7.0.0.mf.jboss-as-server.jar";
public static final String twiddle_eap_4_3 = "eap4.3" + twiddle_suffix;
public static final String twiddle_eap_5_0 = "eap5.0" + twiddle_suffix;
public static final String run_jar = "run.jar";
public static final String service_xml = "service.xml";
public static final IPath mockedServers = ASTest.getDefault().getStateLocation().append("mockedServers");
- public static HashMap<String, String> twiddleMap = new HashMap<String, String>();
+ public static HashMap<String, String> asSystemJar = new HashMap<String, String>();
public static HashMap<String, String> serverRuntimeMap = new HashMap<String, String>();
static {
- twiddleMap.put(IJBossToolingConstants.SERVER_AS_32, twiddle_3_2_8);
- twiddleMap.put(IJBossToolingConstants.SERVER_AS_40, twiddle_4_0_5);
- twiddleMap.put(IJBossToolingConstants.SERVER_AS_42, twiddle_4_2_3);
- twiddleMap.put(IJBossToolingConstants.SERVER_AS_50, twiddle_5_0_0);
- twiddleMap.put(IJBossToolingConstants.SERVER_AS_51, twiddle_5_1_0);
- twiddleMap.put(IJBossToolingConstants.SERVER_AS_60, twiddle_6_0_0);
- twiddleMap.put(IJBossToolingConstants.SERVER_EAP_43, twiddle_eap_4_3);
- twiddleMap.put(IJBossToolingConstants.SERVER_EAP_50, twiddle_eap_5_0);
+ asSystemJar.put(IJBossToolingConstants.SERVER_AS_32, twiddle_3_2_8);
+ asSystemJar.put(IJBossToolingConstants.SERVER_AS_40, twiddle_4_0_5);
+ asSystemJar.put(IJBossToolingConstants.SERVER_AS_42, twiddle_4_2_3);
+ asSystemJar.put(IJBossToolingConstants.SERVER_AS_50, twiddle_5_0_0);
+ asSystemJar.put(IJBossToolingConstants.SERVER_AS_51, twiddle_5_1_0);
+ asSystemJar.put(IJBossToolingConstants.SERVER_AS_60, twiddle_6_0_0);
+ asSystemJar.put(IJBossToolingConstants.SERVER_AS_70, as_server_7_0_jar);
+ asSystemJar.put(IJBossToolingConstants.SERVER_EAP_43, twiddle_eap_4_3);
+ asSystemJar.put(IJBossToolingConstants.SERVER_EAP_50, twiddle_eap_5_0);
serverRuntimeMap.put(IJBossToolingConstants.SERVER_AS_32, IJBossToolingConstants.AS_32);
serverRuntimeMap.put(IJBossToolingConstants.SERVER_AS_40, IJBossToolingConstants.AS_40);
@@ -145,7 +147,10 @@
public static IServer createMockServerWithRuntime(String serverType, String name, String config) {
try {
- IPath serverDir = createMockServerDirectory(name, twiddleMap.get(serverType), config);
+ if( serverType.equals(IJBossToolingConstants.SERVER_AS_70))
+ return createMockJBoss7Server();
+
+ IPath serverDir = createAS6AndBelowMockServerDirectory(name, asSystemJar.get(serverType), config);
return createServer(serverRuntimeMap.get(serverType), serverType, serverDir.toOSString(), config);
} catch( CoreException ce ) {
}
@@ -174,7 +179,7 @@
}
public static IServer create70Server() throws CoreException {
- return createServer(IJBossToolingConstants.AS_70, IJBossToolingConstants.SERVER_AS_70, ASTest.JBOSS_AS_70_HOME, DEFAULT_CONFIG);
+ return createServer(IJBossToolingConstants.AS_70, IJBossToolingConstants.SERVER_AS_70, ASTest.JBOSS_AS_70_HOME, /* irrelevant */ DEFAULT_CONFIG);
}
public static IServer createServer(String runtimeID, String serverID,
@@ -226,7 +231,7 @@
- public static IPath createMockServerDirectory(String name, String twiddleJar, String configurationName ) {
+ public static IPath createAS6AndBelowMockServerDirectory(String name, String twiddleJar, String configurationName ) {
IPath loc = mockedServers.append(name);
try {
loc.toFile().mkdirs();
14 years, 9 months
JBoss Tools SVN: r32347 - in trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test: projectcreation and 5 other directories.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-06-24 06:49:20 -0400 (Fri, 24 Jun 2011)
New Revision: 32347
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/defects/DefectTest.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/projectcreation/NewTargetedWebProjectTest.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/projectcreation/TestEar5WithJBossRuntime.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/AbstractDeploymentTest.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE1104Test.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE2512aTest.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE2512bTest.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE4184Test.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/AbstractJSTDeploymentTester.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/JSTDeployBinaryChildModuleTest.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/JSTDeploymentTester.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/JSTDeploymentWarUpdateXML.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/JSTZippedDeploymentTester.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockJSTPublisherTest.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockJSTPublisherTestDynUtil.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockPublishMethod.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/SingleFileDeployableMockDeploymentTester.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/SingleFileDeploymentTester.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/server/JBossManagerTest.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/server/JBossServerAPITest.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/server/MockTests.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/IOUtil.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/ServerRuntimeUtils.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/JavaEEFacetConstants.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/OperationTestCase.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/PostBuildListener.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/ProjectCreationUtil.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/ProjectUtility.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/TaskViewUtility.java
Log:
[JBIDE-9247] added copyright headers where missing in the tests
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/defects/DefectTest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/defects/DefectTest.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/defects/DefectTest.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.defects;
import java.util.Arrays;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/projectcreation/NewTargetedWebProjectTest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/projectcreation/NewTargetedWebProjectTest.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/projectcreation/NewTargetedWebProjectTest.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,5 +1,15 @@
package org.jboss.ide.eclipse.as.test.projectcreation;
+/*******************************************************************************
+ * Copyright (c) 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.util.Iterator;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/projectcreation/TestEar5WithJBossRuntime.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/projectcreation/TestEar5WithJBossRuntime.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/projectcreation/TestEar5WithJBossRuntime.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.projectcreation;
import junit.framework.TestCase;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/AbstractDeploymentTest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/AbstractDeploymentTest.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/AbstractDeploymentTest.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2008 - 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.publishing;
import java.io.File;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE1104Test.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE1104Test.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE1104Test.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.publishing;
import java.io.File;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE2512aTest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE2512aTest.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE2512aTest.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2008 - 2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.publishing;
import java.io.File;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE2512bTest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE2512bTest.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE2512bTest.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2008 - 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.publishing;
import junit.framework.AssertionFailedError;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE4184Test.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE4184Test.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE4184Test.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2008 -2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.publishing;
import java.io.File;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/AbstractJSTDeploymentTester.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/AbstractJSTDeploymentTester.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/AbstractJSTDeploymentTester.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.publishing.v2;
import java.io.File;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/JSTDeployBinaryChildModuleTest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/JSTDeployBinaryChildModuleTest.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/JSTDeployBinaryChildModuleTest.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2010 - 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.publishing.v2;
import java.io.File;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/JSTDeploymentTester.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/JSTDeploymentTester.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/JSTDeploymentTester.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2009 - 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.publishing.v2;
import java.io.IOException;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/JSTDeploymentWarUpdateXML.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/JSTDeploymentWarUpdateXML.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/JSTDeploymentWarUpdateXML.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2010 - 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.publishing.v2;
import java.io.IOException;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/JSTZippedDeploymentTester.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/JSTZippedDeploymentTester.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/JSTZippedDeploymentTester.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2010 - 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.publishing.v2;
import java.io.File;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockJSTPublisherTest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockJSTPublisherTest.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockJSTPublisherTest.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.publishing.v2;
import java.io.IOException;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockJSTPublisherTestDynUtil.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockJSTPublisherTestDynUtil.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockJSTPublisherTestDynUtil.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,5 +1,14 @@
package org.jboss.ide.eclipse.as.test.publishing.v2;
-
+/*******************************************************************************
+ * Copyright (c) 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
import java.io.IOException;
import java.util.Arrays;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockPublishMethod.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockPublishMethod.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockPublishMethod.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.publishing.v2;
import java.io.File;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/SingleFileDeployableMockDeploymentTester.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/SingleFileDeployableMockDeploymentTester.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/SingleFileDeployableMockDeploymentTester.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,5 +1,15 @@
package org.jboss.ide.eclipse.as.test.publishing.v2;
+/*******************************************************************************
+ * Copyright (c) 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
import java.io.File;
import java.io.IOException;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/SingleFileDeploymentTester.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/SingleFileDeploymentTester.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/SingleFileDeploymentTester.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.publishing.v2;
import java.io.File;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/server/JBossManagerTest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/server/JBossManagerTest.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/server/JBossManagerTest.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.server;
import static org.junit.Assert.assertNotNull;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/server/JBossServerAPITest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/server/JBossServerAPITest.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/server/JBossServerAPITest.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.server;
import org.eclipse.core.runtime.CoreException;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/server/MockTests.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/server/MockTests.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/server/MockTests.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.server;
import junit.framework.TestCase;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/IOUtil.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/IOUtil.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/IOUtil.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2010 - 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.util;
import java.io.BufferedInputStream;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/ServerRuntimeUtils.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/ServerRuntimeUtils.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/ServerRuntimeUtils.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2009 - 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.util;
import java.io.File;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/JavaEEFacetConstants.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/JavaEEFacetConstants.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/JavaEEFacetConstants.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.util.wtp;
import org.eclipse.wst.common.componentcore.internal.util.IModuleConstants;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/OperationTestCase.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/OperationTestCase.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/OperationTestCase.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.util.wtp;
import java.util.List;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/PostBuildListener.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/PostBuildListener.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/PostBuildListener.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.util.wtp;
import org.eclipse.core.resources.IResourceChangeEvent;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/ProjectCreationUtil.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/ProjectCreationUtil.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/ProjectCreationUtil.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2009 - 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.util.wtp;
import java.util.ArrayList;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/ProjectUtility.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/ProjectUtility.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/ProjectUtility.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.util.wtp;
import java.io.File;
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/TaskViewUtility.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/TaskViewUtility.java 2011-06-24 09:51:19 UTC (rev 32346)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/util/wtp/TaskViewUtility.java 2011-06-24 10:49:20 UTC (rev 32347)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.test.util.wtp;
import java.util.ArrayList;
14 years, 9 months
JBoss Tools SVN: r32346 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-06-24 05:51:19 -0400 (Fri, 24 Jun 2011)
New Revision: 32346
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/LocalJBossServerStartupLaunchUtil.java
Log:
[JBIDE-9125] renamed method to better reflect its purpose
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/LocalJBossServerStartupLaunchUtil.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/LocalJBossServerStartupLaunchUtil.java 2011-06-24 09:48:02 UTC (rev 32345)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/LocalJBossServerStartupLaunchUtil.java 2011-06-24 09:51:19 UTC (rev 32346)
@@ -132,7 +132,7 @@
String args = wc.getAttribute(IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS, ""); //$NON-NLS-1$
String host = jbs.getServer().getHost();
args = updateHostArgument(host, args);
- args = updateRuntimeArgument(args, runtime);
+ args = updateServerHomeArgument(args, runtime);
wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS, args.trim());
}
@@ -144,7 +144,7 @@
IJBossRuntimeResourceConstants.ENDORSED).toOSString(), true);
}
- private String updateRuntimeArgument(String args, IJBossServerRuntime runtime) {
+ private String updateServerHomeArgument(String args, IJBossServerRuntime runtime) {
String config = runtime.getJBossConfiguration();
args = ArgsUtil.setArg(args,
IJBossRuntimeConstants.STARTUP_ARG_CONFIG_SHORT,
14 years, 9 months