JBoss Tools SVN: r44521 - in trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test: src/org/jboss/tools/drools/ui/bot/test and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: jgargula
Date: 2012-10-16 05:47:12 -0400 (Tue, 16 Oct 2012)
New Revision: 44521
Modified:
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/resources/project.properties
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/DroolsAllBotTests.java
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/DroolsViewsTest.java
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/ManageDroolsRuntime.java
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/RuleFlowTest.java
Log:
Added support for jBPM runtime.
Modified: trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/resources/project.properties
===================================================================
--- trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/resources/project.properties 2012-10-16 09:40:45 UTC (rev 44520)
+++ trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/resources/project.properties 2012-10-16 09:47:12 UTC (rev 44521)
@@ -1,3 +1,5 @@
use-external-drools-runtime=true
-guvnor-repository-url=/jboss-brms/org.drools.guvnor.Guvnor/webdav
external-drools-runtime-home=/home/jgargula/Programs/drools-runtime
+use-external-jbpm-runtime=true
+external-jbpm-runtime-home=/home/jgargula/Programs/jbpm-runtime
+guvnor-repository-url=/jboss-brms/org.drools.guvnor.Guvnor/webdav
\ No newline at end of file
Modified: trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/DroolsAllBotTests.java
===================================================================
--- trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/DroolsAllBotTests.java 2012-10-16 09:40:45 UTC (rev 44520)
+++ trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/DroolsAllBotTests.java 2012-10-16 09:47:12 UTC (rev 44521)
@@ -24,6 +24,7 @@
import org.jboss.tools.drools.ui.bot.test.smoke.ManageDroolsProject;
import org.jboss.tools.drools.ui.bot.test.smoke.ManageDroolsRules;
import org.jboss.tools.drools.ui.bot.test.smoke.ManageDroolsRuntime;
+import org.jboss.tools.drools.ui.bot.test.smoke.ManageJbpmRuntime;
import org.jboss.tools.drools.ui.bot.test.smoke.OpenDroolsPerspective;
import org.jboss.tools.drools.ui.bot.test.smoke.RuleFlowTest;
import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
@@ -49,6 +50,7 @@
@SuiteClasses({
OpenDroolsPerspective.class,
ManageDroolsRuntime.class,
+ ManageJbpmRuntime.class,
ManageDroolsProject.class,
ManageDroolsRules.class,
DroolsRulesEditorTest.class,
@@ -63,7 +65,10 @@
public static final String DROOLS_PROJECT_NAME = "droolsTest";
public static final String DROOLS_RUNTIME_NAME = "Drools Test Runtime";
public static String DROOLS_RUNTIME_LOCATION = null;
+ public static String JBPM_RUNTIME_LOCATION = null;
+ public static final String JBPM_RUNTIME_NAME = "jBPM Test Runtime";
public static String CREATE_DROOLS_RUNTIME_LOCATION = null;
+ public static String CREATE_JBPM_RUNTIME_LOCATION = null;
public static String SRC_MAIN_JAVA_TREE_NODE = "src/main/java";
public static String SRC_MAIN_RULES_TREE_NODE = "src/main/rules";
public static String COM_SAMPLE_TREE_NODE = "com.sample";
@@ -80,12 +85,17 @@
public static final String DECISION_TABLE_JAVA_TEST_FILE_NAME = "DecisionTableTest.java";
public static final String USE_EXTERNAL_DROOLS_RUNTIME_PROPERTY_NAME = "use-external-drools-runtime";
public static final String EXTERNAL_DROOLS_RUTIME_HOME_PROPERTY_NAME = "external-drools-runtime-home";
+ public static final String USE_EXTERNAL_JBPM_RUNTIME_PROPERTY_NAME = "use-external-jbpm-runtime";
+ public static final String EXTERNAL_JBPM_RUTIME_HOME_PROPERTY_NAME = "external-jbpm-runtime-home";
public static final String GUVNOR_REPOSITORY_URL_PROPERTY_NAME = "guvnor-repository-url";
private static boolean USE_EXTERNAL_DROOLS_RUNTIME;
+ private static boolean USE_EXTERNAL_JBPM_RUNTIME;
private static boolean isFirstRun = true;
private static String testDroolsRuntimeName = null;
private static String testDroolsRuntimeLocation = null;
+ private static String testJbpmRuntimeName = null;
+ private static String testJbpmRuntimeLocation = null;
private static String guvnorRepositoryUrl = null;
private static String guvnorRepositoryRootTreeItem = "http://localhost:8080/jboss-brms/org.drools.guvnor.Guvnor/webdav/";
@@ -105,6 +115,22 @@
DroolsAllBotTests.testDroolsRuntimeLocation = testDroolsRuntimeLocation;
}
+ public static String getTestJbpmRuntimeName() {
+ return testJbpmRuntimeName;
+ }
+
+ public static void setTestJbpmRuntimeName(String testJbmpRuntimeName) {
+ DroolsAllBotTests.testJbpmRuntimeName = testJbmpRuntimeName;
+ }
+
+ public static String getTestJbpmRuntimeLocation() {
+ return testJbpmRuntimeLocation;
+ }
+
+ public static void setTestJbpmRuntimeLocation(String testJbpmRuntimeLocation) {
+ DroolsAllBotTests.testJbpmRuntimeLocation = testJbpmRuntimeLocation;
+ }
+
public static String getGuvnorRepositoryUrl() {
return guvnorRepositoryUrl;
}
@@ -138,7 +164,7 @@
DroolsAllBotTests.USE_EXTERNAL_DROOLS_RUNTIME = useExternalDroolRuntime != null && useExternalDroolRuntime.equalsIgnoreCase("true");
String droolsRuntimeLocation = props.getProperty(DroolsAllBotTests.EXTERNAL_DROOLS_RUTIME_HOME_PROPERTY_NAME);
String tmpDir = System.getProperty("java.io.tmpdir");
- if (droolsRuntimeLocation == null || droolsRuntimeLocation.length() == 0) {
+ if (droolsRuntimeLocation == null || droolsRuntimeLocation.trim().length() == 0) {
DroolsAllBotTests.DROOLS_RUNTIME_LOCATION = tmpDir;
} else {
DroolsAllBotTests.DROOLS_RUNTIME_LOCATION = droolsRuntimeLocation;
@@ -146,6 +172,19 @@
DroolsAllBotTests.CREATE_DROOLS_RUNTIME_LOCATION = tmpDir + File.separator + "drools";
// Create directory for Drools Runtime which will be created as a part of test
new File(DroolsAllBotTests.CREATE_DROOLS_RUNTIME_LOCATION).mkdir();
+
+ String useExternalJbpmRuntime = props.getProperty(DroolsAllBotTests.USE_EXTERNAL_JBPM_RUNTIME_PROPERTY_NAME);
+ DroolsAllBotTests.USE_EXTERNAL_JBPM_RUNTIME = useExternalJbpmRuntime != null && useExternalJbpmRuntime.equalsIgnoreCase("true");
+ String jbpmRuntimeLocation = props.getProperty(DroolsAllBotTests.EXTERNAL_JBPM_RUTIME_HOME_PROPERTY_NAME);
+ if (jbpmRuntimeLocation == null || jbpmRuntimeLocation.trim().length() == 0) {
+ DroolsAllBotTests.JBPM_RUNTIME_LOCATION = tmpDir;
+ } else {
+ DroolsAllBotTests.JBPM_RUNTIME_LOCATION = jbpmRuntimeLocation;
+ }
+ DroolsAllBotTests.CREATE_JBPM_RUNTIME_LOCATION = tmpDir + File.separator + "jBPM";
+ // Create directory for jBPM Runtime which will be created as a part of test
+ new File(DroolsAllBotTests.CREATE_JBPM_RUNTIME_LOCATION).mkdir();
+
try {
bot.button(IDELabel.Button.NO).click();
} catch (WidgetNotFoundException wnfe) {
@@ -204,10 +243,14 @@
public static boolean useExternalDroolsRuntime() {
return USE_EXTERNAL_DROOLS_RUNTIME;
}
+
+ public static boolean useExternalJbpmRuntime() {
+ return USE_EXTERNAL_JBPM_RUNTIME;
+ }
@AfterClass
public static void tearDownTest() {
// delete created drools runtime
SWTUtilExt.deleteDirectory(DroolsAllBotTests.CREATE_DROOLS_RUNTIME_LOCATION);
- }
+ }
}
\ No newline at end of file
Modified: trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/DroolsViewsTest.java
===================================================================
--- trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/DroolsViewsTest.java 2012-10-16 09:40:45 UTC (rev 44520)
+++ trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/DroolsViewsTest.java 2012-10-16 09:47:12 UTC (rev 44521)
@@ -133,7 +133,7 @@
* Test of Agenda view.
*/
@Test
- public void agendaTest() {
+ public void testAgenda() {
bot.editorByTitle(RULES_FILE).show();
eclipse.stepOver();
SWTUtilExt.startCapturingStandardOutput();
@@ -170,7 +170,7 @@
*/
@Test
@Ignore
- public void refreshAgendaTest() {
+ public void testRefreshAgenda() {
openView(IDELabel.View.AGENDA);
eclipse.stepOver();
assertTrue("Agenda is not refreshing automatically.", bot.tree().getAllItems()[0].getItems().length > 0);
@@ -180,7 +180,7 @@
* Test of global variable in Global Data.
*/
@Test
- public void globalDataTest() {
+ public void testGlobalData() {
openView(IDELabel.View.GLOBAL_DATA);
assertTrue("Global data has wrong number of items. Expected 1 but was "
+ bot.tree().getAllItems().length, bot.tree().getAllItems().length == 1);
@@ -193,7 +193,7 @@
* Test of Audit view.
*/
@Test
- public void auditTest() {
+ public void testAudit() {
eclipse.finishDebug();
openView(IDELabel.View.AUDIT);
SWTBotView auditView = bot.viewByTitle(IDELabel.View.AUDIT);
@@ -250,7 +250,7 @@
* Test of Working Memory view
*/
@Test
- public void workingMemoryTest() {
+ public void testWorkingMemory() {
openView(IDELabel.View.WORKING_MEMORY);
SWTBotTree workingMemoryTree = bot.tree();
Modified: trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/ManageDroolsRuntime.java
===================================================================
--- trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/ManageDroolsRuntime.java 2012-10-16 09:40:45 UTC (rev 44520)
+++ trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/ManageDroolsRuntime.java 2012-10-16 09:47:12 UTC (rev 44521)
@@ -25,12 +25,14 @@
import org.jboss.tools.ui.bot.ext.gen.ActionItem;
import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.junit.Test;
+
/**
* Test managing of Drools Runtime
* @author Vladimir Pakan
*
*/
-public class ManageDroolsRuntime extends SWTTestExt{
+public class ManageDroolsRuntime extends SWTTestExt {
+
/**
* Test manage Drools Runtime
*/
@@ -42,18 +44,19 @@
"edited" , "testedit");
removeDroolsRuntime(DroolsAllBotTests.getTestDroolsRuntimeName());
createDroolsRuntime(DroolsAllBotTests.DROOLS_RUNTIME_NAME,DroolsAllBotTests.CREATE_DROOLS_RUNTIME_LOCATION);
- if (DroolsAllBotTests.useExternalDroolsRuntime()){
+ if (DroolsAllBotTests.useExternalDroolsRuntime()) {
removeDroolsRuntime(DroolsAllBotTests.DROOLS_RUNTIME_NAME);
addDroolsRuntime(DroolsAllBotTests.DROOLS_RUNTIME_NAME,DroolsAllBotTests.DROOLS_RUNTIME_LOCATION,true);
}
}
+
/**
* Adds Drools Runtime
* @param runtimeName
* @param runtimeLocation
* @param setAsDefault
*/
- private void addDroolsRuntime(String runtimeName, String runtimeLocation, boolean setAsDefault){
+ private void addDroolsRuntime(String runtimeName, String runtimeLocation, boolean setAsDefault) {
selectDroolsPreferences();
bot.button(IDELabel.Button.ADD).click();
bot.shell(IDELabel.Shell.DROOLS_RUNTIME).activate();
@@ -66,7 +69,7 @@
SWTEclipseExt.isItemInTableColumn(table,runtimeName,IDELabel.DroolsRuntimeDialog.COLUMN_NAME_INDEX)
&& SWTEclipseExt.isItemInTableColumn(table,runtimeLocation,IDELabel.DroolsRuntimeDialog.COLUMN_LOCATION_INDEX);
// Set new runtime as default
- if (setAsDefault){
+ if (setAsDefault) {
table.getTableItem(0).check();
}
bot.button(IDELabel.Button.OK).click();
@@ -77,13 +80,15 @@
DroolsAllBotTests.setTestDroolsRuntimeLocation(runtimeLocation);
SWTEclipseExt.hideWarningIfDisplayed(bot);
}
+
/**
* Selects Drools Preferences within Preferences Dialog
*/
- private void selectDroolsPreferences(){
+ private void selectDroolsPreferences() {
jbt.delay();
new SWTOpenExt(new SWTBotExt()).preferenceOpen(ActionItem.Preference.DroolsInstalledDroolsRuntimes.LABEL);
}
+
/**
* Edits Drools Runtime
* @param runtimeName
@@ -91,7 +96,7 @@
* @param nameSuffix
* @param locationSuffix
*/
- private void editDroolsRuntime(String runtimeName, String runtimeLocation, String nameSuffix, String locationSuffix){
+ private void editDroolsRuntime(String runtimeName, String runtimeLocation, String nameSuffix, String locationSuffix) {
selectDroolsPreferences();
SWTBotTable table = bot.table();
table.getTableItem(runtimeName).select();
@@ -123,7 +128,7 @@
* @param runtimeName
* @param runtimeLocation
*/
- private void removeDroolsRuntime(String runtimeName){
+ private void removeDroolsRuntime(String runtimeName) {
selectDroolsPreferences();
SWTBotTable table = bot.table();
table.getTableItem(runtimeName).select();
@@ -134,9 +139,9 @@
assertTrue("Drools Runtime with name [" + runtimeName +
"] was not removed properly.",droolsRuntimeRemoved);
// Remove temporary directory created within editDroolsRuntime() method
- if (!DroolsAllBotTests.getTestDroolsRuntimeName().equals(DroolsAllBotTests.DROOLS_RUNTIME_NAME)){
+ if (!DroolsAllBotTests.getTestDroolsRuntimeName().equals(DroolsAllBotTests.DROOLS_RUNTIME_NAME)) {
File tempDir = new File (DroolsAllBotTests.getTestDroolsRuntimeLocation());
- if (tempDir.isDirectory()){
+ if (tempDir.isDirectory()) {
tempDir.delete();
}
}
@@ -144,12 +149,13 @@
DroolsAllBotTests.setTestDroolsRuntimeLocation(null);
SWTEclipseExt.hideWarningIfDisplayed(bot);
}
+
/**
* Creates Drools Runtime
* @param runtimeName
* @param runtimeLocation
*/
- private void createDroolsRuntime(String runtimeName, String runtimeLocation){
+ private void createDroolsRuntime(String runtimeName, String runtimeLocation) {
DroolsRuntimeManager.createDefaultRuntime(runtimeLocation);
DroolsRuntime droolsRuntime = new DroolsRuntime();
droolsRuntime.setName(runtimeName);
@@ -172,7 +178,5 @@
DroolsAllBotTests.setTestDroolsRuntimeName(runtimeName);
DroolsAllBotTests.setTestDroolsRuntimeLocation(runtimeLocation);
- }
-
+ }
}
-
Modified: trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/RuleFlowTest.java
===================================================================
--- trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/RuleFlowTest.java 2012-10-16 09:40:45 UTC (rev 44520)
+++ trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/RuleFlowTest.java 2012-10-16 09:47:12 UTC (rev 44521)
@@ -41,6 +41,7 @@
import org.jboss.tools.ui.bot.ext.SWTUtilExt;
import org.jboss.tools.ui.bot.ext.Timing;
import org.jboss.tools.ui.bot.ext.gen.ActionItem;
+import org.jboss.tools.ui.bot.ext.helper.ContextMenuHelper;
import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.jboss.tools.ui.bot.ext.types.ViewType;
import org.junit.Test;
@@ -75,11 +76,22 @@
*/
@Test
public void testRuleFlow() {
+ configureJbpmProject();
runRuleFlowCheck(DroolsAllBotTests.RULE_FLOW_JAVA_TEST_FILE_NAME);
ruleFlowEditorCheck(DroolsAllBotTests.RULE_FLOW_FILE_NAME);
}
/**
+ * Sets jBPM library
+ */
+ private void configureJbpmProject() {
+ SWTBotTree tree = eclipse.showView(ViewType.PACKAGE_EXPLORER).tree();
+ tree.getTreeItem(DroolsAllBotTests.DROOLS_PROJECT_NAME).select();
+ ContextMenuHelper.clickContextMenu(tree, IDELabel.Menu.PACKAGE_EXPLORER_CONFIGURE,
+ IDELabel.Menu.CONVERT_TO_JBPM_PROJECT);
+ }
+
+ /**
* Sets all drools flow nodes.
*/
@SuppressWarnings("unused")
12 years, 11 months
JBoss Tools SVN: r44520 - in trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext: types and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: jgargula
Date: 2012-10-16 05:40:45 -0400 (Tue, 16 Oct 2012)
New Revision: 44520
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java
Log:
Added support for jBPM runtime.
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java 2012-10-16 08:57:15 UTC (rev 44519)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java 2012-10-16 09:40:45 UTC (rev 44520)
@@ -7804,6 +7804,7 @@
}
};
}
+
public static class DroolsInstalledDroolsRuntimes {
/**
* represents item : Drools->Installed Drools Runtimes
@@ -7817,6 +7818,27 @@
}
};
}
+
+ public static class JbpmInstalledJbpmRuntimes {
+ /**
+ * Represents item: jBPM -> Installed jBPM Runtimes
+ */
+ public static final IPreference LABEL = new IPreference() {
+
+ @Override
+ public String getName() {
+ return "Installed jBPM Runtimes";
+ }
+
+ @Override
+ public List<String> getGroupPath() {
+ List<String> list = new Vector<String>();
+ list.add("jBPM");
+ return list;
+ }
+ };
+ }
+
public static class Server {
/**
* represents item : Server
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java 2012-10-16 08:57:15 UTC (rev 44519)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java 2012-10-16 09:40:45 UTC (rev 44520)
@@ -63,6 +63,7 @@
public static final String WEB_PROJECT_JBT_STRUTS = "JBoss Tools Struts";
public static final String ADD_ARCHIVE_SUPPORT = "Add Project Archives Support";
public static final String REMOVE_ARCHIVE_SUPPORT = "Remove Project Archives Support";
+ public static final String CONVERT_TO_JBPM_PROJECT = "Convert to jBPM Project";
public static final String RUN = "Run";
public static final String RUN_ON_SERVER = "Run on Server";
public static final String RESUME = "Resume";
@@ -169,6 +170,7 @@
public static final String WARNING = "Warning";
public static final String JAR_SELECTION = "JAR Selection";
public static final String DROOLS_RUNTIME = "Drools Runtime";
+ public static final String JBPM_RUNTIME = "jBPM Runtime";
public static final String NEW_DROOLS_PROJECT = "";
public static final String RENAME_COMPILATION_UNIT = "Rename Compilation Unit";
public static final String RENAME_JAVA_PROJECT = "Rename Java Project";
@@ -506,6 +508,12 @@
public static final String JBOSS_AS_6_x = "JBoss 6.x Runtime";
}
+
+ public static final class JbpmRuntimeDialog {
+ public static final String NAME = "Name: ";
+ public static final String PATH = "Path: ";
+ }
+
public static final class DroolsRuntimeDialog {
public static final String NAME = "Name: ";
12 years, 11 months
JBoss Tools SVN: r44519 - trunk/maven/plugins/org.jboss.tools.maven.core.
by jbosstools-commits@lists.jboss.org
Author: fbricon
Date: 2012-10-16 04:57:15 -0400 (Tue, 16 Oct 2012)
New Revision: 44519
Modified:
trunk/maven/plugins/org.jboss.tools.maven.core/plugin.xml
Log:
JBIDE-12094 : add the JBoss Nexus catalog to the maven core plugin
Modified: trunk/maven/plugins/org.jboss.tools.maven.core/plugin.xml
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.core/plugin.xml 2012-10-16 08:56:13 UTC (rev 44518)
+++ trunk/maven/plugins/org.jboss.tools.maven.core/plugin.xml 2012-10-16 08:57:15 UTC (rev 44519)
@@ -234,4 +234,10 @@
</enablement>
</provider>
</extension>
+
+ <extension point="org.eclipse.m2e.core.archetypeCatalogs">
+ <remote url="https://repository.jboss.org/nexus/content/repositories/releases/archetyp..."
+ description="JBoss Nexus Archetypes"/>
+ </extension>
+
</plugin>
12 years, 11 months
JBoss Tools SVN: r44518 - trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/internal/identification.
by jbosstools-commits@lists.jboss.org
Author: fbricon
Date: 2012-10-16 04:56:13 -0400 (Tue, 16 Oct 2012)
New Revision: 44518
Modified:
trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/internal/identification/MavenCentralIdentifier.java
Log:
JBIDE-12702 remove sysout
Modified: trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/internal/identification/MavenCentralIdentifier.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/internal/identification/MavenCentralIdentifier.java 2012-10-15 17:33:35 UTC (rev 44517)
+++ trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/internal/identification/MavenCentralIdentifier.java 2012-10-16 08:56:13 UTC (rev 44518)
@@ -44,7 +44,7 @@
public ArtifactKey identify(File file, IProgressMonitor monitor) throws CoreException {
ArtifactKey key = sha1Search(file, monitor);
if (key == null) {
- System.out.println("Can't identify "+file + " falling back on name+version search" );
+ //System.out.println("Can't identify "+file + " falling back on name+version search" );
key = nameVersionSearch(file, monitor);
}
return key;
12 years, 11 months
JBoss Tools SVN: r44517 - trunk/download.jboss.org/jbosstools/examples.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2012-10-15 13:33:35 -0400 (Mon, 15 Oct 2012)
New Revision: 44517
Modified:
trunk/download.jboss.org/jbosstools/examples/project-examples-maven-4.0.B...
Log:
JBIDE-12854 - JBoss Developer Framework Quickstarts - > in requirements
Modified: trunk/download.jboss.org/jbosstools/examples/project-examples-maven-4.0.B...
===================================================================
--- trunk/download.jboss.org/jbosstools/examples/project-examples-maven-4.0.B... 2012-10-15 17:25:07 UTC (rev 44516)
+++ trunk/download.jboss.org/jbosstools/examples/project-examples-maven-4.0.B... 2012-10-15 17:33:35 UTC (rev 44517)
@@ -64,13 +64,13 @@
<fix type="plugin">
<property name="id">org.eclipse.m2e.core</property>
<property name="versions">[1.0.0,2.0.0)</property>
- <property name="description">This project example requires m2e &gt;= 1.1.</property>
+ <property name="description">This project example requires m2e >= 1.1.</property>
<property name="connectorIds">org.eclipse.m2e.feature</property>
</fix>
<fix type="plugin">
<property name="id">org.eclipse.m2e.wtp</property>
<property name="versions">[0.16.0,2.0.0)</property>
- <property name="description">This project example requires m2e-wtp &gt;= 0.16.0.</property>
+ <property name="description">This project example requires m2e-wtp >= 0.16.0.</property>
<property name="connectorIds">org.maven.ide.eclipse.wtp.feature</property>
</fix>
<fix type="plugin">
@@ -103,13 +103,13 @@
<fix type="plugin">
<property name="id">org.eclipse.m2e.core</property>
<property name="versions">[1.0.0,2.0.0)</property>
- <property name="description">This project example requires m2e &gt;= 1.1.</property>
+ <property name="description">This project example requires m2e >= 1.1.</property>
<property name="connectorIds">org.eclipse.m2e.feature</property>
</fix>
<fix type="plugin">
<property name="id">org.eclipse.m2e.wtp</property>
<property name="versions">[0.16.0,2.0.0)</property>
- <property name="description">This project example requires m2e-wtp &gt;= 0.16.0.</property>
+ <property name="description">This project example requires m2e-wtp >= 0.16.0.</property>
<property name="connectorIds">org.maven.ide.eclipse.wtp.feature</property>
</fix>
<fix type="plugin">
@@ -143,13 +143,13 @@
<fix type="plugin">
<property name="id">org.eclipse.m2e.core</property>
<property name="versions">[1.0.0,2.0.0)</property>
- <property name="description">This project example requires m2e &gt;= 1.1.</property>
+ <property name="description">This project example requires m2e >= 1.1.</property>
<property name="connectorIds">org.eclipse.m2e.feature</property>
</fix>
<fix type="plugin">
<property name="id">org.eclipse.m2e.wtp</property>
<property name="versions">[0.16.0,2.0.0)</property>
- <property name="description">This project example requires m2e-wtp &gt;= 0.16.0.</property>
+ <property name="description">This project example requires m2e-wtp >= 0.16.0.</property>
<property name="connectorIds">org.maven.ide.eclipse.wtp.feature</property>
</fix>
<fix type="plugin">
@@ -192,13 +192,13 @@
<fix type="plugin">
<property name="id">org.eclipse.m2e.core</property>
<property name="versions">[1.0.0,2.0.0)</property>
- <property name="description">This project example requires m2e &gt;= 1.1.</property>
+ <property name="description">This project example requires m2e >= 1.1.</property>
<property name="connectorIds">org.eclipse.m2e.feature</property>
</fix>
<fix type="plugin">
<property name="id">org.eclipse.m2e.wtp</property>
<property name="versions">[0.16.0,2.0.0)</property>
- <property name="description">This project example requires m2e-wtp &gt;= 0.16.0.</property>
+ <property name="description">This project example requires m2e-wtp >= 0.16.0.</property>
<property name="connectorIds">org.maven.ide.eclipse.wtp.feature</property>
</fix>
<fix type="plugin">
12 years, 11 months
JBoss Tools SVN: r44516 - in workspace/snjeza/org.jboss.tools.arquillian.updatesite: features and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2012-10-15 13:25:07 -0400 (Mon, 15 Oct 2012)
New Revision: 44516
Added:
workspace/snjeza/org.jboss.tools.arquillian.updatesite/features/org.jboss.tools.arquillian.feature_1.0.2.201210151923.jar
workspace/snjeza/org.jboss.tools.arquillian.updatesite/plugins/org.jboss.tools.arquillian.core_1.0.2.201210151923.jar
workspace/snjeza/org.jboss.tools.arquillian.updatesite/plugins/org.jboss.tools.arquillian.ui_1.0.2.201210151923.jar
Removed:
workspace/snjeza/org.jboss.tools.arquillian.updatesite/features/org.jboss.tools.arquillian.feature_1.0.2.201210111049.jar
workspace/snjeza/org.jboss.tools.arquillian.updatesite/plugins/org.jboss.tools.arquillian.core_1.0.2.201210111049.jar
workspace/snjeza/org.jboss.tools.arquillian.updatesite/plugins/org.jboss.tools.arquillian.ui_1.0.2.201210111049.jar
Modified:
workspace/snjeza/org.jboss.tools.arquillian.updatesite/artifacts.jar
workspace/snjeza/org.jboss.tools.arquillian.updatesite/content.jar
workspace/snjeza/org.jboss.tools.arquillian.updatesite/site.xml
Log:
Adding the Arquillian validator
Modified: workspace/snjeza/org.jboss.tools.arquillian.updatesite/artifacts.jar
===================================================================
(Binary files differ)
Modified: workspace/snjeza/org.jboss.tools.arquillian.updatesite/content.jar
===================================================================
(Binary files differ)
Deleted: workspace/snjeza/org.jboss.tools.arquillian.updatesite/features/org.jboss.tools.arquillian.feature_1.0.2.201210111049.jar
===================================================================
(Binary files differ)
Added: workspace/snjeza/org.jboss.tools.arquillian.updatesite/features/org.jboss.tools.arquillian.feature_1.0.2.201210151923.jar
===================================================================
(Binary files differ)
Property changes on: workspace/snjeza/org.jboss.tools.arquillian.updatesite/features/org.jboss.tools.arquillian.feature_1.0.2.201210151923.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Deleted: workspace/snjeza/org.jboss.tools.arquillian.updatesite/plugins/org.jboss.tools.arquillian.core_1.0.2.201210111049.jar
===================================================================
(Binary files differ)
Added: workspace/snjeza/org.jboss.tools.arquillian.updatesite/plugins/org.jboss.tools.arquillian.core_1.0.2.201210151923.jar
===================================================================
(Binary files differ)
Property changes on: workspace/snjeza/org.jboss.tools.arquillian.updatesite/plugins/org.jboss.tools.arquillian.core_1.0.2.201210151923.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Deleted: workspace/snjeza/org.jboss.tools.arquillian.updatesite/plugins/org.jboss.tools.arquillian.ui_1.0.2.201210111049.jar
===================================================================
(Binary files differ)
Added: workspace/snjeza/org.jboss.tools.arquillian.updatesite/plugins/org.jboss.tools.arquillian.ui_1.0.2.201210151923.jar
===================================================================
(Binary files differ)
Property changes on: workspace/snjeza/org.jboss.tools.arquillian.updatesite/plugins/org.jboss.tools.arquillian.ui_1.0.2.201210151923.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: workspace/snjeza/org.jboss.tools.arquillian.updatesite/site.xml
===================================================================
--- workspace/snjeza/org.jboss.tools.arquillian.updatesite/site.xml 2012-10-15 14:10:46 UTC (rev 44515)
+++ workspace/snjeza/org.jboss.tools.arquillian.updatesite/site.xml 2012-10-15 17:25:07 UTC (rev 44516)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
- <feature url="features/org.jboss.tools.arquillian.feature_1.0.2.201210111049.jar" id="org.jboss.tools.arquillian.feature" version="1.0.2.201210111049">
+ <feature url="features/org.jboss.tools.arquillian.feature_1.0.2.201210151923.jar" id="org.jboss.tools.arquillian.feature" version="1.0.2.201210151923">
<category name="org.jboss.tools.arquillian"/>
</feature>
<category-def name="org.jboss.tools.arquillian" label="Arquillian Support"/>
12 years, 11 months
JBoss Tools SVN: r44515 - trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test.
by jbosstools-commits@lists.jboss.org
Author: jjankovi
Date: 2012-10-15 10:10:46 -0400 (Mon, 15 Oct 2012)
New Revision: 44515
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/CDIAllBotTests.java
Log:
failing test cause of an upstream issue commented out
Modified: trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/CDIAllBotTests.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/CDIAllBotTests.java 2012-10-15 14:10:00 UTC (rev 44514)
+++ trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/CDIAllBotTests.java 2012-10-15 14:10:46 UTC (rev 44515)
@@ -32,7 +32,6 @@
import org.jboss.tools.cdi.bot.test.quickfix.test.StereotypeValidationQuickFixTest;
import org.jboss.tools.cdi.bot.test.wizard.CDIWebProjectWizardTest;
import org.jboss.tools.cdi.bot.test.wizard.ConfigurationPresetTest;
-import org.jboss.tools.cdi.bot.test.wizard.DynamicWebProjectWithCDITest;
import org.jboss.tools.cdi.bot.test.wizard.FacetTest;
import org.jboss.tools.cdi.bot.test.wizard.WizardTest;
import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
@@ -46,13 +45,12 @@
*/
@RunWith(RequirementAwareSuite.class)
@SuiteClasses({
-/* not included in JBDS anymore */
-/* PerspectiveTest.class, */
+// PerspectiveTest.class, // not included in JBDS anymore
ConfigurationPresetTest.class,
FacetTest.class,
CDIWebProjectWizardTest.class,
- DynamicWebProjectWithCDITest.class,
+// DynamicWebProjectWithCDITest.class, // Context menu not found -> error in test
WizardTest.class,
BeansEditorTest.class,
NamedRefactoringTest.class,
@@ -60,6 +58,7 @@
BeansXMLValidationTest.class,
BeansXMLCompletionTest.class,
BeansXMLValidationQuickFixTest.class,
+// AsYouTypeValidationTest.class, // not implemented yet
DecoratorFromWebBeanTest.class,
ProblemEligibleInjectionTest.class,
AllAssignableDialogTest.class,
12 years, 11 months
JBoss Tools SVN: r44514 - in trunk/cdi/tests/org.jboss.tools.cdi.bot.test: src/org/jboss/tools/cdi/bot/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: jjankovi
Date: 2012-10-15 10:10:00 -0400 (Mon, 15 Oct 2012)
New Revision: 44514
Added:
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/JenkinsTestSuite.java
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/pom.xml
Log:
jenkins test suite created + supported by maven
Modified: trunk/cdi/tests/org.jboss.tools.cdi.bot.test/pom.xml
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.bot.test/pom.xml 2012-10-15 13:29:09 UTC (rev 44513)
+++ trunk/cdi/tests/org.jboss.tools.cdi.bot.test/pom.xml 2012-10-15 14:10:00 UTC (rev 44514)
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss.tools.cdi</groupId>
@@ -8,17 +9,49 @@
</parent>
<groupId>org.jboss.tools.cdi.tests</groupId>
<artifactId>org.jboss.tools.cdi.bot.test</artifactId>
-
+
<packaging>eclipse-test-plugin</packaging>
<properties>
<additionalSystemProperties></additionalSystemProperties>
- <systemProperties>${additionalSystemProperties} -Dswtbot.test.properties.file=${project.basedir}/properties/swtbot.properties</systemProperties>
+ <systemProperties>${additionalSystemProperties}
+ -Dswtbot.test.properties.file=${project.basedir}/properties/swtbot.properties</systemProperties>
<surefire.timeout>10800</surefire.timeout>
</properties>
+ <profiles>
+ <profile>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <id>all-bot-tests</id>
+ <properties>
+ <suiteClass>org.jboss.tools.cdi.bot.test.CDIAllBotTests</suiteClass>
+ </properties>
+ </profile>
+ <profile>
+ <id>smoke-bot-tests</id>
+ <properties>
+ <suiteClass>org.jboss.tools.cdi.bot.test.CDISmokeBotTests</suiteClass>
+ </properties>
+ </profile>
+ <profile>
+ <id>debug</id>
+ <properties>
+ <additionalSystemProperties>-Xdebug
+ -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=y</additionalSystemProperties>
+ </properties>
+ </profile>
+ <profile>
+ <id>jenkins</id>
+ <properties>
+ <suiteClass>org.jboss.tools.cdi.bot.test.JenkinsTestSuite</suiteClass>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
- <plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.4</version>
@@ -48,10 +81,11 @@
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
<testSuite>org.jboss.tools.cdi.bot.test</testSuite>
- <testClass>${test.suite.class}</testClass>
+ <testClass>${suiteClass}</testClass>
<useUIThread>false</useUIThread>
<skip>${swtbot.test.skip}</skip>
- <!-- Kill swt bot test take more than 3 hours minutes (10800 seconds) to finish -->
+ <!-- Kill swt bot test take more than 3 hours minutes (10800 seconds)
+ to finish -->
<dependencies combine.children="append">
<dependency>
<type>p2-installable-unit</type>
@@ -68,34 +102,16 @@
<artifactId>org.jboss.tools.jsf.feature.feature.group</artifactId>
<version>0.0.0</version>
</dependency>
+ <!-- This entry should enable creating of default JDK on Mac -->
+ <dependency>
+ <type>p2-installable-unit</type>
+ <artifactId>org.eclipse.jdt.feature.group</artifactId>
+ <version>0.0.0</version>
+ </dependency>
</dependencies>
</configuration>
</plugin>
</plugins>
</build>
-
- <profiles>
- <profile>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <id>all-bot-tests</id>
- <properties>
- <test.suite.class>org.jboss.tools.cdi.bot.test.CDIAllBotTests</test.suite.class>
- </properties>
- </profile>
- <profile>
- <id>smoke-bot-tests</id>
- <properties>
- <test.suite.class>org.jboss.tools.cdi.bot.test.CDISmokeBotTests</test.suite.class>
- </properties>
- </profile>
- <profile>
- <id>debug</id>
- <properties>
- <additionalSystemProperties>-Xdebug -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=y</additionalSystemProperties>
- </properties>
- </profile>
- </profiles>
</project>
Added: trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/JenkinsTestSuite.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/JenkinsTestSuite.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/JenkinsTestSuite.java 2012-10-15 14:10:00 UTC (rev 44514)
@@ -0,0 +1,61 @@
+/*******************************************************************************
+ * Copyright (c) 2010-2012 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.cdi.bot.test;
+
+import org.jboss.tools.cdi.bot.test.editor.BeansEditorTest;
+import org.jboss.tools.cdi.bot.test.wizard.CDIWebProjectWizardTest;
+import org.jboss.tools.cdi.bot.test.wizard.ConfigurationPresetTest;
+import org.jboss.tools.cdi.bot.test.wizard.FacetTest;
+import org.jboss.tools.cdi.bot.test.wizard.WizardTest;
+import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite.SuiteClasses;
+
+/**
+ * Suite of tests executed on jenkins slave
+ * @author Jaroslav Jankovic
+ */
+(a)RunWith(RequirementAwareSuite.class)
+@SuiteClasses({
+ ConfigurationPresetTest.class,
+ FacetTest.class,
+ CDIWebProjectWizardTest.class,
+ WizardTest.class,
+ BeansEditorTest.class,
+
+ /** Not stable yet
+
+ NamedRefactoringTest.class,
+ NamedComponentsSearchingTest.class,
+ BeansXMLValidationTest.class,
+ BeansXMLCompletionTest.class,
+ BeansXMLValidationQuickFixTest.class,
+// AsYouTypeValidationTest.class, // not implemented yet
+ DecoratorFromWebBeanTest.class,
+ ProblemEligibleInjectionTest.class,
+ AllAssignableDialogTest.class,
+ AssignableDialogFilterTest.class,
+ QuickFixProposalsDescriptionTest.class,
+ StereotypeValidationQuickFixTest.class,
+ QualifierValidationQuickFixTest.class,
+ ScopeValidationQuickFixTest.class,
+ BeanValidationQuickFixTest.class,
+ InterceptorValidationQuickFixTest.class,
+ DecoratorValidationQuickFixTest.class,
+ IBindingValidationQuickFixTest.class,
+ OpenOnTest.class,
+ FindObserverForEventTest.class
+
+ **/
+})
+public class JenkinsTestSuite {
+
+}
12 years, 11 months
JBoss Tools SVN: r44513 - in trunk/download.jboss.org/jbosstools/updates/juno: SR0c and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2012-10-15 09:29:09 -0400 (Mon, 15 Oct 2012)
New Revision: 44513
Added:
trunk/download.jboss.org/jbosstools/updates/juno/SR0c/
trunk/download.jboss.org/jbosstools/updates/juno/SR0c/compositeArtifacts.xml
trunk/download.jboss.org/jbosstools/updates/juno/SR0c/compositeContent.xml
trunk/download.jboss.org/jbosstools/updates/juno/SR1a/
trunk/download.jboss.org/jbosstools/updates/juno/SR1a/compositeArtifacts.xml
trunk/download.jboss.org/jbosstools/updates/juno/SR1a/compositeContent.xml
Modified:
trunk/download.jboss.org/jbosstools/updates/juno/SR1/compositeArtifacts.xml
trunk/download.jboss.org/jbosstools/updates/juno/SR1/compositeContent.xml
Log:
place static composite site redirects to the latest/ subfolder, where the site is actually located (JBIDE-12853)
Copied: trunk/download.jboss.org/jbosstools/updates/juno/SR0c/compositeArtifacts.xml (from rev 44512, trunk/download.jboss.org/jbosstools/updates/juno/SR1/compositeArtifacts.xml)
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/juno/SR0c/compositeArtifacts.xml (rev 0)
+++ trunk/download.jboss.org/jbosstools/updates/juno/SR0c/compositeArtifacts.xml 2012-10-15 13:29:09 UTC (rev 44513)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<?compositeArtifactRepository version='1.0.0'?>
+<repository name='JBoss Tools Target Platform Site - Juno SR0c' type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1.0.0'>
+<properties size='2'>
+<property name='p2.compressed' value='true'/>
+<property name='p2.timestamp' value='1348690298000'/>
+</properties>
+<children size='1'>
+<child location='latest/'/>
+</children>
+</repository>
+
Copied: trunk/download.jboss.org/jbosstools/updates/juno/SR0c/compositeContent.xml (from rev 44512, trunk/download.jboss.org/jbosstools/updates/juno/SR1/compositeContent.xml)
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/juno/SR0c/compositeContent.xml (rev 0)
+++ trunk/download.jboss.org/jbosstools/updates/juno/SR0c/compositeContent.xml 2012-10-15 13:29:09 UTC (rev 44513)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<?compositeMetadataRepository version='1.0.0'?>
+<repository name='JBoss Tools Target Platform Site - Juno SR0c' type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1.0.0'>
+<properties size='2'>
+<property name='p2.compressed' value='true'/>
+<property name='p2.timestamp' value='1348690298000'/>
+</properties>
+<children size='1'>
+<child location='latest/'/>
+</children>
+</repository>
+
Modified: trunk/download.jboss.org/jbosstools/updates/juno/SR1/compositeArtifacts.xml
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/juno/SR1/compositeArtifacts.xml 2012-10-15 12:29:43 UTC (rev 44512)
+++ trunk/download.jboss.org/jbosstools/updates/juno/SR1/compositeArtifacts.xml 2012-10-15 13:29:09 UTC (rev 44513)
@@ -1,14 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?>
<?compositeArtifactRepository version='1.0.0'?>
-<repository name='JBoss Tools Requirements - Composite Juno SR1 Mirror' type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1.0.0'>
+<repository name='JBoss Tools Target Platform Site - Juno SR1' type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1.0.0'>
<properties size='2'>
<property name='p2.compressed' value='true'/>
<property name='p2.timestamp' value='1348690298000'/>
</properties>
<children size='1'>
-<!-- new for Juno SR1 -->
<child location='latest/'/>
-
</children>
</repository>
Modified: trunk/download.jboss.org/jbosstools/updates/juno/SR1/compositeContent.xml
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/juno/SR1/compositeContent.xml 2012-10-15 12:29:43 UTC (rev 44512)
+++ trunk/download.jboss.org/jbosstools/updates/juno/SR1/compositeContent.xml 2012-10-15 13:29:09 UTC (rev 44513)
@@ -1,14 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?>
<?compositeMetadataRepository version='1.0.0'?>
-<repository name='JBoss Tools Requirements - Composite Juno SR1 Mirror' type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1.0.0'>
+<repository name='JBoss Tools Target Platform Site - Juno SR1' type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1.0.0'>
<properties size='2'>
<property name='p2.compressed' value='true'/>
<property name='p2.timestamp' value='1348690298000'/>
</properties>
<children size='1'>
-<!-- new for Juno SR1 -->
<child location='latest/'/>
-
</children>
</repository>
Copied: trunk/download.jboss.org/jbosstools/updates/juno/SR1a/compositeArtifacts.xml (from rev 44512, trunk/download.jboss.org/jbosstools/updates/juno/SR1/compositeArtifacts.xml)
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/juno/SR1a/compositeArtifacts.xml (rev 0)
+++ trunk/download.jboss.org/jbosstools/updates/juno/SR1a/compositeArtifacts.xml 2012-10-15 13:29:09 UTC (rev 44513)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<?compositeArtifactRepository version='1.0.0'?>
+<repository name='JBoss Tools Target Platform Site - Juno SR1a' type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1.0.0'>
+<properties size='2'>
+<property name='p2.compressed' value='true'/>
+<property name='p2.timestamp' value='1348690298000'/>
+</properties>
+<children size='1'>
+<child location='latest/'/>
+</children>
+</repository>
+
Copied: trunk/download.jboss.org/jbosstools/updates/juno/SR1a/compositeContent.xml (from rev 44512, trunk/download.jboss.org/jbosstools/updates/juno/SR1/compositeContent.xml)
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/juno/SR1a/compositeContent.xml (rev 0)
+++ trunk/download.jboss.org/jbosstools/updates/juno/SR1a/compositeContent.xml 2012-10-15 13:29:09 UTC (rev 44513)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<?compositeMetadataRepository version='1.0.0'?>
+<repository name='JBoss Tools Target Platform Site - Juno SR1a' type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1.0.0'>
+<properties size='2'>
+<property name='p2.compressed' value='true'/>
+<property name='p2.timestamp' value='1348690298000'/>
+</properties>
+<children size='1'>
+<child location='latest/'/>
+</children>
+</repository>
+
12 years, 11 months
JBoss Tools SVN: r44512 - trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/smoke.
by jbosstools-commits@lists.jboss.org
Author: jjankovi
Date: 2012-10-15 08:29:43 -0400 (Mon, 15 Oct 2012)
New Revision: 44512
Modified:
trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/smoke/CreateNewStrutsProjectTest.java
Log:
adding waitUntil method when creating new struts project - stabilizing test
Modified: trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/smoke/CreateNewStrutsProjectTest.java
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/smoke/CreateNewStrutsProjectTest.java 2012-10-15 12:08:11 UTC (rev 44511)
+++ trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/smoke/CreateNewStrutsProjectTest.java 2012-10-15 12:29:43 UTC (rev 44512)
@@ -16,6 +16,7 @@
import org.jboss.tools.struts.ui.bot.test.StrutsAllBotTests;
import org.jboss.tools.ui.bot.ext.SWTEclipseExt;
import org.jboss.tools.ui.bot.ext.SWTTestExt;
+import org.jboss.tools.ui.bot.ext.condition.NonSystemJobRunsCondition;
import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
@@ -49,7 +50,7 @@
bot.sleep(1000L);
bot.button(IDELabel.Button.NEXT).click();
bot.button(IDELabel.Button.FINISH).click();
- bot.sleep(1500);
+ bot.waitUntil(new NonSystemJobRunsCondition());
SWTBot v = eclipse.showView(ViewType.PACKAGE_EXPLORER);
SWTBotTree tree = v.tree();
12 years, 11 months