JBoss Tools SVN: r14010 - branches/jbosstools-3.0.x/as/plugins/org.jboss.ide.eclipse.as.core.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-03-05 01:47:29 -0500 (Thu, 05 Mar 2009)
New Revision: 14010
Modified:
branches/jbosstools-3.0.x/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
Log:
reverting JBIDE-3756 to fix bug JBIDE-3923
Modified: branches/jbosstools-3.0.x/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
===================================================================
--- branches/jbosstools-3.0.x/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2009-03-05 06:46:39 UTC (rev 14009)
+++ branches/jbosstools-3.0.x/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2009-03-05 06:47:29 UTC (rev 14010)
@@ -319,7 +319,7 @@
id="org.jboss.ide.eclipse.as.core.server.startupConfiguration"
modes="run,debug,profile"
name="JBoss Application Server Startup Configuration"
- public="false"
+ public="true"
sourceLocatorId="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector"
sourcePathComputerId="org.eclipse.jst.server.tomcat.core.sourcePathComputer"/>
<launchConfigurationType
17 years, 1 month
JBoss Tools SVN: r14009 - trunk/as/plugins/org.jboss.ide.eclipse.as.core.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-03-05 01:46:39 -0500 (Thu, 05 Mar 2009)
New Revision: 14009
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
Log:
reverting JBIDE-3756 to fix bug JBIDE-3923
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2009-03-05 01:03:09 UTC (rev 14008)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2009-03-05 06:46:39 UTC (rev 14009)
@@ -319,7 +319,7 @@
id="org.jboss.ide.eclipse.as.core.server.startupConfiguration"
modes="run,debug,profile"
name="JBoss Application Server Startup Configuration"
- public="false"
+ public="true"
sourceLocatorId="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector"
sourcePathComputerId="org.eclipse.jst.server.tomcat.core.sourcePathComputer"/>
<launchConfigurationType
17 years, 1 month
JBoss Tools SVN: r14008 - trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-03-04 20:03:09 -0500 (Wed, 04 Mar 2009)
New Revision: 14008
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/EclipseResourceUtil.java
Log:
fix for JUnit test error
testSettingsPage Failure Settings page is not valid: Model source folder "/TestSeamSettingsPreferencesPage" does not exist.
junit.framework.AssertionFailedError: Settings page is not valid: Model source folder "/TestSeamSettingsPreferencesPage" does not exist.
at org.jboss.tools.seam.ui.test.preferences.SeamSettingsPreferencesPageTest.testSettingsPage(SeamSettingsPreferencesPageTest.java:104)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/EclipseResourceUtil.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/EclipseResourceUtil.java 2009-03-05 00:24:33 UTC (rev 14007)
+++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/EclipseResourceUtil.java 2009-03-05 01:03:09 UTC (rev 14008)
@@ -688,7 +688,7 @@
public static IResource getJavaSourceRoot(IProject project) {
IJavaProject javaProject = getJavaProject(project);
- if(javaProject == null || !javaProject.isOpen()) return null;
+ if(javaProject == null) return null;
try {
IClasspathEntry[] es = javaProject.getResolvedClasspath(true);
for (int i = 0; i < es.length; i++) {
17 years, 1 month
JBoss Tools SVN: r14007 - branches/jbosstools-3.0.x/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-03-04 19:24:33 -0500 (Wed, 04 Mar 2009)
New Revision: 14007
Modified:
branches/jbosstools-3.0.x/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java
Log:
fix error in JUnit Tests
testSashChangesInJBIDE3140 Error assertion failed:
org.eclipse.core.runtime.AssertionFailedException: assertion failed:
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:111)
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:97)
at org.eclipse.ui.internal.PartList.removePart(PartList.java:164)
at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1681)
at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1389)
at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1373)
at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1347)
at org.eclipse.ui.internal.WorkbenchPage.closeAllEditors(WorkbenchPage.java:1166)
at org.jboss.tools.vpe.ui.test.VpeTest.closeEditors(VpeTest.java:155)
at org.jboss.tools.vpe.ui.test.VpeTest.tearDown(VpeTest.java:112)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
Modified: branches/jbosstools-3.0.x/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java
===================================================================
--- branches/jbosstools-3.0.x/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java 2009-03-05 00:22:51 UTC (rev 14006)
+++ branches/jbosstools-3.0.x/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java 2009-03-05 00:24:33 UTC (rev 14007)
@@ -25,6 +25,8 @@
import org.eclipse.swt.custom.StyledText;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorPart;
+import org.eclipse.ui.IWorkbenchPage;
+import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.part.FileEditorInput;
@@ -149,10 +151,12 @@
protected void closeEditors() {
// wait
- TestUtil.waitForJobs();
-
+ // TestUtil.waitForJobs();
+ IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
+ IWorkbenchPart part = page.getViewReferences()[0].getPart(false);
+ page.activate(part);
// close
- PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().closeAllEditors(false);
+ page.closeAllEditors(false);
}
17 years, 1 month
JBoss Tools SVN: r14006 - trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-03-04 19:22:51 -0500 (Wed, 04 Mar 2009)
New Revision: 14006
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java
Log:
fix error in JUnit Tests
testSashChangesInJBIDE3140 Error assertion failed:
org.eclipse.core.runtime.AssertionFailedException: assertion failed:
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:111)
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:97)
at org.eclipse.ui.internal.PartList.removePart(PartList.java:164)
at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1681)
at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1389)
at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1373)
at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1347)
at org.eclipse.ui.internal.WorkbenchPage.closeAllEditors(WorkbenchPage.java:1166)
at org.jboss.tools.vpe.ui.test.VpeTest.closeEditors(VpeTest.java:155)
at org.jboss.tools.vpe.ui.test.VpeTest.tearDown(VpeTest.java:112)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java 2009-03-04 23:06:19 UTC (rev 14005)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java 2009-03-05 00:22:51 UTC (rev 14006)
@@ -25,6 +25,8 @@
import org.eclipse.swt.custom.StyledText;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorPart;
+import org.eclipse.ui.IWorkbenchPage;
+import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.part.FileEditorInput;
@@ -149,10 +151,12 @@
protected void closeEditors() {
// wait
- TestUtil.waitForJobs();
-
+// TestUtil.waitForJobs();
+ IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
+ IWorkbenchPart part = page.getViewReferences()[0].getPart(false);
+ page.activate(part);
// close
- PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().closeAllEditors(false);
+ page.closeAllEditors(false);
}
@@ -218,12 +222,6 @@
input, EDITOR_ID, true);
assertNotNull(part);
- // wait for jobs
- // TestUtil.waitForJobs();
- // wait full initialization of vpe
- // commented by dgolovin to get rid of jvm error [libexpat.so.0+0xeff4]
- // TestUtil.delay(1000);
-
return part;
}
17 years, 1 month
JBoss Tools SVN: r14005 - branches/jbosstools-3.0.x/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/test.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-03-04 18:06:19 -0500 (Wed, 04 Mar 2009)
New Revision: 14005
Modified:
branches/jbosstools-3.0.x/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/test/ModelUiAllTests.java
Log:
warning fixed in common.model.ui.test
Modified: branches/jbosstools-3.0.x/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/test/ModelUiAllTests.java
===================================================================
--- branches/jbosstools-3.0.x/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/test/ModelUiAllTests.java 2009-03-04 23:03:30 UTC (rev 14004)
+++ branches/jbosstools-3.0.x/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/test/ModelUiAllTests.java 2009-03-04 23:06:19 UTC (rev 14005)
@@ -30,7 +30,6 @@
public static Test suite() {
TestSuite suite = new TestSuite();
suite.setName("All tests for " + PLUGIN_ID);
- suite.addTestSuite(DecoratorPreferencesPage.class);
suite.addTestSuite(ModelUiPreferencesPageTest.class);
suite.addTestSuite(ObjectDecoratorTest.class);
suite.addTestSuite(FavoritesClassControllerTest.class);
17 years, 1 month
JBoss Tools SVN: r14004 - branches/jbosstools-3.0.x/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-03-04 18:03:30 -0500 (Wed, 04 Mar 2009)
New Revision: 14004
Modified:
branches/jbosstools-3.0.x/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/LibrarySetsPreferencePage.java
Log:
fix error in testLibrarySetsPreferencePage
Modified: branches/jbosstools-3.0.x/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/LibrarySetsPreferencePage.java
===================================================================
--- branches/jbosstools-3.0.x/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/LibrarySetsPreferencePage.java 2009-03-04 23:02:08 UTC (rev 14003)
+++ branches/jbosstools-3.0.x/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/LibrarySetsPreferencePage.java 2009-03-04 23:03:30 UTC (rev 14004)
@@ -27,7 +27,7 @@
public class LibrarySetsPreferencePage extends PreferencePage implements
IWorkbenchPreferencePage {
- public static final String ID = "org.jboss.tools.jst.web.ui.internal.preferences.LibrarySetsPreferencePage";
+ public static final String ID = "org.jboss.tools.common.xstudio.libsets";
public static final String BUNDLE_NAME = "preferences";
public static final ResourceBundle BUNDLE = ResourceBundle.getBundle(LibrarySetsPreferencePage.class.getPackage().getName() + "." + BUNDLE_NAME);
String[] librarySets;
17 years, 1 month
JBoss Tools SVN: r14003 - trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-03-04 18:02:08 -0500 (Wed, 04 Mar 2009)
New Revision: 14003
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/LibrarySetsPreferencePage.java
Log:
fix error in testLibrarySetsPreferencePage
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/LibrarySetsPreferencePage.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/LibrarySetsPreferencePage.java 2009-03-04 22:20:48 UTC (rev 14002)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/LibrarySetsPreferencePage.java 2009-03-04 23:02:08 UTC (rev 14003)
@@ -27,7 +27,7 @@
public class LibrarySetsPreferencePage extends PreferencePage implements
IWorkbenchPreferencePage {
- public static final String ID = "org.jboss.tools.jst.web.ui.internal.preferences.LibrarySetsPreferencePage";
+ public static final String ID = "org.jboss.tools.common.xstudio.libsets";
public static final String BUNDLE_NAME = "preferences";
public static final ResourceBundle BUNDLE = ResourceBundle.getBundle(LibrarySetsPreferencePage.class.getPackage().getName() + "." + BUNDLE_NAME);
String[] librarySets;
17 years, 1 month
JBoss Tools SVN: r14002 - trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2009-03-04 17:20:48 -0500 (Wed, 04 Mar 2009)
New Revision: 14002
Modified:
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java
Log:
JBIDE-3924 NPE in the Package Explorer
Modified: trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java
===================================================================
--- trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java 2009-03-04 22:19:05 UTC (rev 14001)
+++ trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java 2009-03-04 22:20:48 UTC (rev 14002)
@@ -80,6 +80,9 @@
}
public void menuAboutToShow2(IMenuManager manager) {
+ if (ProjectArchivesCommonView.getInstance() == null) {
+ return;
+ }
IProject currentProject = ProjectArchivesCommonView.getInstance().getCurrentProject();
if (currentProject == null || !currentProject.exists() || !currentProject.isOpen()) {
return;
17 years, 1 month
JBoss Tools SVN: r14001 - branches/jbosstools-3.0.x/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2009-03-04 17:19:05 -0500 (Wed, 04 Mar 2009)
New Revision: 14001
Modified:
branches/jbosstools-3.0.x/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java
Log:
JBIDE-3924 NPE in the Package Explorer
Modified: branches/jbosstools-3.0.x/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java
===================================================================
--- branches/jbosstools-3.0.x/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java 2009-03-04 21:28:06 UTC (rev 14000)
+++ branches/jbosstools-3.0.x/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java 2009-03-04 22:19:05 UTC (rev 14001)
@@ -80,6 +80,9 @@
}
public void menuAboutToShow2(IMenuManager manager) {
+ if (ProjectArchivesCommonView.getInstance() == null) {
+ return;
+ }
IProject currentProject = ProjectArchivesCommonView.getInstance().getCurrentProject();
if (currentProject == null || !currentProject.exists() || !currentProject.isOpen()) {
return;
17 years, 1 month