JBoss Tools SVN: r6292 - trunk/documentation/qa.
by jbosstools-commits@lists.jboss.org
Author: anis
Date: 2008-02-13 07:36:15 -0500 (Wed, 13 Feb 2008)
New Revision: 6292
Removed:
trunk/documentation/qa/RHDS Testcases 19092007.doc
trunk/documentation/qa/RHDS Testcases 26092007.doc
trunk/documentation/qa/RedHatDevStudio Testcases.zip
Log:
Removed file/folder
Deleted: trunk/documentation/qa/RHDS Testcases 19092007.doc
===================================================================
(Binary files differ)
Deleted: trunk/documentation/qa/RHDS Testcases 26092007.doc
===================================================================
(Binary files differ)
Deleted: trunk/documentation/qa/RedHatDevStudio Testcases.zip
===================================================================
(Binary files differ)
16 years, 4 months
JBoss Tools SVN: r6291 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-02-13 04:33:10 -0500 (Wed, 13 Feb 2008)
New Revision: 6291
Modified:
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/RefactoringTest.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1558
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/RefactoringTest.java
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/RefactoringTest.java 2008-02-13 09:33:05 UTC (rev 6290)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/RefactoringTest.java 2008-02-13 09:33:10 UTC (rev 6291)
@@ -10,6 +10,7 @@
******************************************************************************/
package org.hibernate.eclipse.console.test;
+import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
@@ -123,7 +124,12 @@
try {
IPath newPath = generateNewPathForSegment(i);
String oldMemento = runtimeClasspathEntries[j].getMemento();
- String newMemento = HibernateRefactoringUtil.getUpdatedMemento(oldMemento, newPath, oldPathPart);
+ List<String> oldMementos = new ArrayList<String>();
+ List<String> newMementos = new ArrayList<String>();
+ oldMementos.add(runtimeClasspathEntries[j].getMemento());
+ boolean isChanged = HibernateRefactoringUtil.updateClasspathEntries(new IRuntimeClasspathEntry[]{runtimeClasspathEntries[j]}, oldMementos, newMementos, oldPathPart, newPath);
+ assertTrue(isChanged);
+ String newMemento = newMementos.get(0);
checkMementoChanged(oldMemento, newMemento, oldPathPart, newPath);
} catch (CoreException e) {
fail("CoreException occured when try to work with memento." + e.getMessage());
16 years, 4 months
JBoss Tools SVN: r6290 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-02-13 04:33:05 -0500 (Wed, 13 Feb 2008)
New Revision: 6290
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/HibernateRefactoringUtil.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1558
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/HibernateRefactoringUtil.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/HibernateRefactoringUtil.java 2008-02-13 08:44:47 UTC (rev 6289)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/HibernateRefactoringUtil.java 2008-02-13 09:33:05 UTC (rev 6290)
@@ -27,6 +27,7 @@
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
+import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IStatus;
@@ -139,7 +140,11 @@
//classpath
try {
- updateClasspathEntries(config, oldPath, newPath, wc);
+ IRuntimeClasspathEntry[] entries = JavaRuntime.computeUnresolvedRuntimeClasspath(config);
+ List oldMementos = config.getAttribute(IJavaLaunchConfigurationConstants.ATTR_CLASSPATH, Collections.EMPTY_LIST);
+ List<String> newMementos = new ArrayList<String>();
+ boolean isChanged = updateClasspathEntries(entries, oldMementos, newMementos, oldPath, newPath);
+ if (isChanged) wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_CLASSPATH, newMementos);
}
catch (CoreException e) {
HibernateConsolePlugin.getDefault().log( e );
@@ -152,17 +157,18 @@
return config;
}
}
-
- private static void updateClasspathEntries(ILaunchConfiguration config,
- IPath oldPath, IPath newPath,
- final ILaunchConfigurationWorkingCopy wc)
+
+ /*
+ * Use IRuntimeClasspathEntry[] and oldMementos instead of entries[i].getMemento(), because
+ * when resource renamed instead of internalArchive you can have externalArchive.
+ */
+ public static boolean updateClasspathEntries(IRuntimeClasspathEntry[] entries, List<String> oldMementos, List<String> newMementos, IPath oldPath, IPath newPath)
throws CoreException {
+ Assert.isNotNull(newMementos);
+ Assert.isNotNull(entries.length == oldMementos.size());
boolean isChanged = false;
String attrib;
String projName;
- IRuntimeClasspathEntry[] entries = JavaRuntime.computeUnresolvedRuntimeClasspath(config);
- List<String> oldMementos = config.getAttribute(IJavaLaunchConfigurationConstants.ATTR_CLASSPATH, Collections.EMPTY_LIST);
- List<String> newMementos = new ArrayList<String>(entries.length);
for (int i = 0; i < entries.length; i++) {
IRuntimeClasspathEntry entry = entries[i];
attrib = entry.getPath() == null ? null
@@ -181,10 +187,10 @@
newMementos.add(entries[i].getMemento());
}
}
- if (isChanged) wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_CLASSPATH, newMementos);
+ return isChanged;
}
- public static String getUpdatedMemento(String memento, IPath newPath, IPath oldPath) throws CoreException{
+ private static String getUpdatedMemento(String memento, IPath newPath, IPath oldPath) throws CoreException{
String error_mess = "Error occured while updating classpath.";
DocumentBuilder builder;
try {
@@ -214,7 +220,7 @@
if (attrNames[j].equals("projectName") || attrNames[j].equals("javaProject")){
changedNode.setNodeValue(newPath.lastSegment());
} else {
- changedNode.setNodeValue(getUpdatedPath(changedNode.getNodeValue(), oldPath, newPath).toString());
+ changedNode.setNodeValue(newPath.toString());
}
}
}
@@ -262,22 +268,6 @@
}
}
- /*public static IRuntimeClasspathEntry getUpdatedEntry(IPath oldPath,
- IPath newPath, IRuntimeClasspathEntry entry) {
- String attrib = getUpdatedPath(entry.getPath().toString(), oldPath, newPath);
- IPath p = new Path(attrib).makeAbsolute();
-
- switch (entry.getClasspathEntry().getEntryKind()) {
- case IClasspathEntry.CPE_PROJECT:
- entry = new RuntimeClasspathEntry( JavaCore.newProjectEntry(p));
- break;
- default:
- entry = JavaRuntime.newArchiveRuntimeClasspathEntry(p);
- break;
- }
- return entry;
- }*/
-
private static void updateAttributes(IPath oldPath, IPath newPath,
final ILaunchConfigurationWorkingCopy wc) throws CoreException {
String attrib = null;
16 years, 4 months
JBoss Tools SVN: r6289 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2008-02-13 03:44:47 -0500 (Wed, 13 Feb 2008)
New Revision: 6289
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesCalendarTemplate.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1682, source selection corrected
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesCalendarTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesCalendarTemplate.java 2008-02-12 22:09:22 UTC (rev 6288)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesCalendarTemplate.java 2008-02-13 08:44:47 UTC (rev 6289)
@@ -23,6 +23,7 @@
import org.jboss.tools.jsf.vpe.richfaces.ComponentUtil;
import org.jboss.tools.jsf.vpe.richfaces.HtmlComponentUtil;
+import org.jboss.tools.vpe.editor.VpeSourceDomBuilder;
import org.jboss.tools.vpe.editor.VpeVisualDomBuilder;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
@@ -202,7 +203,21 @@
ComponentUtil.setCSSLink(pageContext, STYLE_PATH, "calendar");
nsIDOMElement div = visualDocument
.createElement(HtmlComponentUtil.HTML_TAG_DIV);
- VpeCreationData creationData = new VpeCreationData(div);
+
+ nsIDOMElement resultTable = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TABLE);
+ nsIDOMElement resultTD = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TD);
+ nsIDOMElement resultTR = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TR);
+
+ resultTD.appendChild(div);
+ resultTR.appendChild(resultTD);
+ resultTable.appendChild(resultTR);
+
+ VpeCreationData creationData = new VpeCreationData(resultTable);
+
+
nsIDOMElement calendar;
nsIDOMElement calendarWithPopup;
if ("false".equalsIgnoreCase(popup)) {
@@ -977,4 +992,12 @@
String toggleId) {
showPopupCalendar = !showPopupCalendar;
}
+
+ @Override
+ public void setSourceAttributeSelection(VpePageContext pageContext,
+ Element sourceElement, int offset, int length, Object data) {
+ VpeSourceDomBuilder sourceBuilder = pageContext.getSourceBuilder();
+ sourceBuilder.setSelection(sourceElement, 0, 0);
+ }
+
}
16 years, 4 months
JBoss Tools SVN: r6288 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2008-02-12 17:09:22 -0500 (Tue, 12 Feb 2008)
New Revision: 6288
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java
Log:
fix NPE under windows
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java 2008-02-12 21:44:26 UTC (rev 6287)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java 2008-02-12 22:09:22 UTC (rev 6288)
@@ -212,7 +212,7 @@
TestUtil.waitForJobs();
// wait full initialization of vpe
// commented by dgolovin to get rid of jvm error [libexpat.so.0+0xeff4]
- // TestUtil.delay(1000);
+ TestUtil.delay(1000);
return part;
16 years, 4 months
JBoss Tools SVN: r6287 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2008-02-12 16:44:26 -0500 (Tue, 12 Feb 2008)
New Revision: 6287
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java
Log:
fix NPE under windows
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java 2008-02-12 20:33:32 UTC (rev 6286)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java 2008-02-12 21:44:26 UTC (rev 6287)
@@ -182,7 +182,7 @@
assertNotNull(editor);
TestUtil.waitForJobs();
- //TestUtil.delay(1000);
+ TestUtil.delay(1000);
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()
.closeAllEditors(true);
16 years, 4 months
JBoss Tools SVN: r6286 - trunk/as/plugins/org.jboss.ide.eclipse.as.core.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2008-02-12 15:33:32 -0500 (Tue, 12 Feb 2008)
New Revision: 6286
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
Log:
JBIDE-1774 - plugin.xml adding runtime and server
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2008-02-12 19:54:42 UTC (rev 6285)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2008-02-12 20:33:32 UTC (rev 6286)
@@ -73,14 +73,6 @@
startTimeout="450000"
stopTimeout="450000"
supportsRemoteHosts="false"/>
-
- <serverType
- class="org.jboss.ide.eclipse.as.core.ServerDelegate1"
- description="description"
- id="org.jboss.ide.eclipse.as.50"
- name="name"
- runtimeTypeId="org.jboss.ide.eclipse.as.core.serverType1">
- </serverType>
</extension>
<extension
16 years, 4 months
JBoss Tools SVN: r6285 - trunk/as/plugins/org.jboss.ide.eclipse.as.core.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2008-02-12 14:54:42 -0500 (Tue, 12 Feb 2008)
New Revision: 6285
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.properties
trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
Log:
JBIDE-1774 - plugin.xml adding runtime and server
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.properties 2008-02-12 19:50:58 UTC (rev 6284)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.properties 2008-02-12 19:54:42 UTC (rev 6285)
@@ -14,6 +14,10 @@
jboss.version.42.version=JBoss 4.2
jboss.version.42.description=JBoss Application Server 4.2
+jboss.version.50.name=JBoss AS 5.0
+jboss.version.50.version=JBoss 5.0
+jboss.version.50.description=JBoss Application Server 5.0
+
# service names
jboss.ejb.deployer=JBoss Enterprise JavaBeans (EJB-JAR) Deployer
jboss.war.deployer=JBoss Web Application (WAR) Deployer
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2008-02-12 19:50:58 UTC (rev 6284)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2008-02-12 19:54:42 UTC (rev 6285)
@@ -56,23 +56,31 @@
startTimeout="450000"
stopTimeout="450000"
supportsRemoteHosts="false"/>
-
+
<serverType
- behaviourClass="org.jboss.ide.eclipse.as.core.server.internal.DeployableServerBehavior"
- class="org.jboss.ide.eclipse.as.core.server.internal.DeployableServer"
- description="A server which only provides a deploy folder for publishing."
+ behaviourClass="org.jboss.ide.eclipse.as.core.server.internal.JBossServerBehavior"
+ class="org.jboss.ide.eclipse.as.core.server.internal.JBossServer50"
+ description="%jboss.version.50.description"
hasConfiguration="false"
- id="org.jboss.ide.eclipse.as.systemCopyServer"
+ id="org.jboss.ide.eclipse.as.50"
initialState="stopped"
- launchConfigId="org.jboss.ide.eclipse.as.core.server.stripped.launchConfiguration"
- launchModes="run"
- name="JBoss Deploy-Only Server"
+ launchConfigId="org.jboss.ide.eclipse.as.core.server.startupConfiguration"
+ launchModes="run,debug,profile"
+ name="%jboss.version.50.name"
runtime="true"
- runtimeTypeId="org.jboss.ide.eclipse.as.runtime.stripped"
+ runtimeTypeId="org.jboss.ide.eclipse.as.runtime.50"
startBeforePublish="false"
- startTimeout="100000"
- stopTimeout="100000"
- supportsRemoteHosts="true"/>
+ startTimeout="450000"
+ stopTimeout="450000"
+ supportsRemoteHosts="false"/>
+
+ <serverType
+ class="org.jboss.ide.eclipse.as.core.ServerDelegate1"
+ description="description"
+ id="org.jboss.ide.eclipse.as.50"
+ name="name"
+ runtimeTypeId="org.jboss.ide.eclipse.as.core.serverType1">
+ </serverType>
</extension>
<extension
@@ -158,6 +166,35 @@
types="jboss.singlefile"
versions="1.0"/>
</runtimeType>
+ <runtimeType
+ vendor="%providerName"
+ class="org.jboss.ide.eclipse.as.core.server.internal.JBoss50ServerRuntime"
+ description="%jboss.version.50.description"
+ name="JBoss 5.0 Runtime"
+ id="org.jboss.ide.eclipse.as.runtime.50"
+ version="5.0">
+ <moduleType
+ types="jst.web"
+ versions="2.2, 2.3, 2.4, 2.5"/>
+ <moduleType
+ types="jst.ejb"
+ versions="1.0, 1.1, 2.0, 2.1, 3.0"/>
+ <moduleType
+ types="jst.ear"
+ versions="1.2, 1.3, 1.4, 5.0"/>
+ <moduleType
+ types="jst.connector"
+ versions="1.0, 1.5"/>
+ <moduleType
+ types="jst.utility"
+ versions="1.0"/>
+ <moduleType
+ types="jboss.package"
+ versions="1.0"/>
+ <moduleType
+ types="jboss.singlefile"
+ versions="1.0"/>
+ </runtimeType>
@@ -328,6 +365,10 @@
runtimeTypeId="org.jboss.ide.eclipse.as.runtime.42"
runtime-component="org.jboss.ide.eclipse.as.runtime.component"
version="4.2"/>
+ <runtimeFacetMapping
+ runtimeTypeId="org.jboss.ide.eclipse.as.runtime.50"
+ runtime-component="org.jboss.ide.eclipse.as.runtime.component"
+ version="5.0"/>
<runtimeFacetMapping
runtimeTypeId="org.jboss.ide.eclipse.as.runtime.stripped"
runtime-component="org.jboss.ide.eclipse.as.runtime.stripped.component"
@@ -368,6 +409,9 @@
<runtime-component-version
type="org.jboss.ide.eclipse.as.runtime.component"
version="4.2"/>
+ <runtime-component-version
+ type="org.jboss.ide.eclipse.as.runtime.component"
+ version="5.0"/>
@@ -408,6 +452,18 @@
<facet id="jst.ear" version="1.2,1.3,1.4,5.0"/>
<facet id="jst.appclient" version="1.2,1.3,1.4,5.0"/>
</supported>
+
+ <supported>
+ <runtime-component
+ id="org.jboss.ide.eclipse.as.runtime.component"
+ version="5.0"/>
+ <facet id="jst.web" version="2.2,2.3,2.4,2.5"/>
+ <facet id="jst.java" version="1.3,1.4,5.0,6.0"/>
+ <facet id="jst.utility" version="1.0"/>
+ <facet id="jst.ejb" version="2.0,2.1,3.0"/>
+ <facet id="jst.ear" version="1.2,1.3,1.4,5.0"/>
+ <facet id="jst.appclient" version="1.2,1.3,1.4,5.0"/>
+ </supported>
</extension>
16 years, 4 months
JBoss Tools SVN: r6284 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/descriptors.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2008-02-12 14:50:58 -0500 (Tue, 12 Feb 2008)
New Revision: 6284
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/descriptors/XPathModel.java
Log:
JBIDE-1774 - null check
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/descriptors/XPathModel.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/descriptors/XPathModel.java 2008-02-12 19:44:01 UTC (rev 6283)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/descriptors/XPathModel.java 2008-02-12 19:50:58 UTC (rev 6284)
@@ -276,6 +276,8 @@
Path p = (Path)rtToPortsFile.get(ajbsr.getId());
if( p == null ) return;
URL url = FileLocator.find(JBossServerCorePlugin.getDefault().getBundle(), p, null);
+ if( url == null ) return;
+
Properties pr = new Properties();
try {
pr.load(url.openStream());
16 years, 4 months
JBoss Tools SVN: r6283 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2008-02-12 14:44:01 -0500 (Tue, 12 Feb 2008)
New Revision: 6283
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/JMXPoller.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/ProcessTerminatedPoller.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/TimeoutPoller.java
Log:
JBIDE-1774 - each poller given its own ID to aid giving jboss 5 a specific default poller
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/JMXPoller.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/JMXPoller.java 2008-02-12 19:42:39 UTC (rev 6282)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/JMXPoller.java 2008-02-12 19:44:01 UTC (rev 6283)
@@ -50,6 +50,8 @@
*/
public class JMXPoller implements IServerStatePoller {
+ public static final String POLLER_ID = "org.jboss.ide.eclipse.as.core.runtime.server.JMXPoller";
+
public static final String STARTED_PROPERTY = "org.jboss.ide.eclipse.as.core.extensions.polling.jmx.STARTED_PROPERTY";
public static final String EVENT_TYPE_STARTING = "org.jboss.ide.eclipse.as.core.extensions.polling.jmx.eventTypes.STARTING";
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/ProcessTerminatedPoller.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/ProcessTerminatedPoller.java 2008-02-12 19:42:39 UTC (rev 6282)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/ProcessTerminatedPoller.java 2008-02-12 19:44:01 UTC (rev 6283)
@@ -38,6 +38,8 @@
*/
public class ProcessTerminatedPoller implements IServerStatePoller {
+ public static final String POLLER_ID = "org.jboss.ide.eclipse.as.core.runtime.server.processTerminatedPoller";
+
private JBossServerBehavior server;
public void beginPolling(IServer server, boolean expectedState,
PollThread pt) {
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/TimeoutPoller.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/TimeoutPoller.java 2008-02-12 19:42:39 UTC (rev 6282)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/TimeoutPoller.java 2008-02-12 19:44:01 UTC (rev 6283)
@@ -37,7 +37,8 @@
*
*/
public class TimeoutPoller implements IServerStatePoller {
-
+ public static final String POLLER_ID = "org.jboss.ide.eclipse.as.core.runtime.server.timeoutpoller";
+
private boolean expectedState;
private long endTime;
private IServer server;
16 years, 4 months