JBoss Tools SVN: r32436 - 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-29 06:48:56 -0400 (Wed, 29 Jun 2011)
New Revision: 32436
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/StopLaunchConfiguration.java
Log:
[JBIDE-9225] removed inherited class since the inherited parts are not used!
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/StopLaunchConfiguration.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/StopLaunchConfiguration.java 2011-06-29 10:46:38 UTC (rev 32435)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/StopLaunchConfiguration.java 2011-06-29 10:48:56 UTC (rev 32436)
@@ -73,11 +73,6 @@
}
}
- public void preLaunch(ILaunchConfiguration configuration,
- String mode, ILaunch launch, IProgressMonitor monitor) {
- }
-
-
private static ILaunchConfigurationWorkingCopy createLaunchConfiguration(IServer server) throws CoreException {
JBossServer jbs = ServerConverter.checkedGetJBossServer(server);
IJBossServerRuntime jbrt = RuntimeUtils.checkedGetJBossServerRuntime(server);
13 years, 6 months
JBoss Tools SVN: r32435 - 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-29 06:46:38 -0400 (Wed, 29 Jun 2011)
New Revision: 32435
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/StopLaunchConfiguration.java
Log:
[JBIDE-9225] removed inherited class since the inherited parts are not used!
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/StopLaunchConfiguration.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/StopLaunchConfiguration.java 2011-06-29 10:40:56 UTC (rev 32434)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/StopLaunchConfiguration.java 2011-06-29 10:46:38 UTC (rev 32435)
@@ -44,7 +44,7 @@
import org.jboss.ide.eclipse.as.core.util.ServerUtil;
-public class StopLaunchConfiguration extends AbstractJBossLaunchConfigType {
+public class StopLaunchConfiguration {
public static final String STOP_LAUNCH_TYPE = "org.jboss.ide.eclipse.as.core.server.stopLaunchConfiguration"; //$NON-NLS-1$
public static final String STOP_MAIN_TYPE = IJBossRuntimeConstants.SHUTDOWN_MAIN_TYPE;
13 years, 6 months
JBoss Tools SVN: r32434 - trunk/forge/tests/org.jboss.tools.forge.core.test.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2011-06-29 06:40:56 -0400 (Wed, 29 Jun 2011)
New Revision: 32434
Modified:
trunk/forge/tests/org.jboss.tools.forge.core.test/
Log:
add bin folder to svn ignore
Property changes on: trunk/forge/tests/org.jboss.tools.forge.core.test
___________________________________________________________________
Added: svn:ignore
+ bin
13 years, 6 months
JBoss Tools SVN: r32433 - trunk/forge.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2011-06-29 06:36:17 -0400 (Wed, 29 Jun 2011)
New Revision: 32433
Modified:
trunk/forge/
Log:
add .project to svn ignore
Property changes on: trunk/forge
___________________________________________________________________
Added: svn:ignore
+ .project
13 years, 6 months
JBoss Tools SVN: r32432 - in trunk/hibernatetools/plugins/org.hibernate.eclipse.console: src/org/hibernate/eclipse and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2011-06-29 06:21:36 -0400 (Wed, 29 Jun 2011)
New Revision: 32432
Removed:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/libsimport/
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.properties
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
Log:
https://issues.jboss.org/browse/JBIDE-9238
Remove the automatic import of internal hibernate tools jars made possible via JBIDE-6098
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.properties
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.properties 2011-06-29 10:19:34 UTC (rev 32431)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.properties 2011-06-29 10:21:36 UTC (rev 32432)
@@ -11,5 +11,4 @@
#NavigatorContent_HibernateKnownConfigs=Hibernate Known Configurations
exportHibernateAntCodeGenerationWizardName=Ant Code Generation
exportHibernateAntCodeGenerationWizardDescription=Export Hibernate Code Generation Configuration to Ant Code Generation script
-importHibernateLibsWizardName=Hibernate Jars
-importHibernateLibsWizardDescription=Import Hibernate Jars into project
+
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml 2011-06-29 10:19:34 UTC (rev 32431)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml 2011-06-29 10:21:36 UTC (rev 32432)
@@ -802,23 +802,6 @@
name="Hibernate">
</category>
</extension>
- <extension
- point="org.eclipse.ui.importWizards">
- <wizard
- category="org.hibernate.eclipse.console.HibernateToolsImport"
- class="org.hibernate.eclipse.libsimport.ImportHibernateJarsWizard"
- icon="icons/images/ant_codegen_export.gif"
- id="org.hibernate.eclipse.libsimport.ImportHibernateJarsWizard"
- name="%importHibernateLibsWizardName">
- <description>
- %importHibernateLibsWizardDescription
- </description>
- </wizard>
- <category
- id="org.hibernate.eclipse.console.HibernateToolsImport"
- name="Hibernate">
- </category>
- </extension>
<!-- <extension
point="org.eclipse.ui.themes">
<themeElementCategory
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java 2011-06-29 10:19:34 UTC (rev 32431)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java 2011-06-29 10:21:36 UTC (rev 32432)
@@ -530,11 +530,6 @@
public static String ExportAntCodeGenWizardPage_error_in_hibernate_code_generation_configuration;
public static String ExportAntCodeGenWizardPage_warning;
- public static String ImportHibernateJarsWizard_title;
- public static String ImportHibernateJarsWizardPage_title;
- public static String ImportHibernateJarsWizardPage_description;
- public static String ImportHibernateJarsWizardPage_error_message;
-
public static String QueryParametersPage_add_query_parameter_tooltip;
public static String QueryParametersPage_remove_query_parameter_tooltip;
public static String QueryParametersPage_enable_disable_parameters_tooltip;
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2011-06-29 10:19:34 UTC (rev 32431)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2011-06-29 10:21:36 UTC (rev 32432)
@@ -530,11 +530,6 @@
ExportAntCodeGenWizardPage_error_in_hibernate_code_generation_configuration=Error in Hibernate Code Generation Configuration: ''{0}''
ExportAntCodeGenWizardPage_warning=Warning: ''{0}'' already exists.
-ImportHibernateJarsWizard_title=Import Hibernate Jars
-ImportHibernateJarsWizardPage_title=Hibernate Jars
-ImportHibernateJarsWizardPage_description=Import Hibernate Jars from Hibernate Tools plugin.
-ImportHibernateJarsWizardPage_error_message=Hibernate Jars folder does not exist.
-
QueryParametersPage_add_query_parameter_tooltip=Add Query Parameter
QueryParametersPage_remove_query_parameter_tooltip=Remove Query Parameter
QueryParametersPage_enable_disable_parameters_tooltip=Enable/Disable Parameters
13 years, 6 months
JBoss Tools SVN: r32431 - trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/perspective/test.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-06-29 06:19:34 -0400 (Wed, 29 Jun 2011)
New Revision: 32431
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/perspective/test/ASPerspectiveTest.java
Log:
[JBIDE-9225] removed ASPerspecitveTest from the test suite, marked the test as deprecated and commented its methods
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/perspective/test/ASPerspectiveTest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/perspective/test/ASPerspectiveTest.java 2011-06-29 10:18:58 UTC (rev 32430)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/perspective/test/ASPerspectiveTest.java 2011-06-29 10:19:34 UTC (rev 32431)
@@ -2,25 +2,31 @@
import junit.framework.TestCase;
+import org.eclipse.ui.IPerspectiveDescriptor;
+import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.PlatformUI;
+import org.jboss.ide.eclipse.as.ui.perspective.ASPerspective;
+import org.jboss.ide.eclipse.as.ui.views.ServerLogView;
+
@Deprecated
public class ASPerspectiveTest extends TestCase {
-// @Override
-// protected void setUp() throws Exception {
-// PlatformUI.getWorkbench()
-// .getActiveWorkbenchWindow().getActivePage().setPerspective(
-// PlatformUI.getWorkbench().getPerspectiveRegistry().findPerspectiveWithId(ASPerspective.ID));
-// }
+ @Override
+ protected void setUp() throws Exception {
+ PlatformUI.getWorkbench()
+ .getActiveWorkbenchWindow().getActivePage().setPerspective(
+ PlatformUI.getWorkbench().getPerspectiveRegistry().findPerspectiveWithId(ASPerspective.ID));
+ }
-// public void testASPerspective() {
-// IPerspectiveDescriptor perspective = PlatformUI.getWorkbench()
-// .getActiveWorkbenchWindow().getActivePage().getPerspective();
-// assertEquals(perspective.getLabel(),"JBoss AS");
-// }
-//
-// public void testServerLogView() throws PartInitException {
-// PlatformUI.getWorkbench().getActiveWorkbenchWindow()
-// .getActivePage().showView(ServerLogView.VIEW_ID);
-// }
+ public void testASPerspective() {
+ IPerspectiveDescriptor perspective = PlatformUI.getWorkbench()
+ .getActiveWorkbenchWindow().getActivePage().getPerspective();
+ assertEquals(perspective.getLabel(),"JBoss AS");
+ }
+ public void testServerLogView() throws PartInitException {
+ PlatformUI.getWorkbench().getActiveWorkbenchWindow()
+ .getActivePage().showView(ServerLogView.VIEW_ID);
+ }
+
}
13 years, 6 months
JBoss Tools SVN: r32430 - in trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui: test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-06-29 06:18:58 -0400 (Wed, 29 Jun 2011)
New Revision: 32430
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/perspective/test/ASPerspectiveTest.java
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/test/AsUiAllTests.java
Log:
[JBIDE-9225] removed ASPerspecitveTest from the test suite, marked the test as deprecated and commented its methods
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/perspective/test/ASPerspectiveTest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/perspective/test/ASPerspectiveTest.java 2011-06-29 09:40:54 UTC (rev 32429)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/perspective/test/ASPerspectiveTest.java 2011-06-29 10:18:58 UTC (rev 32430)
@@ -2,30 +2,25 @@
import junit.framework.TestCase;
-import org.eclipse.ui.IPerspectiveDescriptor;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.PlatformUI;
-import org.jboss.ide.eclipse.as.ui.perspective.ASPerspective;
-import org.jboss.ide.eclipse.as.ui.views.ServerLogView;
-
+@Deprecated
public class ASPerspectiveTest extends TestCase {
- @Override
- protected void setUp() throws Exception {
- PlatformUI.getWorkbench()
- .getActiveWorkbenchWindow().getActivePage().setPerspective(
- PlatformUI.getWorkbench().getPerspectiveRegistry().findPerspectiveWithId(ASPerspective.ID));
- }
+// @Override
+// protected void setUp() throws Exception {
+// PlatformUI.getWorkbench()
+// .getActiveWorkbenchWindow().getActivePage().setPerspective(
+// PlatformUI.getWorkbench().getPerspectiveRegistry().findPerspectiveWithId(ASPerspective.ID));
+// }
- public void testASPerspective() {
- IPerspectiveDescriptor perspective = PlatformUI.getWorkbench()
- .getActiveWorkbenchWindow().getActivePage().getPerspective();
- assertEquals(perspective.getLabel(),"JBoss AS");
- }
+// public void testASPerspective() {
+// IPerspectiveDescriptor perspective = PlatformUI.getWorkbench()
+// .getActiveWorkbenchWindow().getActivePage().getPerspective();
+// assertEquals(perspective.getLabel(),"JBoss AS");
+// }
+//
+// public void testServerLogView() throws PartInitException {
+// PlatformUI.getWorkbench().getActiveWorkbenchWindow()
+// .getActivePage().showView(ServerLogView.VIEW_ID);
+// }
- public void testServerLogView() throws PartInitException {
- PlatformUI.getWorkbench().getActiveWorkbenchWindow()
- .getActivePage().showView(ServerLogView.VIEW_ID);
- }
-
}
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/test/AsUiAllTests.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/test/AsUiAllTests.java 2011-06-29 09:40:54 UTC (rev 32429)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/test/AsUiAllTests.java 2011-06-29 10:18:58 UTC (rev 32430)
@@ -1,17 +1,16 @@
package org.jboss.ide.eclipse.as.ui.test;
-import org.jboss.ide.eclipse.as.ui.perspective.test.ASPerspectiveTest;
-import org.jboss.ide.eclipse.as.ui.wizards.test.NewServerWizardTest;
-
import junit.framework.Test;
import junit.framework.TestSuite;
+import org.jboss.ide.eclipse.as.ui.wizards.test.NewServerWizardTest;
+
public class AsUiAllTests {
public static Test suite() {
TestSuite suite = new TestSuite(AsUiAllTests.class.getName());
suite.addTestSuite(NewServerWizardTest.class);
- suite.addTestSuite(ASPerspectiveTest.class);
+// suite.addTestSuite(ASPerspectiveTest.class);
return suite;
}
13 years, 6 months
JBoss Tools SVN: r32429 - 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-29 05:40:54 -0400 (Wed, 29 Jun 2011)
New Revision: 32429
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/StopLaunchConfiguration.java
Log:
[JBIDE-9215] switched to util methods (removed direct access to ILaunchConfigurationWorkingCopy)
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/StopLaunchConfiguration.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/StopLaunchConfiguration.java 2011-06-29 09:39:51 UTC (rev 32428)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/StopLaunchConfiguration.java 2011-06-29 09:40:54 UTC (rev 32429)
@@ -89,7 +89,7 @@
String launchName = StopLaunchConfiguration.class.getName();
launchName = launchManager.generateUniqueLaunchConfigurationNameFrom(launchName);
ILaunchConfigurationWorkingCopy wc = launchConfigType.newInstance(null, launchName);
- wc.setAttribute(SERVER_ID, server.getId());
+ JBossRuntimeLaunchConfigUtils.setServerId(server.getId(), wc);
wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS, getDefaultArgs(jbs));
wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME, STOP_MAIN_TYPE);
wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY, serverHome.append(IJBossRuntimeResourceConstants.BIN).toOSString());
13 years, 6 months
JBoss Tools SVN: r32428 - 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-29 05:39:51 -0400 (Wed, 29 Jun 2011)
New Revision: 32428
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] switched to util methods (removed direct access to ILaunchConfigurationWorkingCopy)
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-29 09:26:20 UTC (rev 32427)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/LocalJBossServerStartupLaunchUtil.java 2011-06-29 09:39:51 UTC (rev 32428)
@@ -69,7 +69,7 @@
protected IRuntimeClasspathEntry[] defaultEntries(ILaunchConfiguration config) {
try {
- String server = config.getAttribute(AbstractJBossLaunchConfigType.SERVER_ID, (String) null);
+ String server = JBossRuntimeLaunchConfigUtils.getServerId(config);
IServer s = ServerCore.findServer(server);
AbstractLocalJBossServerRuntime ibjsrt = (AbstractLocalJBossServerRuntime)
s.getRuntime().loadAdapter(AbstractLocalJBossServerRuntime.class, new NullProgressMonitor());
13 years, 6 months
JBoss Tools SVN: r32427 - 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-29 05:26:20 -0400 (Wed, 29 Jun 2011)
New Revision: 32427
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/TwiddleLaunchConfiguration.java
Log:
[JBIDE-9215] removed unneeded inheritance
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/TwiddleLaunchConfiguration.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/TwiddleLaunchConfiguration.java 2011-06-29 09:25:38 UTC (rev 32426)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/TwiddleLaunchConfiguration.java 2011-06-29 09:26:20 UTC (rev 32427)
@@ -44,7 +44,7 @@
import org.jboss.ide.eclipse.as.core.util.ServerConverter;
import org.jboss.ide.eclipse.as.core.util.ServerUtil;
-public class TwiddleLaunchConfiguration extends AbstractJBossLaunchConfigType {
+public class TwiddleLaunchConfiguration {
public static final String TWIDDLE_LAUNCH_TYPE = "org.jboss.ide.eclipse.as.core.server.twiddleConfiguration"; //$NON-NLS-1$
13 years, 6 months