Author: ljelinko
Date: 2012-01-24 09:39:21 -0500 (Tue, 24 Jan 2012)
New Revision: 38091
Modified:
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletProject.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletProject.java
Log:
Changed portletbridge location configuration
Modified:
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletProject.java
===================================================================
---
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletProject.java 2012-01-24
14:38:16 UTC (rev 38090)
+++
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletProject.java 2012-01-24
14:39:21 UTC (rev 38091)
@@ -10,6 +10,7 @@
import
org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.JBossJSFPortletCapabilitiesWizardPageFillingTask;
import
org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.JBossPortletCapabilitiesWizardPageFillingTask;
import org.jboss.tools.portlet.ui.bot.test.template.CreatePortletProjectTemplate;
+import org.jboss.tools.ui.bot.ext.config.TestConfigurator;
/**
@@ -44,7 +45,9 @@
tasks.add(new WizardPageDefaultsFillingTask());
tasks.add(new
JBossPortletCapabilitiesWizardPageFillingTask(JBossPortletCapabilitiesWizardPageFillingTask.Type.RUNTIME_PROVIDER));
tasks.add(new WizardPageDefaultsFillingTask());
- tasks.add(new
JBossJSFPortletCapabilitiesWizardPageFillingTask(JBossJSFPortletCapabilitiesWizardPageFillingTask.Type.RUNTIME_PROVIDER,
"/home/ljelinko/programs/jboss/EPP/jboss-epp-5.1/portletbridge"));
+ tasks.add(new JBossJSFPortletCapabilitiesWizardPageFillingTask(
+ JBossJSFPortletCapabilitiesWizardPageFillingTask.Type.RUNTIME_PROVIDER,
+ TestConfigurator.currentConfig.getPortletBridge().getLocation()));
return tasks;
}
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 2012-01-24
14:38:16 UTC (rev 38090)
+++
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletProject.java 2012-01-24
14:39:21 UTC (rev 38091)
@@ -33,8 +33,6 @@
public static final String PROJECT_NAME = "seam-portlet";
- private static final String PORTLET_BRIDGE_AS_RELATIVE_PATH =
"/server/default/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib";
-
@Override
public String getProjectName() {
return PROJECT_NAME;
@@ -63,7 +61,7 @@
tasks.add(getSeamFacetPageFillingTask());
tasks.add(new JBossJSFPortletCapabilitiesWizardPageFillingTask(
JBossJSFPortletCapabilitiesWizardPageFillingTask.Type.RUNTIME_PROVIDER,
- TestConfigurator.currentConfig.getServer().runtimeHome +
PORTLET_BRIDGE_AS_RELATIVE_PATH));
+ TestConfigurator.currentConfig.getPortletBridge().getLocation()));
return tasks;
}