JBoss Tools SVN: r23091 - trunk/build/aggregate.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-06-29 12:51:18 -0400 (Tue, 29 Jun 2010)
New Revision: 23091
Modified:
trunk/build/aggregate/aggregateRepos.xml
Log:
remove SDKProfile refs
Modified: trunk/build/aggregate/aggregateRepos.xml
===================================================================
--- trunk/build/aggregate/aggregateRepos.xml 2010-06-29 16:37:50 UTC (rev 23090)
+++ trunk/build/aggregate/aggregateRepos.xml 2010-06-29 16:51:18 UTC (rev 23091)
@@ -172,9 +172,9 @@
<!-- optional for UI -->
<!-- <arg line=" -installIU org.eclipse.b3.aggregator.editor.feature.feature.group" /> -->
<arg line=" -destination ${eclipse.home} -bundlepool ${eclipse.home}" />
- <arg line=" -metadataRepository ${b3.aggregator.repo},${b3.backup.repos},file:${eclipse.home}/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile"
+ <arg line=" -metadataRepository ${b3.aggregator.repo},${b3.backup.repos}"
/>
- <arg line=" -artifactRepository ${b3.aggregator.repo},${b3.backup.repos},file:${eclipse.home}" />
+ <arg line=" -artifactRepository ${b3.aggregator.repo},${b3.backup.repos}" />
<arg line=" -profileProperties org.eclipse.update.install.features=true" />
<arg line=" -vmargs -Declipse.p2.data.area=${eclipse.home}/p2 -Declipse.p2.MD5Check=false" />
</exec>
13 years, 10 months
JBoss Tools SVN: r23089 - trunk/build/util.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-06-29 12:27:16 -0400 (Tue, 29 Jun 2010)
New Revision: 23089
Added:
trunk/build/util/getArch.sh
Log:
script to get arch from uname
Added: trunk/build/util/getArch.sh
===================================================================
--- trunk/build/util/getArch.sh (rev 0)
+++ trunk/build/util/getArch.sh 2010-06-29 16:27:16 UTC (rev 23089)
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+if uname -m > /dev/null 2>&1; then
+ arch=`uname -m`
+else
+ arch=`uname -p`
+fi
+# Massage arch for Eclipse-uname differences
+case $arch in
+ i[0-9]*86)
+ arch=x86 ;;
+ ia64)
+ arch=ia64 ;;
+ ppc)
+ arch=ppc ;;
+ ppc64)
+ arch=ppc ;;
+ x86_64)
+ arch=x86_64 ;;
+ *)
+ echo "ERROR: Unrecognized architecture: $arch"
+ exit 1 ;;
+esac
+echo $arch
\ No newline at end of file
Property changes on: trunk/build/util/getArch.sh
___________________________________________________________________
Name: svn:executable
+ *
13 years, 10 months
JBoss Tools SVN: r23088 - trunk/build/aggregate.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-06-29 12:26:31 -0400 (Tue, 29 Jun 2010)
New Revision: 23088
Modified:
trunk/build/aggregate/aggregateRepos.jbosstools.properties
Log:
fix default
Modified: trunk/build/aggregate/aggregateRepos.jbosstools.properties
===================================================================
--- trunk/build/aggregate/aggregateRepos.jbosstools.properties 2010-06-29 16:19:57 UTC (rev 23087)
+++ trunk/build/aggregate/aggregateRepos.jbosstools.properties 2010-06-29 16:26:31 UTC (rev 23088)
@@ -3,7 +3,7 @@
# basic config when used in JBT/JBDS aggregation build
# if eclipse.home not set, fetch + unpack Eclipse Helios Java bundle for 32- or 64-bit linux
#eclipse.home=${clean.eclipse.home}
-working.dir=${product.build.directory}/b3aggr
+working.dir=${WORKSPACE}/b3aggr
# basic config when testing on local - be sure to replace reference to ${updateZip} with local JBT/JBDS update site zip
#eclipse.home=/home/nboldt/eclipse/36clean2/eclipse
13 years, 10 months
JBoss Tools SVN: r23087 - trunk/build/aggregate.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-06-29 12:19:57 -0400 (Tue, 29 Jun 2010)
New Revision: 23087
Modified:
trunk/build/aggregate/aggregateRepos.jbosstools.properties
Log:
fix defaults
Modified: trunk/build/aggregate/aggregateRepos.jbosstools.properties
===================================================================
--- trunk/build/aggregate/aggregateRepos.jbosstools.properties 2010-06-29 16:15:36 UTC (rev 23086)
+++ trunk/build/aggregate/aggregateRepos.jbosstools.properties 2010-06-29 16:19:57 UTC (rev 23087)
@@ -15,8 +15,8 @@
#product.versionTag=3.1.0.v201002111546N-H238-CR2
# descriptions and labels used to name the resulting repo or to name categories
-repoName=${update.site.product.name} ${update.site.description} Update Site
-#product.versionTag=3.1.0.v200910281633N-RC1
+repoName=JBoss Tools Nightly Aggregate Update Site
+#product.versionTag=${JOB_NAME}-H${BUILD_NUMBER}
# location from which to install b3 aggregator
b3.aggregator.repo=http://download.jboss.org/jbosstools/requirements/heli...
13 years, 10 months
JBoss Tools SVN: r23086 - trunk/build/aggregate.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-06-29 12:15:36 -0400 (Tue, 29 Jun 2010)
New Revision: 23086
Modified:
trunk/build/aggregate/aggregateRepos.jbosstools.properties
trunk/build/aggregate/aggregateRepos.xml
Log:
if no eclipse.home set, fetch + unpack eclipse helios java bundle for 32- or 64-bit linux
Modified: trunk/build/aggregate/aggregateRepos.jbosstools.properties
===================================================================
--- trunk/build/aggregate/aggregateRepos.jbosstools.properties 2010-06-29 15:50:21 UTC (rev 23085)
+++ trunk/build/aggregate/aggregateRepos.jbosstools.properties 2010-06-29 16:15:36 UTC (rev 23086)
@@ -1,8 +1,9 @@
# aggregateRepos.xml properties file
-# basic config when used in JBT/JBDS build
-eclipse.home=${clean.eclipse.home}
-working.dir=${product.build.directory}/b3.aggregator
+# basic config when used in JBT/JBDS aggregation build
+# if eclipse.home not set, fetch + unpack Eclipse Helios Java bundle for 32- or 64-bit linux
+#eclipse.home=${clean.eclipse.home}
+working.dir=${product.build.directory}/b3aggr
# basic config when testing on local - be sure to replace reference to ${updateZip} with local JBT/JBDS update site zip
#eclipse.home=/home/nboldt/eclipse/36clean2/eclipse
Modified: trunk/build/aggregate/aggregateRepos.xml
===================================================================
--- trunk/build/aggregate/aggregateRepos.xml 2010-06-29 15:50:21 UTC (rev 23085)
+++ trunk/build/aggregate/aggregateRepos.xml 2010-06-29 16:15:36 UTC (rev 23086)
@@ -25,35 +25,33 @@
/>
<target name="init">
- <property name="aggregateRepos.properties" value="aggregateRepos.m2eclipse.properties" />
- <property file="${aggregateRepos.properties}" />
- <mkdir dir="${working.dir}" />
<!-- set these properties in aggregateRepos.properties file:
- eclipse.home=/home/nboldt/eclipse/35clean/eclipse
- working.dir=${java.io.tmpdir}/build.b3.aggregator
+ # if eclipse.home not set, fetch + unpack Eclipse Helios Java bundle for 32- or 64-bit linux
+ #eclipse.home=/home/nboldt/eclipse/35clean/eclipse
+ working.dir=${java.io.tmpdir}/b3aggr
repoName=JBoss Tools Nightly Aggregate Update Site
product.versionTag=3.1.0.v200910281633N-RC1
repos=\
- jar:file:${java.io.tmpdir}/build.b3.aggregator/JBossTools-Update-3.1.0.v200910281633N-RC1.zip!/,\
- jar:file:${java.io.tmpdir}/build.b3.aggregator/pi4soa-Update-N-SNAPSHOT.zip!/,\
- jar:file:${java.io.tmpdir}/build.b3.aggregator/jbpm3-Update-N-SNAPSHOT.zip!/,\
- jar:file:${java.io.tmpdir}/build.b3.aggregator/jbpm4-Update-N-SNAPSHOT.zip!/
- #repos=\
- #jar:file:${java.io.tmpdir}/build.b3.aggregator/JBossTools-Update-3.1.0.v200910281633N-RC1.zip!/,\
- #ttp://hudson.qa.jboss.com/hudson/view/DevStudio/job/jbosstools-cbi-pi4soa/lastStableBuild/artifact/build/N-SNAPSHOT/pi4soa-Update-N-SNAPSHOT.zip,\
- #http://hudson.qa.jboss.com/hudson/view/DevStudio/job/jbosstools-cbi-jbpm3/lastStableBuild/artifact/build/N-SNAPSHOT/jbpm3-Update-N-SNAPSHOT.zip,\
- #http://hudson.qa.jboss.com/hudson/view/DevStudio/job/jbosstools-cbi-jbpm4/lastStableBuild/artifact/build/N-SNAPSHOT/jbpm4-Update-N-SNAPSHOT.zip
-
- associate.sites=\
- http://download.eclipse.org/releases/galileo,\
- http://download.eclipse.org/birt/update-site/2.5/,\
- http://download.eclipse.org/eclipse/updates/3.5/,\
- http://download.jboss.org/jbosstools/updates/m2eclipse/0.10/
- # http://m2eclipse.sonatype.org/update-dev
+ http://download.jboss.org/jbosstools/builds/nightly/3.2.helios/jbosstools...
+ http://download.jboss.org/jbosstools/builds/nightly/3.2.helios/jbosstools...
+ http://download.jboss.org/jbosstools/builds/nightly/3.2.helios/jbosstools...
+ associate.sites=http://download.jboss.org/jbosstools/updates/helios/,\
+ ...
-->
- <property name="working.dir" value="/tmp/build.b3.aggregator" />
+
+ <property name="aggregateRepos.properties" value="aggregateRepos.jbosstools.properties" />
+ <property file="${aggregateRepos.properties}" />
+
+ <!-- if not set by Hudson (or in properties file), define defaults -->
+ <property name="WORKSPACE" value="${java.io.tmpdir}" />
+ <property name="working.dir" value="${WORKSPACE}/b3aggr" />
<property name="requirement.build.root" value="${working.dir}" />
+ <!-- create required dirs -->
+ <mkdir dir="${working.dir}" />
+ <mkdir dir="${requirement.build.root}" />
+
+ <!-- get Ant-Contrib -->
<available file="${requirement.build.root}/ant-contrib.jar" type="file" property="ant-contrib.jar.exists" />
<antcall target="get.ant-contrib" />
<taskdef resource="net/sf/antcontrib/antlib.xml">
@@ -62,6 +60,57 @@
</classpath>
</taskdef>
+ <!-- get Eclipse for 32 or 64-bit linux -->
+ <if>
+ <not>
+ <isset property="eclipse.home" />
+ </not>
+ <then>
+ <if>
+ <os family="unix" />
+ <then>
+ <!-- Ant thinks that ${os.arch} == i386 for x86_64, so use `uname` instead -->
+ <exec executable="bash" outputproperty="arch">
+ <arg line="../util/getArch.sh" />
+ </exec>
+ </then>
+ <else>
+ <condition property="arch" value="x86_64" else="">
+ <os arch="amd64" />
+ </condition>
+ </else>
+ </if>
+ <property name="eclipse.home" value="${WORKSPACE}/eclipse" />
+ <delete dir="${eclipse.home}" includeemptydirs="true" quiet="true" />
+ <echo>Fetch + unpack fresh Eclipse into eclipse.home = ${eclipse.home}</echo>
+ <if>
+ <equals arg1="${arch}" arg2="x86_64" />
+ <then>
+ <get src="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downlo..."
+ dest="${WORKSPACE}/eclipse-java-helios-linux-gtk-x86_64.tar.gz"
+ usetimestamp="true"
+ />
+ <untar compression="gzip"
+ dest="${WORKSPACE}"
+ src="${WORKSPACE}/eclipse-java-helios-linux-gtk-x86_64.tar.gz"
+ />
+ </then>
+ <else>
+ <get src="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downlo..."
+ dest="${WORKSPACE}/eclipse-java-helios-linux-gtk.tar.gz"
+ usetimestamp="true"
+ />
+ <untar compression="gzip"
+ dest="${WORKSPACE}"
+ src="${WORKSPACE}/eclipse-java-helios-linux-gtk.tar.gz"
+ />
+ </else>
+ </if>
+ </then>
+ <else>
+ <echo>Use pre-existing eclipse.home = ${eclipse.home}</echo>
+ </else>
+ </if>
</target>
<!-- prefetch remote update site zips as local archive repos -->
13 years, 10 months
JBoss Tools SVN: r23085 - trunk/build/aggregate.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-06-29 11:50:21 -0400 (Tue, 29 Jun 2010)
New Revision: 23085
Modified:
trunk/build/aggregate/aggregateRepos.xml
Log:
add ant-contrib support
Modified: trunk/build/aggregate/aggregateRepos.xml
===================================================================
--- trunk/build/aggregate/aggregateRepos.xml 2010-06-29 14:41:26 UTC (rev 23084)
+++ trunk/build/aggregate/aggregateRepos.xml 2010-06-29 15:50:21 UTC (rev 23085)
@@ -1,11 +1,24 @@
<project default="run" name="aggregateRepos">
- <taskdef resource="net/sf/antcontrib/antlib.xml">
- <classpath>
- <pathelement path="${classpath}" />
- <pathelement location="/usr/share/java/ant-contrib.jar" />
- </classpath>
- </taskdef>
+ <target name="get.ant-contrib" unless="ant-contrib.jar.exists">
+ <property name="ANTCONTRIB_MIRROR" value="http://downloads.sourceforge.net/ant-contrib/" />
+ <get usetimestamp="true"
+ dest="${requirement.build.root}/ant-contrib-1.0b2-bin.zip"
+ src="${ANTCONTRIB_MIRROR}/ant-contrib-1.0b2-bin.zip"
+ />
+ <touch file="${requirement.build.root}/ant-contrib-1.0b2-bin.zip" />
+ <mkdir dir="${java.io.tmpdir}/ant-contrib-1.0b2-bin.zip_" />
+ <unzip src="${requirement.build.root}/ant-contrib-1.0b2-bin.zip"
+ dest="${java.io.tmpdir}/ant-contrib-1.0b2-bin.zip_"
+ overwrite="true"
+ />
+ <copy file="${java.io.tmpdir}/ant-contrib-1.0b2-bin.zip_/ant-contrib/lib/ant-contrib.jar"
+ tofile="${requirement.build.root}/ant-contrib.jar"
+ failonerror="true"
+ />
+ <delete dir="${java.io.tmpdir}/ant-contrib-1.0b2-bin.zip_" includeemptydirs="true" quiet="true" />
+ </target>
+
<!-- Complete set of steps: init,prefetch.repo.zips,install.b3.aggregator,generate.build.file,run.build.file,add.associate.sites,zip.repo,cleanup -->
<target name="run"
depends="init,prefetch.repo.zips,install.b3.aggregator,generate.build.file,run.build.file,add.associate.sites,zip.repo,cleanup"
@@ -40,6 +53,15 @@
-->
<property name="working.dir" value="/tmp/build.b3.aggregator" />
<property name="requirement.build.root" value="${working.dir}" />
+
+ <available file="${requirement.build.root}/ant-contrib.jar" type="file" property="ant-contrib.jar.exists" />
+ <antcall target="get.ant-contrib" />
+ <taskdef resource="net/sf/antcontrib/antlib.xml">
+ <classpath>
+ <pathelement location="${requirement.build.root}/ant-contrib.jar" />
+ </classpath>
+ </taskdef>
+
</target>
<!-- prefetch remote update site zips as local archive repos -->
@@ -103,8 +125,7 @@
<arg line=" -destination ${eclipse.home} -bundlepool ${eclipse.home}" />
<arg line=" -metadataRepository ${b3.aggregator.repo},${b3.backup.repos},file:${eclipse.home}/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile"
/>
- <arg line=" -artifactRepository ${b3.aggregator.repo},${b3.backup.repos},file:${eclipse.home}"
- />
+ <arg line=" -artifactRepository ${b3.aggregator.repo},${b3.backup.repos},file:${eclipse.home}" />
<arg line=" -profileProperties org.eclipse.update.install.features=true" />
<arg line=" -vmargs -Declipse.p2.data.area=${eclipse.home}/p2 -Declipse.p2.MD5Check=false" />
</exec>
@@ -564,7 +585,10 @@
<echo file="${working.dir}/output/final/content.xml" append="true"> </references>
</repository>
</echo>
- <zip destfile="${working.dir}/output/final/content.jar" basedir="${working.dir}/output/final" includes="content.xml"/>
+ <zip destfile="${working.dir}/output/final/content.jar"
+ basedir="${working.dir}/output/final"
+ includes="content.xml"
+ />
<delete file="${working.dir}/output/final/content.xml" />
</then>
</if>
13 years, 10 months
JBoss Tools SVN: r23084 - trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test.
by jbosstools-commits@lists.jboss.org
Author: vpakan(a)redhat.com
Date: 2010-06-29 10:41:26 -0400 (Tue, 29 Jun 2010)
New Revision: 23084
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java
Log:
When calling method getPathToResources(...) support to return also directory location not only file location.
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java 2010-06-29 14:38:34 UTC (rev 23083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java 2010-06-29 14:41:26 UTC (rev 23084)
@@ -247,7 +247,7 @@
+
testPage; //$NON-NLS-1$//$NON-NLS-2$
File file = new File(filePath);
- if (!file.isFile()) {
+ if (!file.exists()) {
filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+testPage; //$NON-NLS-1$
}
return filePath;
13 years, 10 months
JBoss Tools SVN: r23083 - in trunk/jst/tests/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: vpakan(a)redhat.com
Date: 2010-06-29 10:38:34 -0400 (Tue, 29 Jun 2010)
New Revision: 23083
Added:
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/FileHelper.java
Modified:
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java
Log:
Added methods for copying files and directories recursively.
Added: trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/FileHelper.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/FileHelper.java (rev 0)
+++ trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/FileHelper.java 2010-06-29 14:38:34 UTC (rev 23083)
@@ -0,0 +1,104 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.ui.bot.ext.helper;
+
+import java.io.File;
+import java.io.FileFilter;
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.io.IOException;
+
+import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotText;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
+import org.jboss.tools.ui.bot.ext.view.PackageExplorer;
+
+/**
+ * Contains some file manipulation utils
+ * @author Vladimir Pakan
+ *
+ */
+public class FileHelper {
+ /**
+ * Recursively copies files and subdirectories from fromLocation to toLocation using FileFilter fileFliter
+ * @param fromLocation
+ * @param toLocation
+ * @param fileFilter
+ * @throws IOException
+ */
+ public static void copyFilesBinaryRecursively(File fromLocation, File toLocation, FileFilter fileFilter ) throws IOException{
+ if (fromLocation.exists()){
+ for (File fileToCopy : fromLocation.listFiles(fileFilter)){
+ if (fileToCopy.isDirectory()){
+ File newToDir = new File(toLocation, fileToCopy.getName());
+ newToDir.mkdir();
+ copyFilesBinaryRecursively (fileToCopy, newToDir, fileFilter);
+ }
+ else{
+ copyFilesBinary(fileToCopy,toLocation);
+ }
+ }
+ }
+ }
+ /**
+ * Copies binary file originalFile to location toLocation
+ * @param originalFile
+ * @param toLocation
+ * @throws IOException
+ */
+ public static void copyFilesBinary(File originalFile, File toLocation) throws IOException{
+ FileInputStream fis = null;
+ FileOutputStream fos = null;
+ try {
+ fis = new FileInputStream(originalFile);
+ fos = new FileOutputStream(new File(toLocation, originalFile.getName()));
+ byte[] buffer = new byte[4096];
+ int bytesRead;
+
+ while ((bytesRead = fis.read(buffer)) != -1) {
+ fos.write(buffer, 0, bytesRead); // write
+ }
+
+ }finally {
+ if (fis != null) {
+ try {
+ fis.close();
+ } catch (IOException e) {
+ // do nothing
+ }
+ }
+ if (fos != null) {
+ try {
+ fos.flush();
+ fos.close();
+ } catch (IOException e) {
+ // do nothing
+ }
+ }
+ }
+ }
+
+ public static String getProjectLocation (String projectName , SWTBot bot){
+ PackageExplorer packageExplorer = new PackageExplorer();
+ SWTBot packageExplorerBot = packageExplorer.show().bot();
+ SWTBotTree packageExplorerTree = packageExplorerBot.tree();
+ packageExplorerTree.expandNode(projectName).select();
+ bot.menu(IDELabel.Menu.FILE).menu(IDELabel.Menu.PROPERTIES).click();
+ SWTBot propertiesBot = bot.shell(IDELabel.Shell.PROPERTIES_FOR + " " + projectName).activate().bot();
+ propertiesBot.tree().select(IDELabel.PropertiesWindow.RESOURCE);
+ SWTBotText pathText = propertiesBot.textWithLabel(IDELabel.PropertiesWindow.ResourceProperties.LOCATION);
+ String projectLocation = pathText.getText();
+ propertiesBot.button(IDELabel.Button.OK).click();
+ return projectLocation;
+ }
+
+}
Property changes on: trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/FileHelper.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java 2010-06-29 14:34:28 UTC (rev 23082)
+++ trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java 2010-06-29 14:38:34 UTC (rev 23083)
@@ -77,6 +77,7 @@
public static final String GUVNOR_SWITCH_TO_VERSION = "Switch to Version...";
public static final String NAVIGATION = "Navigation";
public static final String MAXIMIZE_ACTIVE_VIEW_OR_EDITOR = "Maximize Active View or Editor";
+ public static final String REFRESH = "Refresh";
}
public class Button {
@@ -134,6 +135,7 @@
public static final String NEW_ESB_RUNTIME = "New JBoss ESB Runtime";
public static final String CONFIRM_DELETE = "Confirm Delete";
public static final String SHOW_VIEW = "Show View";
+ public static final String PROPERTIES_FOR = "Properties for";
}
public class EntityGroup {
@@ -480,4 +482,16 @@
public static final String BUTTON_YES_INSTALL_SAMPLES = "Yes, please install samples";
}
+
+ public static class PropertiesWindow {
+
+ public static final String RESOURCE = "Resource";
+
+ public static final class ResourceProperties {
+
+ public static final String PATH = "Path:";
+ public static final String LOCATION = "Location:";
+
+ }
+ }
}
13 years, 10 months
JBoss Tools SVN: r23082 - trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext.
by jbosstools-commits@lists.jboss.org
Author: vpakan(a)redhat.com
Date: 2010-06-29 10:34:28 -0400 (Tue, 29 Jun 2010)
New Revision: 23082
Modified:
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTUtilExt.java
Log:
Display object class when calling method displayAllBotWidgets(...)
Modified: trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTUtilExt.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTUtilExt.java 2010-06-29 12:22:02 UTC (rev 23081)
+++ trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTUtilExt.java 2010-06-29 14:34:28 UTC (rev 23082)
@@ -655,6 +655,7 @@
List<?> widgets = bot.widgets(new SWTUtilExt.AlwaysMatchMatcher<Widget>(),parent);
for (Object object : widgets){
System.out.println(object +
+ " Class: " + object.getClass() +
" Text: " + SWTUtilExt.invokeMethod(object, "getText") +
" Tooltip: " + SWTUtilExt.invokeMethod(object, "getToolTipText"));
}
13 years, 10 months