JBoss Tools SVN: r38910 - branches/jbosstools-3.3.0.Beta1/central/tests/org.jboss.tools.central.test/META-INF.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2012-02-19 12:17:21 -0500 (Sun, 19 Feb 2012)
New Revision: 38910
Modified:
branches/jbosstools-3.3.0.Beta1/central/tests/org.jboss.tools.central.test/META-INF/MANIFEST.MF
Log:
Fixing the build
Modified: branches/jbosstools-3.3.0.Beta1/central/tests/org.jboss.tools.central.test/META-INF/MANIFEST.MF
===================================================================
--- branches/jbosstools-3.3.0.Beta1/central/tests/org.jboss.tools.central.test/META-INF/MANIFEST.MF 2012-02-19 16:46:58 UTC (rev 38909)
+++ branches/jbosstools-3.3.0.Beta1/central/tests/org.jboss.tools.central.test/META-INF/MANIFEST.MF 2012-02-19 17:17:21 UTC (rev 38910)
@@ -7,7 +7,6 @@
Require-Bundle: org.eclipse.ui;bundle-version="3.7.0",
org.eclipse.core.runtime;bundle-version="3.7.0",
org.jboss.tools.central;bundle-version="1.0.0",
- org.jboss.tools.community.central;bundle-version="1.0.0",
org.jboss.tools.tests;bundle-version="3.2.0",
org.junit4;bundle-version="4.8.1",
org.jboss.tools.project.examples;bundle-version="1.2.1",
14 years, 1 month
JBoss Tools SVN: r38908 - in branches/jbosstools-3.3.0.Beta1/examples/plugins/org.jboss.tools.project.examples: template and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2012-02-19 11:34:29 -0500 (Sun, 19 Feb 2012)
New Revision: 38908
Added:
branches/jbosstools-3.3.0.Beta1/examples/plugins/org.jboss.tools.project.examples/template/
branches/jbosstools-3.3.0.Beta1/examples/plugins/org.jboss.tools.project.examples/template/DefaultJBossCentralConfigurator.java
branches/jbosstools-3.3.0.Beta1/examples/plugins/org.jboss.tools.project.examples/template/README.txt
Modified:
branches/jbosstools-3.3.0.Beta1/examples/plugins/org.jboss.tools.project.examples/pom.xml
Log:
Fixing the build
Modified: branches/jbosstools-3.3.0.Beta1/examples/plugins/org.jboss.tools.project.examples/pom.xml
===================================================================
--- branches/jbosstools-3.3.0.Beta1/examples/plugins/org.jboss.tools.project.examples/pom.xml 2012-02-19 16:20:33 UTC (rev 38907)
+++ branches/jbosstools-3.3.0.Beta1/examples/plugins/org.jboss.tools.project.examples/pom.xml 2012-02-19 16:34:29 UTC (rev 38908)
@@ -10,5 +10,89 @@
<groupId>org.jboss.tools.examples.plugins</groupId>
<artifactId>org.jboss.tools.project.examples</artifactId>
+ <properties>
+ <!-- TODO: for GA, change this from /development/indigo/ to /stable/indigo/ -->
+ <jboss.discovery.directory.url>http://download.jboss.org/jbosstools/updates/development/indigo/jbosstool...</jboss.discovery.directory.url>
+ </properties>
+
+ <profiles>
+ <!-- _stable_branch jobs could use this profile but the above default (last stable milestone) is probably better -->
+ <profile>
+ <id>3.3.indigo</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <properties>
+ <jboss.discovery.directory.url>http://download.jboss.org/jbosstools/updates/nightly/core/3.3.indigo/jbos...</jboss.discovery.directory.url>
+ </properties>
+ </profile>
+
+ <!-- _trunk jobs should use this profile -->
+ <profile>
+ <id>trunk</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <properties>
+ <jboss.discovery.directory.url>http://download.jboss.org/jbosstools/updates/nightly/core/trunk/jbosstool...</jboss.discovery.directory.url>
+ </properties>
+ </profile>
+ </profiles>
<packaging>eclipse-plugin</packaging>
+ <build>
+ <plugins>
+ <!-- This will copy from the source folder to the template folder. Use only if no filtering/replacement has already been done in source folder
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.5</version>
+ <executions>
+ <execution>
+ <id>copy-resources</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${basedir}/template/</outputDirectory>
+ <resources>
+ <resource>
+ <directory>src/org/jboss/tools/project/examples/configurators/</directory>
+ <includes>
+ <include>**/DefaultJBossCentralConfigurator.java</include>
+ </includes>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin> -->
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.5</version>
+ <executions>
+ <execution>
+ <id>copy-resources</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${basedir}/src/org/jboss/tools/project/examples/configurators/</outputDirectory>
+ <resources>
+ <resource>
+ <directory>template/</directory>
+ <includes>
+ <include>**/DefaultJBossCentralConfigurator.java</include>
+ </includes>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
</project>
\ No newline at end of file
Added: branches/jbosstools-3.3.0.Beta1/examples/plugins/org.jboss.tools.project.examples/template/DefaultJBossCentralConfigurator.java
===================================================================
--- branches/jbosstools-3.3.0.Beta1/examples/plugins/org.jboss.tools.project.examples/template/DefaultJBossCentralConfigurator.java (rev 0)
+++ branches/jbosstools-3.3.0.Beta1/examples/plugins/org.jboss.tools.project.examples/template/DefaultJBossCentralConfigurator.java 2012-02-19 16:34:29 UTC (rev 38908)
@@ -0,0 +1,89 @@
+/*************************************************************************************
+ * Copyright (c) 2011 Red Hat, Inc. and others.
+ * All rights reserved. This program and the accompanying materials
+ * are 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:
+ * JBoss by Red Hat - Initial implementation.
+ ************************************************************************************/
+package org.jboss.tools.project.examples.configurators;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.swt.graphics.Image;
+import org.jboss.tools.project.examples.ProjectExamplesActivator;
+
+/**
+ *
+ * @author snjeza, nboldt
+ *
+ */
+public class DefaultJBossCentralConfigurator implements
+ IJBossCentralConfigurator {
+
+ // TODO: for GA, change this from /development/indigo/ to /stable/indigo/
+ private static final String JBOSS_DIRECTORY_URL_DEFAULT = "http://download.jboss.org/jbosstools/updates/development/indigo/jbosstool..."; //$NON-NLS-1$
+
+ // see pom.xml for actual value -- this is passed it at build-time via Maven
+ private static final String JBOSS_DIRECTORY_URL = "${jboss.discovery.directory.url}"; //$NON-NLS-1$
+
+ private static final String TWITTER_LINK ="http://twitter.com/#!/jbosstools"; //$NON-NLS-1$
+
+ private static final String BLOGS_URL = "http://planet.jboss.org/feeds/blogs"; //$NON-NLS-1$
+
+ private static final String NEWS_URL = "http://planet.jboss.org/feeds/news"; //$NON-NLS-1$
+
+ private Image headerImage;
+
+ @Override
+ public String[] getMainToolbarCommandIds() {
+ return new String[] {"org.jboss.tools.central.openJBossToolsHome", //$NON-NLS-1$
+ "org.jboss.tools.central.favoriteAtEclipseMarketplace", //$NON-NLS-1$
+ "org.jboss.tools.central.preferences"}; //$NON-NLS-1$
+ }
+
+ @Override
+ public String getJBossDiscoveryDirectory() {
+ // use commandline override -Djboss.discovery.directory.url
+ String directory = System.getProperty(ProjectExamplesActivator.JBOSS_DISCOVERY_DIRECTORY, null);
+ if (directory == null) {
+ // else use Maven-generated value; fall back to default
+ return JBOSS_DIRECTORY_URL.equals("${" + "jboss.discovery.directory.url" + "}") ? JBOSS_DIRECTORY_URL_DEFAULT : JBOSS_DIRECTORY_URL; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ }
+ return directory;
+ }
+
+ @Override
+ public String getTwitterLink() {
+ return TWITTER_LINK;
+ }
+
+ @Override
+ public String getBlogsUrl() {
+ return BLOGS_URL;
+ }
+
+ @Override
+ public String getNewsUrl() {
+ return NEWS_URL;
+ }
+
+ @Override
+ public List<String> getWizardIds() {
+ List<String> wizardIds = new ArrayList<String>();
+ wizardIds.add("org.eclipse.jst.servlet.ui.project.facet.WebProjectWizard"); //$NON-NLS-1$
+ wizardIds.add("org.jboss.ide.eclipse.as.openshift.express.ui.wizard.createNewApplicationWizard"); //$NON-NLS-1$
+ return wizardIds;
+ }
+
+ @Override
+ public Image getHeaderImage() {
+ if (headerImage == null) {
+ headerImage = ProjectExamplesActivator.getDefault().getImage("/icons/jboss.png"); //$NON-NLS-1$
+ }
+ return headerImage;
+ }
+}
Added: branches/jbosstools-3.3.0.Beta1/examples/plugins/org.jboss.tools.project.examples/template/README.txt
===================================================================
--- branches/jbosstools-3.3.0.Beta1/examples/plugins/org.jboss.tools.project.examples/template/README.txt (rev 0)
+++ branches/jbosstools-3.3.0.Beta1/examples/plugins/org.jboss.tools.project.examples/template/README.txt 2012-02-19 16:34:29 UTC (rev 38908)
@@ -0,0 +1,4 @@
+This folder is used to dynamically replace ${jboss.discovery.directory.url} in DefaultJBossCentralConfigurator
+with a valid URL as defined in this plugin's pom.xml.
+
+If you change src/org/jboss/tools/project/examples/configurators/DefaultJBossCentralConfigurator.java, copy your changes into here too.
14 years, 1 month
JBoss Tools SVN: r38907 - branches/jbosstools-3.3.0.Beta1/central/plugins/org.jboss.tools.central.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2012-02-19 11:20:33 -0500 (Sun, 19 Feb 2012)
New Revision: 38907
Removed:
branches/jbosstools-3.3.0.Beta1/central/plugins/org.jboss.tools.central/template/
Modified:
branches/jbosstools-3.3.0.Beta1/central/plugins/org.jboss.tools.central/pom.xml
Log:
Fixing the build
Modified: branches/jbosstools-3.3.0.Beta1/central/plugins/org.jboss.tools.central/pom.xml
===================================================================
--- branches/jbosstools-3.3.0.Beta1/central/plugins/org.jboss.tools.central/pom.xml 2012-02-19 15:09:43 UTC (rev 38906)
+++ branches/jbosstools-3.3.0.Beta1/central/plugins/org.jboss.tools.central/pom.xml 2012-02-19 16:20:33 UTC (rev 38907)
@@ -9,90 +9,5 @@
</parent>
<groupId>org.jboss.tools.central.plugins</groupId>
<artifactId>org.jboss.tools.central</artifactId>
-
- <properties>
- <!-- TODO: for GA, change this from /development/indigo/ to /stable/indigo/ -->
- <jboss.discovery.directory.url>http://download.jboss.org/jbosstools/updates/development/indigo/jbosstool...</jboss.discovery.directory.url>
- </properties>
-
- <profiles>
- <!-- _stable_branch jobs could use this profile but the above default (last stable milestone) is probably better -->
- <profile>
- <id>3.3.indigo</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <jboss.discovery.directory.url>http://download.jboss.org/jbosstools/updates/nightly/core/3.3.indigo/jbos...</jboss.discovery.directory.url>
- </properties>
- </profile>
-
- <!-- _trunk jobs should use this profile -->
- <profile>
- <id>trunk</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <jboss.discovery.directory.url>http://download.jboss.org/jbosstools/updates/nightly/core/trunk/jbosstool...</jboss.discovery.directory.url>
- </properties>
- </profile>
- </profiles>
-
<packaging>eclipse-plugin</packaging>
- <build>
- <plugins>
- <!-- This will copy from the source folder to the template folder. Use only if no filtering/replacement has already been done in source folder
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.5</version>
- <executions>
- <execution>
- <id>copy-resources</id>
- <phase>validate</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${basedir}/template/</outputDirectory>
- <resources>
- <resource>
- <directory>src/org/jboss/tools/central/configurators/</directory>
- <includes>
- <include>**/DefaultJBossCentralConfigurator.java</include>
- </includes>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin> -->
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.5</version>
- <executions>
- <execution>
- <id>copy-resources</id>
- <phase>validate</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${basedir}/src/org/jboss/tools/central/configurators/</outputDirectory>
- <resources>
- <resource>
- <directory>template/</directory>
- <includes>
- <include>**/DefaultJBossCentralConfigurator.java</include>
- </includes>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
</project>
14 years, 1 month
JBoss Tools SVN: r38906 - in trunk/examples/plugins/org.jboss.tools.project.examples: template and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2012-02-19 10:09:43 -0500 (Sun, 19 Feb 2012)
New Revision: 38906
Added:
trunk/examples/plugins/org.jboss.tools.project.examples/template/
trunk/examples/plugins/org.jboss.tools.project.examples/template/DefaultJBossCentralConfigurator.java
trunk/examples/plugins/org.jboss.tools.project.examples/template/README.txt
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples/pom.xml
Log:
JBIDE-10264 Wizard-ify the project examples
Modified: trunk/examples/plugins/org.jboss.tools.project.examples/pom.xml
===================================================================
--- trunk/examples/plugins/org.jboss.tools.project.examples/pom.xml 2012-02-19 14:47:00 UTC (rev 38905)
+++ trunk/examples/plugins/org.jboss.tools.project.examples/pom.xml 2012-02-19 15:09:43 UTC (rev 38906)
@@ -10,5 +10,89 @@
<groupId>org.jboss.tools.examples.plugins</groupId>
<artifactId>org.jboss.tools.project.examples</artifactId>
+ <properties>
+ <!-- TODO: for GA, change this from /development/indigo/ to /stable/indigo/ -->
+ <jboss.discovery.directory.url>http://download.jboss.org/jbosstools/updates/development/indigo/jbosstool...</jboss.discovery.directory.url>
+ </properties>
+
+ <profiles>
+ <!-- _stable_branch jobs could use this profile but the above default (last stable milestone) is probably better -->
+ <profile>
+ <id>3.3.indigo</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <properties>
+ <jboss.discovery.directory.url>http://download.jboss.org/jbosstools/updates/nightly/core/3.3.indigo/jbos...</jboss.discovery.directory.url>
+ </properties>
+ </profile>
+
+ <!-- _trunk jobs should use this profile -->
+ <profile>
+ <id>trunk</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <properties>
+ <jboss.discovery.directory.url>http://download.jboss.org/jbosstools/updates/nightly/core/trunk/jbosstool...</jboss.discovery.directory.url>
+ </properties>
+ </profile>
+ </profiles>
<packaging>eclipse-plugin</packaging>
+ <build>
+ <plugins>
+ <!-- This will copy from the source folder to the template folder. Use only if no filtering/replacement has already been done in source folder
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.5</version>
+ <executions>
+ <execution>
+ <id>copy-resources</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${basedir}/template/</outputDirectory>
+ <resources>
+ <resource>
+ <directory>src/org/jboss/tools/project/examples/configurators/</directory>
+ <includes>
+ <include>**/DefaultJBossCentralConfigurator.java</include>
+ </includes>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin> -->
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.5</version>
+ <executions>
+ <execution>
+ <id>copy-resources</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${basedir}/src/org/jboss/tools/project/examples/configurators/</outputDirectory>
+ <resources>
+ <resource>
+ <directory>template/</directory>
+ <includes>
+ <include>**/DefaultJBossCentralConfigurator.java</include>
+ </includes>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
</project>
\ No newline at end of file
Added: trunk/examples/plugins/org.jboss.tools.project.examples/template/DefaultJBossCentralConfigurator.java
===================================================================
--- trunk/examples/plugins/org.jboss.tools.project.examples/template/DefaultJBossCentralConfigurator.java (rev 0)
+++ trunk/examples/plugins/org.jboss.tools.project.examples/template/DefaultJBossCentralConfigurator.java 2012-02-19 15:09:43 UTC (rev 38906)
@@ -0,0 +1,89 @@
+/*************************************************************************************
+ * Copyright (c) 2011 Red Hat, Inc. and others.
+ * All rights reserved. This program and the accompanying materials
+ * are 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:
+ * JBoss by Red Hat - Initial implementation.
+ ************************************************************************************/
+package org.jboss.tools.project.examples.configurators;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.swt.graphics.Image;
+import org.jboss.tools.project.examples.ProjectExamplesActivator;
+
+/**
+ *
+ * @author snjeza, nboldt
+ *
+ */
+public class DefaultJBossCentralConfigurator implements
+ IJBossCentralConfigurator {
+
+ // TODO: for GA, change this from /development/indigo/ to /stable/indigo/
+ private static final String JBOSS_DIRECTORY_URL_DEFAULT = "http://download.jboss.org/jbosstools/updates/development/indigo/jbosstool..."; //$NON-NLS-1$
+
+ // see pom.xml for actual value -- this is passed it at build-time via Maven
+ private static final String JBOSS_DIRECTORY_URL = "${jboss.discovery.directory.url}"; //$NON-NLS-1$
+
+ private static final String TWITTER_LINK ="http://twitter.com/#!/jbosstools"; //$NON-NLS-1$
+
+ private static final String BLOGS_URL = "http://planet.jboss.org/feeds/blogs"; //$NON-NLS-1$
+
+ private static final String NEWS_URL = "http://planet.jboss.org/feeds/news"; //$NON-NLS-1$
+
+ private Image headerImage;
+
+ @Override
+ public String[] getMainToolbarCommandIds() {
+ return new String[] {"org.jboss.tools.central.openJBossToolsHome", //$NON-NLS-1$
+ "org.jboss.tools.central.favoriteAtEclipseMarketplace", //$NON-NLS-1$
+ "org.jboss.tools.central.preferences"}; //$NON-NLS-1$
+ }
+
+ @Override
+ public String getJBossDiscoveryDirectory() {
+ // use commandline override -Djboss.discovery.directory.url
+ String directory = System.getProperty(ProjectExamplesActivator.JBOSS_DISCOVERY_DIRECTORY, null);
+ if (directory == null) {
+ // else use Maven-generated value; fall back to default
+ return JBOSS_DIRECTORY_URL.equals("${" + "jboss.discovery.directory.url" + "}") ? JBOSS_DIRECTORY_URL_DEFAULT : JBOSS_DIRECTORY_URL; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ }
+ return directory;
+ }
+
+ @Override
+ public String getTwitterLink() {
+ return TWITTER_LINK;
+ }
+
+ @Override
+ public String getBlogsUrl() {
+ return BLOGS_URL;
+ }
+
+ @Override
+ public String getNewsUrl() {
+ return NEWS_URL;
+ }
+
+ @Override
+ public List<String> getWizardIds() {
+ List<String> wizardIds = new ArrayList<String>();
+ wizardIds.add("org.eclipse.jst.servlet.ui.project.facet.WebProjectWizard"); //$NON-NLS-1$
+ wizardIds.add("org.jboss.ide.eclipse.as.openshift.express.ui.wizard.createNewApplicationWizard"); //$NON-NLS-1$
+ return wizardIds;
+ }
+
+ @Override
+ public Image getHeaderImage() {
+ if (headerImage == null) {
+ headerImage = ProjectExamplesActivator.getDefault().getImage("/icons/jboss.png"); //$NON-NLS-1$
+ }
+ return headerImage;
+ }
+}
Added: trunk/examples/plugins/org.jboss.tools.project.examples/template/README.txt
===================================================================
--- trunk/examples/plugins/org.jboss.tools.project.examples/template/README.txt (rev 0)
+++ trunk/examples/plugins/org.jboss.tools.project.examples/template/README.txt 2012-02-19 15:09:43 UTC (rev 38906)
@@ -0,0 +1,4 @@
+This folder is used to dynamically replace ${jboss.discovery.directory.url} in DefaultJBossCentralConfigurator
+with a valid URL as defined in this plugin's pom.xml.
+
+If you change src/org/jboss/tools/project/examples/configurators/DefaultJBossCentralConfigurator.java, copy your changes into here too.
14 years, 1 month
JBoss Tools SVN: r38905 - trunk/central/plugins/org.jboss.tools.central.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2012-02-19 09:47:00 -0500 (Sun, 19 Feb 2012)
New Revision: 38905
Modified:
trunk/central/plugins/org.jboss.tools.central/pom.xml
Log:
JBIDE-10264 Wizard-ify the project examples
Modified: trunk/central/plugins/org.jboss.tools.central/pom.xml
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/pom.xml 2012-02-19 14:34:34 UTC (rev 38904)
+++ trunk/central/plugins/org.jboss.tools.central/pom.xml 2012-02-19 14:47:00 UTC (rev 38905)
@@ -10,89 +10,5 @@
<groupId>org.jboss.tools.central.plugins</groupId>
<artifactId>org.jboss.tools.central</artifactId>
- <properties>
- <!-- TODO: for GA, change this from /development/indigo/ to /stable/indigo/ -->
- <jboss.discovery.directory.url>http://download.jboss.org/jbosstools/updates/development/indigo/jbosstool...</jboss.discovery.directory.url>
- </properties>
-
- <profiles>
- <!-- _stable_branch jobs could use this profile but the above default (last stable milestone) is probably better -->
- <profile>
- <id>3.3.indigo</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <jboss.discovery.directory.url>http://download.jboss.org/jbosstools/updates/nightly/core/3.3.indigo/jbos...</jboss.discovery.directory.url>
- </properties>
- </profile>
-
- <!-- _trunk jobs should use this profile -->
- <profile>
- <id>trunk</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <jboss.discovery.directory.url>http://download.jboss.org/jbosstools/updates/nightly/core/trunk/jbosstool...</jboss.discovery.directory.url>
- </properties>
- </profile>
- </profiles>
-
<packaging>eclipse-plugin</packaging>
- <build>
- <plugins>
- <!-- This will copy from the source folder to the template folder. Use only if no filtering/replacement has already been done in source folder
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.5</version>
- <executions>
- <execution>
- <id>copy-resources</id>
- <phase>validate</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${basedir}/template/</outputDirectory>
- <resources>
- <resource>
- <directory>src/org/jboss/tools/central/configurators/</directory>
- <includes>
- <include>**/DefaultJBossCentralConfigurator.java</include>
- </includes>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin> -->
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.5</version>
- <executions>
- <execution>
- <id>copy-resources</id>
- <phase>validate</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${basedir}/src/org/jboss/tools/central/configurators/</outputDirectory>
- <resources>
- <resource>
- <directory>template/</directory>
- <includes>
- <include>**/DefaultJBossCentralConfigurator.java</include>
- </includes>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
</project>
14 years, 1 month
JBoss Tools SVN: r38904 - in trunk/central/plugins/org.jboss.tools.central: src/org/jboss/tools/central/editors and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2012-02-19 09:34:34 -0500 (Sun, 19 Feb 2012)
New Revision: 38904
Removed:
trunk/central/plugins/org.jboss.tools.central/template/
Modified:
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/GettingStartedPage.java
Log:
JBIDE-10264 Wizard-ify the project examples
Modified: trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/GettingStartedPage.java
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/GettingStartedPage.java 2012-02-19 14:34:28 UTC (rev 38903)
+++ trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/GettingStartedPage.java 2012-02-19 14:34:34 UTC (rev 38904)
@@ -567,9 +567,22 @@
}
}
}
+
projectsSection.setClient(projectsComposite);
}
+ private void addProjectExamples(FormToolkit toolkit,
+ Composite projectsComposite) {
+ List<ProjectExample> wizards = RefreshTutorialsJob.INSTANCE.getWizardProjects();
+ Collections.sort(wizards);
+ for (final ProjectExample wizard : wizards) {
+ FormText text = toolkit.createFormText(projectsComposite, true);
+ configureTutorialText(text, wizard);
+
+ }
+
+ }
+
private void createProjectLink(FormToolkit toolkit, Composite composite,
final IConfigurationElement element) {
if (element == null) {
@@ -1234,15 +1247,8 @@
return;
}
setBusyIndicator(tutorialsLoadingComposite, false);
+ addProjectExamples(toolkit, projectsComposite);
refreshTutorials();
-
- //TEMPORARY HACK FOR JBIDE-10053 (Java EE6 archetypes in the project section)
- //Should be removed once these archetype tutorials are changed to use wizards as per JBIDE-10264
-// RefreshTutorialsJob job = RefreshTutorialsJob.INSTANCE;
-// List<ProjectExample> wizardProjects = job.getWizardProjects();
-// if (wizardProjects != null){
-// updateNewProjects(wizardProjects);
-// }
}
});
14 years, 1 month
JBoss Tools SVN: r38903 - trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/configurators.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2012-02-19 09:34:28 -0500 (Sun, 19 Feb 2012)
New Revision: 38903
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/configurators/DefaultJBossCentralConfigurator.java
Log:
JBIDE-10264 Wizard-ify the project examples
Modified: trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/configurators/DefaultJBossCentralConfigurator.java
===================================================================
--- trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/configurators/DefaultJBossCentralConfigurator.java 2012-02-19 13:53:34 UTC (rev 38902)
+++ trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/configurators/DefaultJBossCentralConfigurator.java 2012-02-19 14:34:28 UTC (rev 38903)
@@ -76,12 +76,6 @@
List<String> wizardIds = new ArrayList<String>();
wizardIds.add("org.eclipse.jst.servlet.ui.project.facet.WebProjectWizard"); //$NON-NLS-1$
wizardIds.add("org.jboss.ide.eclipse.as.openshift.express.ui.wizard.createNewApplicationWizard"); //$NON-NLS-1$
- wizardIds.add("org.jboss.tools.central.wizards.NewJavaeeWarProjectWizard"); //$NON-NLS-1$
- wizardIds.add("org.jboss.tools.central.wizards.NewJavaeeEarProjectWizard"); //$NON-NLS-1$
- wizardIds.add("org.jboss.tools.central.wizards.NewHtml5ProjectWizard"); //$NON-NLS-1$
- wizardIds.add("org.jboss.tools.central.wizards.NewRichfacesProjectWizard"); //$NON-NLS-1$
- wizardIds.add("org.jboss.tools.central.wizards.NewSpringMvcProjectWizard"); //$NON-NLS-1$
- wizardIds.add("org.jboss.tools.central.wizards.NewGwtProjectWizard"); //$NON-NLS-1$
return wizardIds;
}
14 years, 1 month
JBoss Tools SVN: r38902 - trunk/central/tests/org.jboss.tools.central.test/META-INF.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2012-02-19 08:53:34 -0500 (Sun, 19 Feb 2012)
New Revision: 38902
Modified:
trunk/central/tests/org.jboss.tools.central.test/META-INF/MANIFEST.MF
Log:
JBIDE-10264 Wizard-ify the project examples
Modified: trunk/central/tests/org.jboss.tools.central.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/central/tests/org.jboss.tools.central.test/META-INF/MANIFEST.MF 2012-02-19 03:15:49 UTC (rev 38901)
+++ trunk/central/tests/org.jboss.tools.central.test/META-INF/MANIFEST.MF 2012-02-19 13:53:34 UTC (rev 38902)
@@ -7,7 +7,6 @@
Require-Bundle: org.eclipse.ui;bundle-version="3.7.0",
org.eclipse.core.runtime;bundle-version="3.7.0",
org.jboss.tools.central;bundle-version="1.0.0",
- org.jboss.tools.community.central;bundle-version="1.0.0",
org.jboss.tools.tests;bundle-version="3.2.0",
org.junit4;bundle-version="4.8.1",
org.jboss.tools.project.examples;bundle-version="1.2.1",
14 years, 1 month
JBoss Tools SVN: r38901 - trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/action.
by jbosstools-commits@lists.jboss.org
Author: ldimaggio
Date: 2012-02-18 22:15:49 -0500 (Sat, 18 Feb 2012)
New Revision: 38901
Modified:
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/action/Notifier.java
Log:
Added tests for email notifier
Modified: trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/action/Notifier.java
===================================================================
--- trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/action/Notifier.java 2012-02-18 18:55:54 UTC (rev 38900)
+++ trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/action/Notifier.java 2012-02-19 03:15:49 UTC (rev 38901)
@@ -2,6 +2,8 @@
import static org.junit.Assert.fail;
+import java.util.List;
+
import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotEditor;
import org.eclipse.swtbot.swt.finder.SWTBot;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
@@ -71,7 +73,7 @@
}
private void addEmail(SWTBotEditor editor,String xpath,String... path) {
- String xpathOrig = xpath;
+ String xpathOrig = new String (xpath);
SWTBotTreeItem item = SWTEclipseExt.selectTreeLocation(editor.bot(), path);
ContextMenuHelper.prepareTreeItemForContextMenu(editor.bot().tree(),item);
@@ -86,31 +88,28 @@
Assertions.assertXmlContentExists(editor.toTextEditor().getText(), xpath);
/* ldimaggi */
- System.out.println ("DEBUG1");
- org.jboss.tools.ui.bot.ext.SWTUtilExt.displayAllBotWidgets(bot);
- System.out.println ("DEBUG1");
-
bot.textWithLabel("Host:").setText("redhat.com");
bot.textWithLabel("Port:").setText("25");
bot.textWithLabel("Username:").setText("QEuser");
bot.textWithLabel("Password:").setText("thepas$w0rd");
bot.textWithLabel("Auth:").setText("LDAP");
+
+ bot.textWithLabel("Message:").setText("The message");
+ bot.textWithLabel("Copy to:").setText("The copier");
- System.out.println ("DEBUG " + bot.section("Target Notify Email").getText());
- //expandBarWithLabel("Target Notify Email").expandedItemCount() );
+ //xpathOrig+="/target[@auth='LDAP' and @class='NotifyEmail' and @from='a' and @host='redhat.com' and @password='thepas$w0rd' and @port='25' and @sendTo='b' and @subject='c' and username='QEuser']";
+ xpathOrig+="/target[@auth='LDAP' and @class='NotifyEmail' and @from='a' and @host='redhat.com' and @sendTo='b' and @subject='c' and @password='thepas$w0rd' and @port='25' and @ccTo='The copier' and @message='The message' and @username='QEuser']";
+ Assertions.assertXmlContentExists(editor.toTextEditor().getText(), xpathOrig);
- System.out.println (editor.toTextEditor().getText());
+ bot.button("&Add...").click();
+ SWTBotTreeItem [] theItems = bot.tree().getAllItems();
- xpathOrig+="/target[@auth='LDAP' and @class='NotifyEmail' and @from='a' and @host='redhat.com' and @password='thepas$w0rd' and @port='25' and @sendTo='b' and @subject='c' and username='QEuser']";
- //Assertions.assertXmlContentExists(editor.toTextEditor().getText(), xpath);
+ theItems[0].getNode("resources.jar").expand();
+ theItems[0].getNode("resources.jar").getNode("META-INF").expand();
+ theItems[0].getNode("resources.jar").getNode("META-INF").getNode("MANIFEST.MF").select();
+ bot.button("&Finish").click();
-//// <target auth="LDAP" class="NotifyEmail" from="a"
-//// host="redhat.com" password="thepas$w0rd" port="25" sendTo="b"
-//// subject="c" username="QEuser"/>
-//
editor.save();
- bot.sleep(60000l);
-
}
14 years, 1 month