JBoss Tools SVN: r13872 - tags.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2009-02-27 04:45:26 -0500 (Fri, 27 Feb 2009)
New Revision: 13872
Added:
tags/jbpm-jpdl-4.0.0.alpha2/
Log:
4.0.0.alpha2 release
15 years, 10 months
JBoss Tools SVN: r13871 - tags.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2009-02-27 04:44:07 -0500 (Fri, 27 Feb 2009)
New Revision: 13871
Removed:
tags/jbpm-jpdl-gpd-4.0.0.alpha2/
Log:
wrong commit
15 years, 10 months
JBoss Tools SVN: r13870 - tags.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2009-02-27 04:42:23 -0500 (Fri, 27 Feb 2009)
New Revision: 13870
Added:
tags/jbpm-jpdl-gpd-4.0.0.alpha2/
Log:
4.0.0.Alpha2 release
Copied: tags/jbpm-jpdl-gpd-4.0.0.alpha2 (from rev 13869, trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4)
15 years, 10 months
JBoss Tools SVN: r13869 - in trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui: wizards and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-02-27 02:58:51 -0500 (Fri, 27 Feb 2009)
New Revision: 13869
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/IPreferenceKeys.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossRuntimeWizardFragment.java
Log:
JBIDE-3884
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/IPreferenceKeys.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/IPreferenceKeys.java 2009-02-27 07:43:55 UTC (rev 13868)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/IPreferenceKeys.java 2009-02-27 07:58:51 UTC (rev 13869)
@@ -4,4 +4,5 @@
public interface IPreferenceKeys {
public static final String ENABLED_DECORATORS = "org.jboss.ide.eclipse.as.ui.preferences.enabledDecorators.1";
public static final String DISABLE_SHOW_SERVER_VIEW = "org.jboss.ide.eclipse.as.ui.preferences.disabled.automatic.server.view";
+ public static final String RUNTIME_HOME_PREF_KEY_PREFIX = "org.jboss.ide.eclipse.as.ui.preferences.runtime.last.type.";
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossRuntimeWizardFragment.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossRuntimeWizardFragment.java 2009-02-27 07:43:55 UTC (rev 13868)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossRuntimeWizardFragment.java 2009-02-27 07:58:51 UTC (rev 13869)
@@ -28,6 +28,7 @@
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Preferences;
import org.eclipse.jdt.launching.IVMInstall;
import org.eclipse.jdt.launching.IVMInstallType;
import org.eclipse.jdt.launching.JavaRuntime;
@@ -66,6 +67,8 @@
import org.jboss.ide.eclipse.as.core.server.IJBossServerRuntime;
import org.jboss.ide.eclipse.as.core.util.JBossServerType;
import org.jboss.ide.eclipse.as.core.util.ServerBeanLoader;
+import org.jboss.ide.eclipse.as.ui.IPreferenceKeys;
+import org.jboss.ide.eclipse.as.ui.JBossServerUIPlugin;
import org.jboss.ide.eclipse.as.ui.JBossServerUISharedImages;
import org.jboss.ide.eclipse.as.ui.Messages;
@@ -166,8 +169,11 @@
originalName = rt.getRuntime().getName();
nameText.setText(rt.getRuntime().getName());
name = rt.getRuntime().getName();
- homeDirText.setText(rt.getRuntime().getLocation().toOSString());
- homeDir = rt.getRuntime().getLocation().toOSString();
+ Preferences prefs = JBossServerUIPlugin.getDefault().getPluginPreferences();
+ String value = prefs.getString(IPreferenceKeys.RUNTIME_HOME_PREF_KEY_PREFIX + rt.getRuntime().getRuntimeType().getId());
+ homeDir = (value != null && value.length() != 0) ? value : rt.getRuntime().getLocation().toOSString();
+ homeDirText.setText(homeDir);
+ ((IRuntimeWorkingCopy)r).setLocation(new Path(homeDir));
config = rt.getJBossConfiguration();
configurations.setConfiguration(config);
configLabel.setText(Messages.wf_ConfigLabel);
@@ -583,6 +589,9 @@
IRuntimeWorkingCopy r = (IRuntimeWorkingCopy) getTaskModel().getObject(
TaskModel.TASK_RUNTIME);
IRuntime saved = r.save(false, new NullProgressMonitor());
+ Preferences prefs = JBossServerUIPlugin.getDefault().getPluginPreferences();
+ prefs.setValue(IPreferenceKeys.RUNTIME_HOME_PREF_KEY_PREFIX + saved.getRuntimeType().getId(), homeDir);
+
getTaskModel().putObject(TaskModel.TASK_RUNTIME, saved);
}
15 years, 10 months
JBoss Tools SVN: r13868 - workspace/grid/esb-example.
by jbosstools-commits@lists.jboss.org
Author: dennyxu
Date: 2009-02-27 02:43:55 -0500 (Fri, 27 Feb 2009)
New Revision: 13868
Modified:
workspace/grid/esb-example/transform_CSV2XML.zip
workspace/grid/esb-example/transform_CSV2XML_client.zip
workspace/grid/esb-example/transform_XML2POJO.zip
workspace/grid/esb-example/transform_XML2POJO_client.zip
workspace/grid/esb-example/transform_XML2XML_date_manipulation.zip
workspace/grid/esb-example/transform_XML2XML_date_manipulation_client.zip
workspace/grid/esb-example/transform_XML2XML_simple.zip
workspace/grid/esb-example/transform_XML2XML_simple_client.zip
workspace/grid/esb-example/webservice_consumer1.zip
workspace/grid/esb-example/webservice_consumer1_client.zip
workspace/grid/esb-example/webservice_producer.zip
workspace/grid/esb-example/webservice_producer_client.zip
Log:
Update server runtime to SOA-P 4.3
Modified: workspace/grid/esb-example/transform_CSV2XML.zip
===================================================================
(Binary files differ)
Modified: workspace/grid/esb-example/transform_CSV2XML_client.zip
===================================================================
(Binary files differ)
Modified: workspace/grid/esb-example/transform_XML2POJO.zip
===================================================================
(Binary files differ)
Modified: workspace/grid/esb-example/transform_XML2POJO_client.zip
===================================================================
(Binary files differ)
Modified: workspace/grid/esb-example/transform_XML2XML_date_manipulation.zip
===================================================================
(Binary files differ)
Modified: workspace/grid/esb-example/transform_XML2XML_date_manipulation_client.zip
===================================================================
(Binary files differ)
Modified: workspace/grid/esb-example/transform_XML2XML_simple.zip
===================================================================
(Binary files differ)
Modified: workspace/grid/esb-example/transform_XML2XML_simple_client.zip
===================================================================
(Binary files differ)
Modified: workspace/grid/esb-example/webservice_consumer1.zip
===================================================================
(Binary files differ)
Modified: workspace/grid/esb-example/webservice_consumer1_client.zip
===================================================================
(Binary files differ)
Modified: workspace/grid/esb-example/webservice_producer.zip
===================================================================
(Binary files differ)
Modified: workspace/grid/esb-example/webservice_producer_client.zip
===================================================================
(Binary files differ)
15 years, 10 months
JBoss Tools SVN: r13867 - in trunk: vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/preferences and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-02-27 02:38:11 -0500 (Fri, 27 Feb 2009)
New Revision: 13867
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/preferences/SeamPreferencesPageTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/preferences/VpeEditorPreferencesPageTest.java
Log:
increase test coverage
Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/preferences/SeamPreferencesPageTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/preferences/SeamPreferencesPageTest.java 2009-02-27 07:27:52 UTC (rev 13866)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/preferences/SeamPreferencesPageTest.java 2009-02-27 07:38:11 UTC (rev 13867)
@@ -11,63 +11,33 @@
package org.jboss.tools.seam.ui.test.preferences;
import org.eclipse.jface.preference.PreferenceDialog;
-import org.eclipse.jface.preference.PreferenceManager;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.dialogs.PreferencesUtil;
import org.jboss.tools.seam.core.project.facet.SeamRuntime;
import org.jboss.tools.seam.core.project.facet.SeamRuntimeManager;
import org.jboss.tools.seam.ui.preferences.SeamPreferencePage;
import org.jboss.tools.seam.ui.preferences.SeamValidatorPreferencePage;
import org.jboss.tools.test.util.WorkbenchUtils;
+import org.jboss.tools.tests.PreferencePageTest;
-import junit.framework.TestCase;
-
/**
* @author eskimo
*
*/
-public class SeamPreferencesPageTest extends TestCase {
+public class SeamPreferencesPageTest extends PreferencePageTest {
/**
* Test that preference page is showed up without errors
*/
public void testShowSeamPreferencePage() {
-
- PreferenceDialog prefDialog =
- WorkbenchUtils.createPreferenceDialog(
- SeamPreferencePage.SEAM_PREFERENCES_ID);
-
- try {
- prefDialog.setBlockOnOpen(false);
- prefDialog.open();
-
- Object selectedPage = prefDialog.getSelectedPage();
- assertTrue("Selected page is not an instance of SeamPreferencePage", selectedPage instanceof SeamPreferencePage);
- } finally {
- prefDialog.close();
- }
+ doDefaultTest(SeamPreferencePage.SEAM_PREFERENCES_ID, SeamPreferencePage.class);
}
/**
* Test that preference page is showed up without errors
*/
public void testShowSeamValidationPreferencePage() {
-
- PreferenceDialog prefDialog =
- WorkbenchUtils.createPreferenceDialog(
- SeamValidatorPreferencePage.PREF_ID);
-
- try {
- prefDialog.setBlockOnOpen(false);
- prefDialog.open();
-
- Object selectedPage = prefDialog.getSelectedPage();
- assertTrue("Selected page is not an instance of SeamValidatorPreferencePage", selectedPage instanceof SeamValidatorPreferencePage);
- } finally {
- prefDialog.close();
- }
+ doDefaultTest(SeamValidatorPreferencePage.PREF_ID, SeamValidatorPreferencePage.class);
}
public void testJiraJbide1490 () {
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/preferences/VpeEditorPreferencesPageTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/preferences/VpeEditorPreferencesPageTest.java 2009-02-27 07:27:52 UTC (rev 13866)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/preferences/VpeEditorPreferencesPageTest.java 2009-02-27 07:38:11 UTC (rev 13867)
@@ -14,39 +14,16 @@
import org.eclipse.jface.preference.PreferenceDialog;
import org.jboss.tools.test.util.WorkbenchUtils;
+import org.jboss.tools.tests.PreferencePageTest;
import org.jboss.tools.vpe.editor.preferences.ELVariablesPreferencePage;
import org.jboss.tools.vpe.editor.preferences.VpeEditorPreferencesPage;
-public class VpeEditorPreferencesPageTest extends TestCase {
+public class VpeEditorPreferencesPageTest extends PreferencePageTest {
public void testVpeEditorPreferencesPageShow() {
- PreferenceDialog prefDialog =
- WorkbenchUtils.createPreferenceDialog(
- VpeEditorPreferencesPage.ID);
-
- try {
- prefDialog.setBlockOnOpen(false);
- prefDialog.open();
-
- Object selectedPage = prefDialog.getSelectedPage();
- assertTrue("Selected page is not an instance of org.jboss.tools.vpe.editor.preferences.VpeEditorPreferencesPage", selectedPage instanceof VpeEditorPreferencesPage); //$NON-NLS-1$
- } finally {
- prefDialog.close();
- }
+ doDefaultTest(VpeEditorPreferencesPage.ID, VpeEditorPreferencesPage.class); //$NON-NLS-1$
}
public void testVpeEditorELPreferencesPageShow() {
- PreferenceDialog prefDialog =
- WorkbenchUtils.createPreferenceDialog(
- ELVariablesPreferencePage.ID);
-
- try {
- prefDialog.setBlockOnOpen(false);
- prefDialog.open();
-
- Object selectedPage = prefDialog.getSelectedPage();
- assertTrue("Selected page is not an instance of org.jboss.tools.vpe.editor.preferences.ELVariablesPreferencePage", selectedPage instanceof ELVariablesPreferencePage); //$NON-NLS-1$
- } finally {
- prefDialog.close();
- }
+ doDefaultTest(ELVariablesPreferencePage.ID, ELVariablesPreferencePage.class); //$NON-NLS-1$
}
}
15 years, 10 months
JBoss Tools SVN: r13866 - trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-02-27 02:27:52 -0500 (Fri, 27 Feb 2009)
New Revision: 13866
Added:
trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/JspPreferencesPageTest.java
Modified:
trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/JstJspAllTests.java
Log:
increase test coverage
Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/JspPreferencesPageTest.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/JspPreferencesPageTest.java (rev 0)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/JspPreferencesPageTest.java 2009-02-27 07:27:52 UTC (rev 13866)
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (c) 2007 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.tools.jst.jsp.test;
+
+import org.jboss.tools.jst.jsp.preferences.JSPOccurrencesPreferencePage;
+import org.jboss.tools.tests.PreferencePageTest;
+
+import junit.framework.TestCase;
+
+/**
+ * @author eskimo
+ *
+ */
+public class JspPreferencesPageTest extends PreferencePageTest {
+
+ public void testJSPOccurrencesPreferencePage() {
+ doDefaultTest("org.eclipse.wst.sse.ui.preferences.jsp.occurrences",JSPOccurrencesPreferencePage.class);
+ }
+}
Property changes on: trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/JspPreferencesPageTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/JstJspAllTests.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/JstJspAllTests.java 2009-02-27 07:20:21 UTC (rev 13865)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/JstJspAllTests.java 2009-02-27 07:27:52 UTC (rev 13866)
@@ -29,6 +29,7 @@
suite.addTestSuite(JstJspJbide1759Test.class);
suite.addTestSuite(Jbide1791Test.class);
suite.addTestSuite(JsfJspJbide2437Test.class);
+ suite.addTestSuite(JspPreferencesPageTest.class);
return suite;
}
15 years, 10 months
JBoss Tools SVN: r13865 - workspace/Denny/esb-example.
by jbosstools-commits@lists.jboss.org
Author: dennyxu
Date: 2009-02-27 02:20:21 -0500 (Fri, 27 Feb 2009)
New Revision: 13865
Modified:
workspace/Denny/esb-example/helloworld_action.zip
workspace/Denny/esb-example/helloworld_action_client.zip
workspace/Denny/esb-example/helloworld_file_action.zip
workspace/Denny/esb-example/helloworld_file_action_client.zip
Log:
Modified: workspace/Denny/esb-example/helloworld_action.zip
===================================================================
(Binary files differ)
Modified: workspace/Denny/esb-example/helloworld_action_client.zip
===================================================================
(Binary files differ)
Modified: workspace/Denny/esb-example/helloworld_file_action.zip
===================================================================
(Binary files differ)
Modified: workspace/Denny/esb-example/helloworld_file_action_client.zip
===================================================================
(Binary files differ)
15 years, 10 months