JBoss Tools SVN: r23548 - workspace/dgolovin/xulrunner.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-07-19 13:25:14 -0400 (Mon, 19 Jul 2010)
New Revision: 23548
Added:
workspace/dgolovin/xulrunner/pom.xml
Log:
Copied: workspace/dgolovin/xulrunner/pom.xml (from rev 23547, trunk/xulrunner/plugins/pom.xml)
===================================================================
--- workspace/dgolovin/xulrunner/pom.xml (rev 0)
+++ workspace/dgolovin/xulrunner/pom.xml 2010-07-19 17:25:14 UTC (rev 23548)
@@ -0,0 +1,18 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.tools.xulrunner</groupId>
+ <artifactId>plugins</artifactId>
+ <name>xulrunner.plugins</name>
+ <version>0.0.1-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <modules>
+ <module>org.mozilla.xpcom</module>
+ <module>org.mozilla.xulrunner.carbon.macosx</module>
+ <module>org.mozilla.xulrunner.cocoa.macosx</module>
+ <module>org.mozilla.xulrunner.gtk.linux.x86</module>
+ <module>org.mozilla.xulrunner.gtk.linux.x86_64</module>
+ <module>org.mozilla.xulrunner.win32.win32.x86</module>
+ </modules>
+</project>
+
15 years, 9 months
JBoss Tools SVN: r23547 - workspace/dgolovin/xulrunner/plugins.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-07-19 13:24:19 -0400 (Mon, 19 Jul 2010)
New Revision: 23547
Added:
workspace/dgolovin/xulrunner/plugins/pom.xml
Log:
Copied: workspace/dgolovin/xulrunner/plugins/pom.xml (from rev 23546, trunk/xulrunner/plugins/pom.xml)
===================================================================
--- workspace/dgolovin/xulrunner/plugins/pom.xml (rev 0)
+++ workspace/dgolovin/xulrunner/plugins/pom.xml 2010-07-19 17:24:19 UTC (rev 23547)
@@ -0,0 +1,18 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.tools.xulrunner</groupId>
+ <artifactId>plugins</artifactId>
+ <name>xulrunner.plugins</name>
+ <version>0.0.1-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <modules>
+ <module>org.mozilla.xpcom</module>
+ <module>org.mozilla.xulrunner.carbon.macosx</module>
+ <module>org.mozilla.xulrunner.cocoa.macosx</module>
+ <module>org.mozilla.xulrunner.gtk.linux.x86</module>
+ <module>org.mozilla.xulrunner.gtk.linux.x86_64</module>
+ <module>org.mozilla.xulrunner.win32.win32.x86</module>
+ </modules>
+</project>
+
15 years, 9 months
JBoss Tools SVN: r23546 - workspace/dgolovin/xulrunner/features.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-07-19 13:22:45 -0400 (Mon, 19 Jul 2010)
New Revision: 23546
Added:
workspace/dgolovin/xulrunner/features/org.mozilla.xpcom.feature/
workspace/dgolovin/xulrunner/features/org.mozilla.xulrunner.feature/
workspace/dgolovin/xulrunner/features/pom.xml
Log:
copy of current xulrunner features from xulrunner component
Copied: workspace/dgolovin/xulrunner/features/org.mozilla.xpcom.feature (from rev 23545, trunk/xulrunner/features/org.mozilla.xpcom.feature)
Copied: workspace/dgolovin/xulrunner/features/org.mozilla.xulrunner.feature (from rev 23545, trunk/xulrunner/features/org.mozilla.xulrunner.feature)
Copied: workspace/dgolovin/xulrunner/features/pom.xml (from rev 23545, trunk/xulrunner/features/pom.xml)
===================================================================
--- workspace/dgolovin/xulrunner/features/pom.xml (rev 0)
+++ workspace/dgolovin/xulrunner/features/pom.xml 2010-07-19 17:22:45 UTC (rev 23546)
@@ -0,0 +1,14 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.tools.xulrunner</groupId>
+ <artifactId>features</artifactId>
+ <name>xulrunner.features</name>
+ <version>0.0.1-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <modules>
+ <module>org.mozilla.xpcom.feature</module>
+ <module>org.mozilla.xulrunner.feature</module>
+ </modules>
+</project>
+
15 years, 9 months
JBoss Tools SVN: r23545 - workspace/dgolovin/xulrunner/plugins.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-07-19 13:22:13 -0400 (Mon, 19 Jul 2010)
New Revision: 23545
Added:
workspace/dgolovin/xulrunner/plugins/org.mozilla.xpcom.source/
workspace/dgolovin/xulrunner/plugins/org.mozilla.xpcom/
workspace/dgolovin/xulrunner/plugins/org.mozilla.xulrunner.carbon.macosx.x86/
workspace/dgolovin/xulrunner/plugins/org.mozilla.xulrunner.cocoa.macosx.x86/
workspace/dgolovin/xulrunner/plugins/org.mozilla.xulrunner.gtk.linux.x86/
workspace/dgolovin/xulrunner/plugins/org.mozilla.xulrunner.gtk.linux.x86_64/
workspace/dgolovin/xulrunner/plugins/org.mozilla.xulrunner.win32.win32.x86/
Log:
copy from mareshkau workspace
Copied: workspace/dgolovin/xulrunner/plugins/org.mozilla.xpcom (from rev 23544, workspace/mareshkau/xulrunner-1.9.2/org.mozilla.xpcom)
Copied: workspace/dgolovin/xulrunner/plugins/org.mozilla.xpcom.source (from rev 23544, workspace/mareshkau/xulrunner-1.9.2/org.mozilla.xpcom.source)
Copied: workspace/dgolovin/xulrunner/plugins/org.mozilla.xulrunner.carbon.macosx.x86 (from rev 23544, workspace/mareshkau/xulrunner-1.9.2/org.mozilla.xulrunner.carbon.macosx.x86)
Copied: workspace/dgolovin/xulrunner/plugins/org.mozilla.xulrunner.cocoa.macosx.x86 (from rev 23544, workspace/mareshkau/xulrunner-1.9.2/org.mozilla.xulrunner.cocoa.macosx.x86)
Copied: workspace/dgolovin/xulrunner/plugins/org.mozilla.xulrunner.gtk.linux.x86 (from rev 23544, workspace/mareshkau/xulrunner-1.9.2/org.mozilla.xulrunner.gtk.linux.x86)
Copied: workspace/dgolovin/xulrunner/plugins/org.mozilla.xulrunner.gtk.linux.x86_64 (from rev 23544, workspace/mareshkau/xulrunner-1.9.2/org.mozilla.xulrunner.gtk.linux.x86_64)
Copied: workspace/dgolovin/xulrunner/plugins/org.mozilla.xulrunner.win32.win32.x86 (from rev 23544, workspace/mareshkau/xulrunner-1.9.2/org.mozilla.xulrunner.win32.win32.x86)
15 years, 9 months
JBoss Tools SVN: r23542 - workspace/dgolovin.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-07-19 13:20:33 -0400 (Mon, 19 Jul 2010)
New Revision: 23542
Added:
workspace/dgolovin/xulrunner/
Log:
xulrunner component for verasion 1.9.2 in dgolovin workspace
15 years, 9 months
JBoss Tools SVN: r23541 - in trunk/jst/tests/org.jboss.tools.jst.web.ui.test: projects and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-07-19 10:44:02 -0400 (Mon, 19 Jul 2010)
New Revision: 23541
Added:
trunk/jst/tests/org.jboss.tools.jst.web.ui.test/projects/fake_as/
trunk/jst/tests/org.jboss.tools.jst.web.ui.test/projects/fake_as/.project
Modified:
trunk/jst/tests/org.jboss.tools.jst.web.ui.test/META-INF/MANIFEST.MF
trunk/jst/tests/org.jboss.tools.jst.web.ui.test/src/org/jboss/tools/jst/web/ui/test/AddJSFCapabilitiesTest.java
Log:
https://jira.jboss.org/browse/JBIDE-6540
Modified: trunk/jst/tests/org.jboss.tools.jst.web.ui.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.web.ui.test/META-INF/MANIFEST.MF 2010-07-19 14:40:34 UTC (rev 23540)
+++ trunk/jst/tests/org.jboss.tools.jst.web.ui.test/META-INF/MANIFEST.MF 2010-07-19 14:44:02 UTC (rev 23541)
@@ -10,7 +10,8 @@
org.jboss.tools.common.model.ui,
org.jboss.tools.common.model.ui.test,
org.jboss.tools.tests,
- org.eclipse.ui.ide
+ org.eclipse.ui.ide,
+ org.eclipse.wst.server.core
Export-Package: org.jboss.tools.jst.web.ui.test
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Added: trunk/jst/tests/org.jboss.tools.jst.web.ui.test/projects/fake_as/.project
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.web.ui.test/projects/fake_as/.project (rev 0)
+++ trunk/jst/tests/org.jboss.tools.jst.web.ui.test/projects/fake_as/.project 2010-07-19 14:44:02 UTC (rev 23541)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>fake_as</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: trunk/jst/tests/org.jboss.tools.jst.web.ui.test/projects/fake_as/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/jst/tests/org.jboss.tools.jst.web.ui.test/src/org/jboss/tools/jst/web/ui/test/AddJSFCapabilitiesTest.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.web.ui.test/src/org/jboss/tools/jst/web/ui/test/AddJSFCapabilitiesTest.java 2010-07-19 14:40:34 UTC (rev 23540)
+++ trunk/jst/tests/org.jboss.tools.jst.web.ui.test/src/org/jboss/tools/jst/web/ui/test/AddJSFCapabilitiesTest.java 2010-07-19 14:44:02 UTC (rev 23541)
@@ -6,9 +6,15 @@
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.jface.wizard.IWizard;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.ui.PlatformUI;
+import org.eclipse.wst.server.core.IRuntime;
+import org.eclipse.wst.server.core.IRuntimeType;
+import org.eclipse.wst.server.core.IRuntimeWorkingCopy;
+import org.eclipse.wst.server.core.ServerCore;
import org.jboss.tools.common.meta.key.WizardKeys;
import org.jboss.tools.common.model.ui.ModelUIPlugin;
import org.jboss.tools.common.model.ui.action.AddNatureActionDelegate;
@@ -20,6 +26,7 @@
public class AddJSFCapabilitiesTest extends TestCase {
IProject project = null;
+ IProject fake_as = null;
public AddJSFCapabilitiesTest() {
super("Add JSF Capabilities Test");
@@ -41,6 +48,17 @@
project = setup.importProject();
}
this.project = project.getProject();
+
+ IResource fake_as = ResourcesPlugin.getWorkspace().getRoot().findMember("fake_as");
+ if(fake_as == null) {
+ ProjectImportTestSetup setup = new ProjectImportTestSetup(
+ this,
+ "org.jboss.tools.jst.web.ui.test",
+ "projects/fake_as",
+ "fake_as");
+ fake_as = setup.importProject();
+ }
+ this.fake_as = fake_as.getProject();
JobUtils.waitForIdle();
}
@@ -52,11 +70,40 @@
dialog.setBlockOnOpen(false);
dialog.open();
- //TODO implement finish of wizard and check of results.
- //TODO it is necessary to provide server runtime; without it, wizard cannot finish
- System.out.println(wizard.canFinish());
+ IRuntime r0 = createRuntime();
+ ((ImportWebProjectWizard)wizard).setRuntimeName(r0.getName());
+
+ assertTrue(wizard.canFinish());
+
+ boolean b = wizard.performFinish();
+
+ assertTrue(b);
+
+ try {
+ assertTrue(project.hasNature("org.jboss.tools.jsf.jsfnature"));
+ } catch (CoreException e) {
+ fail(e.getMessage());
+ }
}
+ static String RUNTIME = "org.jboss.ide.eclipse.as.runtime.42";
+
+ IRuntime createRuntime() {
+ IRuntimeType t = ServerCore.findRuntimeType(RUNTIME);
+
+ IPath location = fake_as.getLocation();
+ try {
+ IRuntimeWorkingCopy r = t.createRuntime(RUNTIME, new NullProgressMonitor());
+ r.setName("myRuntime");
+ r.setLocation(location);
+ return r.save(true, new NullProgressMonitor());
+
+ } catch (CoreException e) {
+ fail(e.getMessage());
+ return null;
+ }
+ }
+
private void refreshProject(IProject project){
try {
project.refreshLocal(IResource.DEPTH_INFINITE, null);
15 years, 9 months
JBoss Tools SVN: r23540 - trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/project.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-07-19 10:40:34 -0400 (Mon, 19 Jul 2010)
New Revision: 23540
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/project/ImportWebProjectWizard.java
Log:
https://jira.jboss.org/browse/JBIDE-6540
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/project/ImportWebProjectWizard.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/project/ImportWebProjectWizard.java 2010-07-19 14:09:56 UTC (rev 23539)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/project/ImportWebProjectWizard.java 2010-07-19 14:40:34 UTC (rev 23540)
@@ -124,6 +124,11 @@
initialLocation = s;
}
+ //test method
+ public void setRuntimeName(String runtimeName) {
+ context.getRegisterServerContext().setRuntimeName(runtimeName);
+ }
+
protected void updatePerspective() throws CoreException {
BasicNewProjectResourceWizard.updatePerspective(new ConfigurationElementInternal());
}
15 years, 9 months
JBoss Tools SVN: r23539 - trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/el/refactoring.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2010-07-19 10:09:56 -0400 (Mon, 19 Jul 2010)
New Revision: 23539
Removed:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/el/refactoring/RenameMessagePropertyRefactoring.java
Log:
https://jira.jboss.org/browse/JBIDE-4858
Deleted: trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/el/refactoring/RenameMessagePropertyRefactoring.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/el/refactoring/RenameMessagePropertyRefactoring.java 2010-07-19 14:05:44 UTC (rev 23538)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/el/refactoring/RenameMessagePropertyRefactoring.java 2010-07-19 14:09:56 UTC (rev 23539)
@@ -1,24 +0,0 @@
- /*******************************************************************************
- * 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.tools.jsf.el.refactoring;
-
-import org.eclipse.ltk.core.refactoring.participants.RenameProcessor;
-import org.eclipse.ltk.core.refactoring.participants.RenameRefactoring;
-
-/**
- * @author Alexey Kazakov
- */
-public class RenameMessagePropertyRefactoring extends RenameRefactoring {
-
- public RenameMessagePropertyRefactoring(RenameProcessor processor) {
- super(processor);
- }
-}
\ No newline at end of file
15 years, 9 months