JBoss Tools SVN: r37110 - trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/wizard/web/jboss.
by jbosstools-commits@lists.jboss.org
Author: ljelinko
Date: 2011-12-08 08:15:14 -0500 (Thu, 08 Dec 2011)
New Revision: 37110
Modified:
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/wizard/web/jboss/JBossJSFPortletCapabilitiesWizardPageFillingTask.java
Log:
Added constructor to support selection of portlet bridge location
Modified: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/wizard/web/jboss/JBossJSFPortletCapabilitiesWizardPageFillingTask.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/wizard/web/jboss/JBossJSFPortletCapabilitiesWizardPageFillingTask.java 2011-12-08 12:01:05 UTC (rev 37109)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/wizard/web/jboss/JBossJSFPortletCapabilitiesWizardPageFillingTask.java 2011-12-08 13:15:14 UTC (rev 37110)
@@ -1,12 +1,17 @@
package org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss;
+import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException;
import org.jboss.tools.portlet.ui.bot.task.AbstractSWTTask;
import org.jboss.tools.portlet.ui.bot.task.wizard.WizardPageFillingTask;
/**
* Fills the JBoss JSF portlet specific wizard page (for selection of
- * how the portlet libraries should be configured)
+ * how the portlet libraries should be configured).
*
+ * This task tries to fill the value of portlet bridge runtime only if the field is visible,
+ * otherwise it is skipped (the wizard page shows field for portlet bridge selection only if
+ * it cannot determine it automatically from the server)
+ *
* @author Lucia Jelinkova
*
*/
@@ -32,13 +37,27 @@
private Type type;
+ private String portletBridge;
+
public JBossJSFPortletCapabilitiesWizardPageFillingTask(Type type) {
super();
this.type = type;
}
+
+ public JBossJSFPortletCapabilitiesWizardPageFillingTask(Type type, String portletBridge) {
+ super();
+ this.type = type;
+ this.portletBridge = portletBridge;
+ }
@Override
public void perform() {
getBot().comboBoxWithLabel("Type:").setSelection(type.toString());
+
+ try {
+ getBot().textInGroup("Portletbridge Runtime").setText(portletBridge);
+ } catch (WidgetNotFoundException e) {
+ // ok, the portlet bridge is recognized in the server location
+ }
}
}
14 years
JBoss Tools SVN: r37109 - trunk/documentation/whatsnew/examples.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2011-12-08 07:01:05 -0500 (Thu, 08 Dec 2011)
New Revision: 37109
Modified:
trunk/documentation/whatsnew/examples/examples-news-3.3.0.M5.html
Log:
JBIDE-10385 CLONE - CLONE - CLONE - Project Examples in N&N
Modified: trunk/documentation/whatsnew/examples/examples-news-3.3.0.M5.html
===================================================================
--- trunk/documentation/whatsnew/examples/examples-news-3.3.0.M5.html 2011-12-08 11:56:59 UTC (rev 37108)
+++ trunk/documentation/whatsnew/examples/examples-news-3.3.0.M5.html 2011-12-08 12:01:05 UTC (rev 37109)
@@ -39,7 +39,7 @@
<a name="itemnam1e" id="itemname1"></a><b>Improve cheatsheets</b>
</td>
<td width="70%" valign="top">
- <p>Now the Project Example engine opens cheatsheet.xml, .cheatsheet.xml, readme.html and readme.md automatically when finding them in the root of some of the created projects.
+ <p>Now the Project Example engine opens cheatsheet.xml, .cheatsheet.xml, readme.html, readme.txt and readme.md automatically when finding them in the root of some of the created projects.
</p>
<p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-10243">Related Jira</a></small></p>
</td>
14 years
JBoss Tools SVN: r37108 - trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2011-12-08 06:56:59 -0500 (Thu, 08 Dec 2011)
New Revision: 37108
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/ProjectExamplesActivator.java
Log:
JBIDE-10243 Improve cheatsheets
Modified: trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/ProjectExamplesActivator.java
===================================================================
--- trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/ProjectExamplesActivator.java 2011-12-08 11:55:21 UTC (rev 37107)
+++ trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/ProjectExamplesActivator.java 2011-12-08 11:56:59 UTC (rev 37108)
@@ -113,6 +113,8 @@
private static final String CHEATSHEET_XML = "/cheatsheet.xml"; //$NON-NLS-1$
private static final String PERIOD_CHEATSHEET_XML = "/.cheatsheet.xml"; //$NON-NLS-1$
private static final String README_MD = "/readme.md"; //$NON-NLS-1$
+ private static final String README_TXT = "/readme.txt"; //$NON-NLS-1$
+
// The plug-in ID
public static final String PLUGIN_ID = "org.jboss.tools.project.examples"; //$NON-NLS-1$
public static final String ALL_SITES = Messages.ProjectExamplesActivator_All;
@@ -429,7 +431,7 @@
view.getCheatSheetViewer().setInput(id, id, finalURL, new DefaultStateManager(), false);
} else {
try {
- if (finalURL.toString().endsWith(README_MD)) {
+ if (finalURL.toString().endsWith(README_MD) || finalURL.toString().endsWith(README_TXT)) {
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
IFile[] files = null;
@@ -514,6 +516,10 @@
ProjectUtil.EDITOR)) {
return;
}
+ if (checkCheatsheet(project, eclipseProject, README_TXT,
+ ProjectUtil.EDITOR)) {
+ return;
+ }
}
}
14 years
JBoss Tools SVN: r37107 - branches/jbosstools-3.3.0.M5/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2011-12-08 06:55:21 -0500 (Thu, 08 Dec 2011)
New Revision: 37107
Modified:
branches/jbosstools-3.3.0.M5/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/ProjectExamplesActivator.java
Log:
JBIDE-10243 Improve cheatsheets
Modified: branches/jbosstools-3.3.0.M5/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/ProjectExamplesActivator.java
===================================================================
--- branches/jbosstools-3.3.0.M5/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/ProjectExamplesActivator.java 2011-12-08 11:41:39 UTC (rev 37106)
+++ branches/jbosstools-3.3.0.M5/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/ProjectExamplesActivator.java 2011-12-08 11:55:21 UTC (rev 37107)
@@ -113,6 +113,8 @@
private static final String CHEATSHEET_XML = "/cheatsheet.xml"; //$NON-NLS-1$
private static final String PERIOD_CHEATSHEET_XML = "/.cheatsheet.xml"; //$NON-NLS-1$
private static final String README_MD = "/readme.md"; //$NON-NLS-1$
+ private static final String README_TXT = "/readme.txt"; //$NON-NLS-1$
+
// The plug-in ID
public static final String PLUGIN_ID = "org.jboss.tools.project.examples"; //$NON-NLS-1$
public static final String ALL_SITES = Messages.ProjectExamplesActivator_All;
@@ -429,7 +431,7 @@
view.getCheatSheetViewer().setInput(id, id, finalURL, new DefaultStateManager(), false);
} else {
try {
- if (finalURL.toString().endsWith(README_MD)) {
+ if (finalURL.toString().endsWith(README_MD) || finalURL.toString().endsWith(README_TXT)) {
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
IFile[] files = null;
@@ -514,6 +516,10 @@
ProjectUtil.EDITOR)) {
return;
}
+ if (checkCheatsheet(project, eclipseProject, README_TXT,
+ ProjectUtil.EDITOR)) {
+ return;
+ }
}
}
14 years
JBoss Tools SVN: r37106 - in branches/jbosstools-3.3.0.M5/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui: wizard and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-12-08 06:41:39 -0500 (Thu, 08 Dec 2011)
New Revision: 37106
Modified:
branches/jbosstools-3.3.0.M5/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/common/FileUtils.java
branches/jbosstools-3.3.0.M5/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ImportProjectWizardModel.java
Log:
[JBIDE-10171] cloning to tmp-folder and removing it afterwards
Modified: branches/jbosstools-3.3.0.M5/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/common/FileUtils.java
===================================================================
--- branches/jbosstools-3.3.0.M5/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/common/FileUtils.java 2011-12-08 11:36:01 UTC (rev 37105)
+++ branches/jbosstools-3.3.0.M5/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/common/FileUtils.java 2011-12-08 11:41:39 UTC (rev 37106)
@@ -52,6 +52,16 @@
&& file.isDirectory();
}
+ public static File getSystemTmpFolder() {
+ String tmpFolder = System.getProperty("java.io.tmpdir");
+ return new File(tmpFolder);
+ }
+
+ public static File getRandomTmpFolder() {
+ String randomName = String.valueOf(System.currentTimeMillis());
+ return new File(getSystemTmpFolder(), randomName);
+ }
+
/**
* Copies the ginve source to the given destination recursively. Overwrites
* existing files/directory on the destination path if told so.
Modified: branches/jbosstools-3.3.0.M5/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ImportProjectWizardModel.java
===================================================================
--- branches/jbosstools-3.3.0.M5/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ImportProjectWizardModel.java 2011-12-08 11:36:01 UTC (rev 37105)
+++ branches/jbosstools-3.3.0.M5/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ImportProjectWizardModel.java 2011-12-08 11:41:39 UTC (rev 37106)
@@ -287,8 +287,10 @@
// model.shareProject(monitor);
// model.mergeWithApplicationRepository(repository,
// monitor);
- File repositoryFile = cloneRepository(monitor);
+ File tmpFolder = FileUtils.getRandomTmpFolder();
+ File repositoryFile = cloneRepository(tmpFolder, monitor);
copyOpenshiftConfiguration(repositoryFile, monitor);
+ FileUtil.safeDelete(tmpFolder);
shareProject(monitor);
createServerAdapterIfRequired(monitor);
}
@@ -350,8 +352,14 @@
private File cloneRepository(IProgressMonitor monitor)
throws OpenShiftException, InvocationTargetException, InterruptedException, URISyntaxException {
IApplication application = getApplication();
+ File destination = new File(getRepositoryPath(), application.getName());
+ return cloneRepository(destination, monitor);
+ }
+
+ private File cloneRepository(File destination, IProgressMonitor monitor)
+ throws OpenShiftException, InvocationTargetException, InterruptedException, URISyntaxException {
+ IApplication application = getApplication();
monitor.subTask(NLS.bind("Cloning repository for application {0}...", application.getName()));
- File destination = new File(getRepositoryPath(), application.getName());
cloneRepository(application.getGitUri(), destination, monitor);
return destination;
}
14 years
JBoss Tools SVN: r37105 - workspace/fred/repositories/snapshot/org/richfaces/archetypes/richfaces-archetype-simpleapp/4.1.0-SNAPSHOT.
by jbosstools-commits@lists.jboss.org
Author: fbricon
Date: 2011-12-08 06:36:01 -0500 (Thu, 08 Dec 2011)
New Revision: 37105
Modified:
workspace/fred/repositories/snapshot/org/richfaces/archetypes/richfaces-archetype-simpleapp/4.1.0-SNAPSHOT/richfaces-archetype-simpleapp-4.1.0-SNAPSHOT.jar
Log:
restore default richfaces-archetype-simpleapp-4.1.0-SNAPSHOT.jar
Modified: workspace/fred/repositories/snapshot/org/richfaces/archetypes/richfaces-archetype-simpleapp/4.1.0-SNAPSHOT/richfaces-archetype-simpleapp-4.1.0-SNAPSHOT.jar
===================================================================
(Binary files differ)
14 years
JBoss Tools SVN: r37104 - workspace/fred/repositories/snapshot/org/richfaces/archetypes/richfaces-archetype-simpleapp/4.1.0-SNAPSHOT.
by jbosstools-commits@lists.jboss.org
Author: fbricon
Date: 2011-12-08 06:22:03 -0500 (Thu, 08 Dec 2011)
New Revision: 37104
Modified:
workspace/fred/repositories/snapshot/org/richfaces/archetypes/richfaces-archetype-simpleapp/4.1.0-SNAPSHOT/richfaces-archetype-simpleapp-4.1.0-SNAPSHOT.jar
Log:
Force use of richfaces 4.1.0.CR2
Modified: workspace/fred/repositories/snapshot/org/richfaces/archetypes/richfaces-archetype-simpleapp/4.1.0-SNAPSHOT/richfaces-archetype-simpleapp-4.1.0-SNAPSHOT.jar
===================================================================
(Binary files differ)
14 years
JBoss Tools SVN: r37103 - trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-12-08 06:10:41 -0500 (Thu, 08 Dec 2011)
New Revision: 37103
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ImportProjectWizardModel.java
Log:
[JBIDE-10402] cloning OpenShift application to temporary folder and removing it afterwards
Modified: trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ImportProjectWizardModel.java
===================================================================
--- trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ImportProjectWizardModel.java 2011-12-08 10:55:03 UTC (rev 37102)
+++ trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ImportProjectWizardModel.java 2011-12-08 11:10:41 UTC (rev 37103)
@@ -289,9 +289,8 @@
// monitor);
File tmpFolder = FileUtils.getRandomTmpFolder();
File repositoryFile = cloneRepository(tmpFolder, monitor);
- tmpFolder.delete();
-
copyOpenshiftConfiguration(repositoryFile, monitor);
+ FileUtil.safeDelete(tmpFolder);
shareProject(monitor);
createServerAdapterIfRequired(monitor);
}
14 years
JBoss Tools SVN: r37102 - trunk/download.jboss.org/jbosstools/examples.
by jbosstools-commits@lists.jboss.org
Author: fbricon
Date: 2011-12-08 05:55:03 -0500 (Thu, 08 Dec 2011)
New Revision: 37102
Modified:
trunk/download.jboss.org/jbosstools/examples/project-examples-shared-3.3.xml
Log:
Updated the archetypes :
- webapp and ear archetypes point to the released version in central
- updated the required runtime (added eap6 / as 7.1) when necessary
- updated the compatible m2e-wtp version range to include upcoming 0.15
Modified: trunk/download.jboss.org/jbosstools/examples/project-examples-shared-3.3.xml
===================================================================
--- trunk/download.jboss.org/jbosstools/examples/project-examples-shared-3.3.xml 2011-12-08 10:54:41 UTC (rev 37101)
+++ trunk/download.jboss.org/jbosstools/examples/project-examples-shared-3.3.xml 2011-12-08 10:55:03 UTC (rev 37102)
@@ -14,8 +14,8 @@
<url/>
<fixes>
<fix type="wtpruntime">
- <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.70</property>
- <property name="description">This project example requires JBoss AS 7.0</property>
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.70, org.jboss.ide.eclipse.as.runtime.71, org.jboss.ide.eclipse.as.runtime.eap.60</property>
+ <property name="description">This project example requires JBoss AS 7.0/7.1 or EAP 6 </property>
<property name="downloadId">org.jboss.tools.runtime.core.as.702</property>
</fix>
<fix type="plugin">
@@ -26,7 +26,7 @@
</fix>
<fix type="plugin">
<property name="id">org.maven.ide.eclipse.wtp</property>
- <property name="versions">[0.13.1,0.15.0)</property>
+ <property name="versions">[0.13.1,0.16.0)</property>
<property name="description">This project example requires m2eclipse-wtp >= 0.13.1.</property>
<property name="connectorIds">org.maven.ide.eclipse.wtp</property>
</fix>
@@ -38,13 +38,15 @@
</fix>
</fixes>
<importType>mavenArchetype</importType>
- <importTypeDescription>The project example requires the m2e, m2eclipse-wtp and JBoss Maven Integration feature.</importTypeDescription>
+ <importTypeDescription>The project example requires the m2e, m2eclipse-wtp and JBoss Maven Integration features.</importTypeDescription>
<mavenArchetype>
<archetypeGroupId>org.jboss.spec.archetypes</archetypeGroupId>
- <archetypeArtifactId>jboss-javaee6-webapp</archetypeArtifactId>
- <archetypeVersion>7.0.2-SNAPSHOT</archetypeVersion>
- <archetypeRepository>http://anonsvn.jboss.org/repos/jbosstools/workspace/fred/repositories/sna...</archetypeRepository>
- <groupId>org.jboss.tools.examples</groupId>
+ <archetypeArtifactId>jboss-javaee6-webapp-archetype</archetypeArtifactId>
+ <archetypeVersion>7.0.2.CR2</archetypeVersion>
+ <!--
+ <archetypeRepository>http://anonsvn.jboss.org/repos/jbosstools/workspace/fred/repositories/sna...</archetypeRepository>
+ -->
+ <groupId>org.jboss.tools.examples</groupId>
<artifactId>jboss-javaee6-webapp</artifactId>
<version>0.0.1-SNAPSHOT</version>
<javaPackage>org.jboss.tools.examples</javaPackage>
@@ -64,8 +66,8 @@
<url/>
<fixes>
<fix type="wtpruntime">
- <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.70, org.jboss.ide.eclipse.as.runtime.eap.60</property>
- <property name="description">This project example requires JBoss AS 7.0</property>
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.70, org.jboss.ide.eclipse.as.runtime.71, org.jboss.ide.eclipse.as.runtime.eap.60</property>
+ <property name="description">This project example requires JBoss AS 7.0/7.1 or EAP 6 </property>
<property name="downloadId">org.jboss.tools.runtime.core.as.702</property>
</fix>
<fix type="plugin">
@@ -76,7 +78,7 @@
</fix>
<fix type="plugin">
<property name="id">org.maven.ide.eclipse.wtp</property>
- <property name="versions">[0.13.1,0.15.0)</property>
+ <property name="versions">[0.13.1,0.16.0)</property>
<property name="description">This project example requires m2eclipse-wtp >= 0.13.1.</property>
<property name="connectorIds">org.maven.ide.eclipse.wtp</property>
</fix>
@@ -88,13 +90,15 @@
</fix>
</fixes>
<importType>mavenArchetype</importType>
- <importTypeDescription>The project example requires the m2e, m2eclipse-wtp and JBoss Maven Integration feature.</importTypeDescription>
+ <importTypeDescription>The project example requires the m2e, m2eclipse-wtp and JBoss Maven Integration features.</importTypeDescription>
<mavenArchetype>
<archetypeGroupId>org.jboss.spec.archetypes</archetypeGroupId>
- <archetypeArtifactId>jboss-javaee6-ear-webapp</archetypeArtifactId>
- <archetypeVersion>7.0.2-SNAPSHOT</archetypeVersion>
+ <archetypeArtifactId>jboss-javaee6-webapp-ear-archetype</archetypeArtifactId>
+ <archetypeVersion>7.0.2.CR2</archetypeVersion>
+ <!--
<archetypeRepository>http://anonsvn.jboss.org/repos/jbosstools/workspace/fred/repositories/sna...</archetypeRepository>
- <groupId>org.jboss.tools.example</groupId>
+ -->
+ <groupId>org.jboss.tools.example</groupId>
<artifactId>multi</artifactId>
<version>0.0.1-SNAPSHOT</version>
<javaPackage>org.jboss.tools.example</javaPackage>
@@ -112,8 +116,8 @@
<url/>
<fixes>
<fix type="wtpruntime">
- <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.70, org.jboss.ide.eclipse.as.runtime.eap.60</property>
- <property name="description">This project example requires JBoss AS 7.0</property>
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.70, org.jboss.ide.eclipse.as.runtime.71, org.jboss.ide.eclipse.as.runtime.eap.60</property>
+ <property name="description">This project example requires JBoss AS 7.0/7.1 or EAP 6 </property>
<property name="downloadId">org.jboss.tools.runtime.core.as.702</property>
</fix>
<fix type="plugin">
@@ -136,14 +140,16 @@
</fix>
</fixes>
<importType>mavenArchetype</importType>
- <importTypeDescription>The project example requires the m2e, m2eclipse-wtp and JBoss Maven Integration feature.</importTypeDescription>
+ <importTypeDescription>The project example requires the m2e, m2eclipse-wtp and JBoss Maven Integration features.</importTypeDescription>
<defaultMavenProfiles>arq-jbossas-remote</defaultMavenProfiles>
<mavenArchetype>
<archetypeGroupId>org.jboss.spec.archetypes</archetypeGroupId>
- <archetypeArtifactId>jboss-javaee6-html5-mobile-archetype</archetypeArtifactId>
- <archetypeVersion>7.0.2-SNAPSHOT</archetypeVersion>
+ <archetypeArtifactId>jboss-html5-mobile-archetype</archetypeArtifactId>
+ <archetypeVersion>7.0.2.CR2</archetypeVersion>
+ <!--
<archetypeRepository>http://anonsvn.jboss.org/repos/jbosstools/workspace/fred/repositories/sna...</archetypeRepository>
- <groupId>org.jboss.tools.example</groupId>
+ -->
+ <groupId>org.jboss.tools.example</groupId>
<artifactId>html5-webapp</artifactId>
<version>0.0.1-SNAPSHOT</version>
<javaPackage>org.jboss.tools.example.html5</javaPackage>
@@ -160,8 +166,8 @@
<url/>
<fixes>
<fix type="wtpruntime">
- <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.70, org.jboss.ide.eclipse.as.runtime.eap.60</property>
- <property name="description">This project example requires JBoss AS 7.0</property>
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.70, org.jboss.ide.eclipse.as.runtime.71, org.jboss.ide.eclipse.as.runtime.eap.60</property>
+ <property name="description">This project example requires JBoss AS 7.0/7.1 or EAP 6 </property>
<property name="downloadId">org.jboss.tools.runtime.core.as.702</property>
</fix>
<fix type="plugin">
@@ -172,7 +178,7 @@
</fix>
<fix type="plugin">
<property name="id">org.maven.ide.eclipse.wtp</property>
- <property name="versions">[0.13.1,0.15.0)</property>
+ <property name="versions">[0.13.1,0.16.0)</property>
<property name="description">This project example requires m2eclipse-wtp >= 0.13.1.</property>
<property name="connectorIds">org.maven.ide.eclipse.wtp</property>
</fix>
@@ -184,7 +190,7 @@
</fix>
</fixes>
<importType>mavenArchetype</importType>
- <importTypeDescription>The project example requires the m2e, m2eclipse-wtp and JBoss Maven Integration feature.</importTypeDescription>
+ <importTypeDescription>The project example requires the m2e, m2eclipse-wtp and JBoss Maven Integration features.</importTypeDescription>
<mavenArchetype>
<archetypeGroupId>org.jboss.spring.archetypes</archetypeGroupId>
<archetypeArtifactId>spring-mvc-webapp</archetypeArtifactId>
@@ -207,8 +213,8 @@
<url/>
<fixes>
<fix type="wtpruntime">
- <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.70, org.jboss.ide.eclipse.as.runtime.eap.60</property>
- <property name="description">This project example requires JBoss AS 7.0</property>
+ <property name="allowed-types">org.jboss.ide.eclipse.as.runtime.70, org.jboss.ide.eclipse.as.runtime.71, org.jboss.ide.eclipse.as.runtime.eap.60</property>
+ <property name="description">This project example requires JBoss AS 7.0/7.1 or EAP 6 </property>
<property name="downloadId">org.jboss.tools.runtime.core.as.702</property>
</fix>
<fix type="plugin">
@@ -219,7 +225,7 @@
</fix>
<fix type="plugin">
<property name="id">org.maven.ide.eclipse.wtp</property>
- <property name="versions">[0.13.1,0.15.0)</property>
+ <property name="versions">[0.13.1,0.16.0)</property>
<property name="description">This project example requires m2eclipse-wtp >= 0.13.1.</property>
<property name="connectorIds">org.maven.ide.eclipse.wtp</property>
</fix>
@@ -231,14 +237,17 @@
</fix>
</fixes>
<importType>mavenArchetype</importType>
- <importTypeDescription>The project example requires the m2e, m2eclipse-wtp and JBoss Maven Integration feature.</importTypeDescription>
+ <importTypeDescription>The project example requires the m2e, m2eclipse-wtp and JBoss Maven Integration features.</importTypeDescription>
<defaultMavenProfiles>jee6</defaultMavenProfiles>
<mavenArchetype>
<archetypeGroupId>org.richfaces.archetypes</archetypeGroupId>
<archetypeArtifactId>richfaces-archetype-simpleapp</archetypeArtifactId>
<archetypeVersion>4.1.0-SNAPSHOT</archetypeVersion>
- <archetypeRepository>http://repository.jboss.org/nexus/content/repositories/snapshots/</archetypeRepository>
- <groupId>org.jboss.tools.example</groupId>
+ <!--
+ <archetypeRepository>http://repository.jboss.org/nexus/content/repositories/releases/</archetypeRepository>
+ -->
+ <archetypeRepository>http://anonsvn.jboss.org/repos/jbosstools/workspace/fred/repositories/sna...</archetypeRepository>
+ <groupId>org.jboss.tools.example</groupId>
<artifactId>richfaces-webapp</artifactId>
<version>0.0.1-SNAPSHOT</version>
<javaPackage>org.jboss.tools.example.richfaces</javaPackage>
14 years
JBoss Tools SVN: r37101 - trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam.
by jbosstools-commits@lists.jboss.org
Author: ljelinko
Date: 2011-12-08 05:54:41 -0500 (Thu, 08 Dec 2011)
New Revision: 37101
Modified:
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletProject.java
Log:
changed not to require specific Seam version
Modified: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletProject.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletProject.java 2011-12-08 10:53:32 UTC (rev 37100)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletProject.java 2011-12-08 10:54:41 UTC (rev 37101)
@@ -27,7 +27,7 @@
* @author Lucia Jelinkova
*
*/
-@Require(db=@DB(required=true), seam=@Seam(version="2.2"), server=@Server(required=true, state=ServerState.Present, type=ServerType.EPP))
+@Require(db=@DB, seam=@Seam, server=(a)Server(state=ServerState.Present, type=ServerType.EPP))
public class CreateSeamPortletProject extends CreatePortletProjectTemplate{
public static final String PROJECT_NAME = "seam-portlet";
@@ -42,7 +42,7 @@
List<FacetDefinition> facets = new ArrayList<FacetDefinition>();
facets.add(JAVA_FACET);
facets.add(JSF_FACET);
- facets.add(SEAM_2_FACET);
+ facets.add(new FacetDefinition("Seam 2", null, configuredState.getSeam().version));
facets.add(CORE_PORTLET_FACET);
facets.add(JSF_PORTLET_FACET);
facets.add(SEAM_PORTLET_FACET);
@@ -57,7 +57,7 @@
tasks.add(new JBossPortletCapabilitiesWizardPageFillingTask(JBossPortletCapabilitiesWizardPageFillingTask.Type.RUNTIME_PROVIDER));
tasks.add(new WizardPageDefaultsFillingTask());
tasks.add(getSeamFacetPageFillingTask());
- tasks.add(new JBossJSFPortletCapabilitiesWizardPageFillingTask(JBossJSFPortletCapabilitiesWizardPageFillingTask.Type.RUNTIME_PROVIDER));
+ tasks.add(new JBossJSFPortletCapabilitiesWizardPageFillingTask(JBossJSFPortletCapabilitiesWizardPageFillingTask.Type.RUNTIME_PROVIDER, "/home/ljelinko/programs/jboss/EPP/jboss-epp-5.1/portletbridge"));
return tasks;
}
14 years