JBoss Tools SVN: r36641 - trunk/build/aggregate/webtools-site.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-11-24 17:54:40 -0500 (Thu, 24 Nov 2011)
New Revision: 36641
Modified:
trunk/build/aggregate/webtools-site/pom.xml
Log:
don't use results folder here
Modified: trunk/build/aggregate/webtools-site/pom.xml
===================================================================
--- trunk/build/aggregate/webtools-site/pom.xml 2011-11-24 22:33:18 UTC (rev 36640)
+++ trunk/build/aggregate/webtools-site/pom.xml 2011-11-24 22:54:40 UTC (rev 36641)
@@ -25,12 +25,8 @@
<quiet>true</quiet>
<tasks>
<!-- called AFTER generating update site + zip to add in extra content -->
- <condition property="output.dir" value="${WORKSPACE}/results"
- else="${basedir}">
- <available file="${WORKSPACE}/results" />
- </condition>
<ant antfile="build.xml" target="basic.build" dir="../">
- <property name="output.dir" value="${output.dir}" />
+ <property name="output.dir" value="${basedir}" />
<property name="inputRepo"
value="${jbosstools-nightly-staging-composite}" />
<property name="update.site.name" value="JBoss Tools - Web Tools"/>
13 years, 1 month
JBoss Tools SVN: r36640 - trunk/build/aggregate/site/sources.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-11-24 17:33:18 -0500 (Thu, 24 Nov 2011)
New Revision: 36640
Modified:
trunk/build/aggregate/site/sources/site.xml
Log:
clean up site.xml for sources
Modified: trunk/build/aggregate/site/sources/site.xml
===================================================================
--- trunk/build/aggregate/site/sources/site.xml 2011-11-24 22:33:11 UTC (rev 36639)
+++ trunk/build/aggregate/site/sources/site.xml 2011-11-24 22:33:18 UTC (rev 36640)
@@ -1,14 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
- <description>JBoss Tools 3.3 Updates</description>
-
- <!-- only in JBDS
- <feature url="features/com.jboss.jbds.product.source.feature_0.0.0.jar" id="com.jboss.jbds.product.source.feature" version="0.0.0" patch="false">
- <category name="AllSources" />
- </feature>
- -->
-
- <!--
+ <description>JBoss Tools 3.3 Sources</description>
+ <!--
<feature url="features/org.jboss.tools.central.source.feature_0.0.0.jar" id="org.jboss.tools.central.source.feature" version="0.0.0">
<category name="AllSources"/>
</feature>
@@ -17,9 +10,6 @@
<feature url="features/org.jboss.tools.richfaces.source.feature_0.0.0.jar" id="org.jboss.tools.richfaces.source.feature" version="0.0.0">
<category name="AllSources" />
</feature>
- -->
- <!-- include and categorize in JBT -->
- <!--
<feature url="features/org.jboss.tools.jst.source.feature_0.0.0.jar" id="org.jboss.tools.jst.source.feature" version="0.0.0">
<category name="AllSources" />
</feature>
@@ -29,13 +19,13 @@
<feature url="features/org.jboss.tools.jsf.source.feature_0.0.0.jar" id="org.jboss.tools.jsf.source.feature" version="0.0.0">
<category name="AllSources" />
</feature>
- -->
- <!-- include but do not categorize -->
- <!--
- <feature url="features/org.jboss.tools.xulrunner.source.feature_0.0.0.jar" id="org.jboss.tools.xulrunner.source.feature" version="0.0.0"></feature>
- <feature url="features/org.mozilla.xulrunner.source.feature_0.0.0.jar" id="org.mozilla.xulrunner.source.feature" version="0.0.0"></feature>
-
- <feature url="features/org.jboss.tools.seam.source.feature_0.0.0.jar" id="org.jboss.tools.seam.source.feature" version="0.0.0">
+ <feature url="features/org.jboss.tools.xulrunner.source.feature_0.0.0.jar" id="org.jboss.tools.xulrunner.source.feature" version="0.0.0">
+ <category name="AllSources" />
+ </feature>
+ <feature url="features/org.mozilla.xulrunner.source.feature_0.0.0.jar" id="org.mozilla.xulrunner.source.feature" version="0.0.0">
+ <category name="AllSources" />
+ </feature>
+ <feature url="features/org.jboss.tools.seam.source.feature_0.0.0.jar" id="org.jboss.tools.seam.source.feature" version="0.0.0">
<category name="AllSources" />
</feature>
<feature url="features/org.jboss.tools.cdi.source.feature_0.0.0.jar" id="org.jboss.tools.cdi.source.feature" version="0.0.0">
@@ -51,9 +41,8 @@
<feature url="features/org.jboss.ide.eclipse.as.source.feature_0.0.0.jar" id="org.jboss.ide.eclipse.as.source.feature" version="0.0.0">
<category name="AllSources" />
</feature>
- <!-- only in JBT -->
<feature url="features/org.jboss.tools.openshift.express.source.feature_0.0.0.jar" id="org.jboss.tools.openshift.express.source.feature" version="0.0.0">
- <category name="AllSources" />
+ <category name="AllSources" />
</feature>
<feature url="features/org.jboss.tools.openshift.egit.integration.source.feature_0.0.0.jar" id="org.jboss.tools.openshift.egit.integration.source.feature" version="0.0.0">
<category name="AllSources" />
@@ -74,9 +63,6 @@
<feature url="features/org.jboss.tools.ws.source.feature_0.0.0.jar" id="org.jboss.tools.ws.source.feature" version="0.0.0">
<category name="AllSources" />
</feature>
- -->
- <!-- only in JBT -->
- <!--
<feature url="features/org.jboss.tools.ws.jaxrs.source.feature_0.0.0.jar" id="org.jboss.tools.ws.jaxrs.source.feature" version="0.0.0">
<category name="AllSources" />
</feature>
@@ -129,7 +115,6 @@
<feature url="features/org.jboss.tools.gwt.source.feature_0.0.0.jar" id="org.jboss.tools.gwt.source.feature" version="0.0.0">
<category name="AllSources" />
</feature>
-
-->
<feature url="features/org.jboss.tools.common.all.source.feature_0.0.0.jar" id="org.jboss.tools.common.all.source.feature" version="0.0.0">
<category name="AllSources" />
13 years, 1 month
JBoss Tools SVN: r36639 - trunk/build.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-11-24 17:33:11 -0500 (Thu, 24 Nov 2011)
New Revision: 36639
Modified:
trunk/build/pom.xml
Log:
remove profiler build from pom -- we don't include it in any update sites, so why build it\?
Modified: trunk/build/pom.xml
===================================================================
--- trunk/build/pom.xml 2011-11-24 22:32:05 UTC (rev 36638)
+++ trunk/build/pom.xml 2011-11-24 22:33:11 UTC (rev 36639)
@@ -318,24 +318,6 @@
</profile>
<profile>
- <id>profiler</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <modules>
- <module>../profiler</module>
- </modules>
- </profile>
-
- <profile>
- <id>profiler-bootstrap</id>
- <modules>
- <module>../tests</module>
- <module>../profiler</module>
- </modules>
- </profile>
-
- <profile>
<id>smooks</id>
<activation>
<activeByDefault>true</activeByDefault>
13 years, 1 month
JBoss Tools SVN: r36638 - trunk/build/aggregate/site.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2011-11-24 17:32:05 -0500 (Thu, 24 Nov 2011)
New Revision: 36638
Modified:
trunk/build/aggregate/site/site.xml
Log:
JBIDE-10223 Create separate JBoss Central tutorials for JBDS and JBoss Tools
Modified: trunk/build/aggregate/site/site.xml
===================================================================
--- trunk/build/aggregate/site/site.xml 2011-11-24 22:26:43 UTC (rev 36637)
+++ trunk/build/aggregate/site/site.xml 2011-11-24 22:32:05 UTC (rev 36638)
@@ -11,6 +11,9 @@
<feature url="features/org.jboss.tools.central.feature_0.0.0.jar" id="org.jboss.tools.central.feature" version="0.0.0">
<category name="AbridgedTools"/>
</feature>
+ <!-- only in JBT -->
+ <feature url="features/org.jboss.tools.community.central.feature_0.0.0.jar" id="org.jboss.tools.community.central.feature" version="0.0.0">
+ <category name="AbridgedTools"/>
<feature url="features/org.jboss.tools.central.discovery.feature_0.0.0.jar" id="org.jboss.tools.central.discovery.feature" version="0.0.0">
</feature>
<feature url="features/org.jboss.tools.richfaces.feature_0.0.0.jar" id="org.jboss.tools.richfaces.feature" version="0.0.0">
13 years, 1 month
JBoss Tools SVN: r36637 - trunk/ws/plugins/org.jboss.tools.ws.jaxrs.core/src/org/jboss/tools/ws/jaxrs/core/internal/metamodel/builder.
by jbosstools-commits@lists.jboss.org
Author: xcoulon
Date: 2011-11-24 17:26:43 -0500 (Thu, 24 Nov 2011)
New Revision: 36637
Modified:
trunk/ws/plugins/org.jboss.tools.ws.jaxrs.core/src/org/jboss/tools/ws/jaxrs/core/internal/metamodel/builder/ElementChangedEventScanner.java
Log:
Prevent resource changes analysis if the enclosing project is closed (with proper/safe check this time)
Modified: trunk/ws/plugins/org.jboss.tools.ws.jaxrs.core/src/org/jboss/tools/ws/jaxrs/core/internal/metamodel/builder/ElementChangedEventScanner.java
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.jaxrs.core/src/org/jboss/tools/ws/jaxrs/core/internal/metamodel/builder/ElementChangedEventScanner.java 2011-11-24 22:24:31 UTC (rev 36636)
+++ trunk/ws/plugins/org.jboss.tools.ws.jaxrs.core/src/org/jboss/tools/ws/jaxrs/core/internal/metamodel/builder/ElementChangedEventScanner.java 2011-11-24 22:26:43 UTC (rev 36637)
@@ -147,7 +147,7 @@
private List<JavaElementChangedEvent> scanDelta(IJavaElementDelta delta) throws CoreException {
final List<JavaElementChangedEvent> events = new ArrayList<JavaElementChangedEvent>();
IJavaElement element = delta.getElement();
- if(element == null || !element.getJavaProject().getProject().isOpen()) {
+ if(element == null || (element.getJavaProject() != null && !element.getJavaProject().getProject().isOpen())) {
// skip as the project is closed
return Collections.emptyList();
}
13 years, 1 month
JBoss Tools SVN: r36636 - in trunk/central: plugins and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2011-11-24 17:24:31 -0500 (Thu, 24 Nov 2011)
New Revision: 36636
Modified:
trunk/central/features/pom.xml
trunk/central/plugins/pom.xml
trunk/central/site/site.xml
Log:
JBIDE-10223 Create separate JBoss Central tutorials for JBDS and JBoss Tools
Modified: trunk/central/features/pom.xml
===================================================================
--- trunk/central/features/pom.xml 2011-11-24 22:22:55 UTC (rev 36635)
+++ trunk/central/features/pom.xml 2011-11-24 22:24:31 UTC (rev 36636)
@@ -15,6 +15,7 @@
<modules>
<module>org.jboss.tools.central.feature</module>
<module>org.jboss.tools.central.discovery.feature</module>
+ <module>org.jboss.tools.comunity.central.feature</module>
</modules>
</project>
Modified: trunk/central/plugins/pom.xml
===================================================================
--- trunk/central/plugins/pom.xml 2011-11-24 22:22:55 UTC (rev 36635)
+++ trunk/central/plugins/pom.xml 2011-11-24 22:24:31 UTC (rev 36636)
@@ -15,6 +15,7 @@
<modules>
<module>org.jboss.tools.central</module>
<module>org.jboss.tools.central.discovery</module>
+ <module>org.jboss.tools.community.central</module>
</modules>
</project>
Modified: trunk/central/site/site.xml
===================================================================
--- trunk/central/site/site.xml 2011-11-24 22:22:55 UTC (rev 36635)
+++ trunk/central/site/site.xml 2011-11-24 22:24:31 UTC (rev 36636)
@@ -1,15 +1,18 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<site>
- <description>To install these features, point Eclipse at this site.</description>
- <!-- JBoss Central Nightly Build Update Site -->
- <category-def label="JBoss Central Nightly Build Update Site" name="JBoss Central Nightly Build Update Site">
- <description>JBoss Central Nightly Build Update Site: contains all features in this build.</description>
- </category-def>
- <feature url="features/org.jboss.tools.central.feature_0.0.0.jar" id="org.jboss.tools.central.feature" version="0.0.0">
- <category name="JBoss Central Nightly Build Update Site"/>
- </feature>
- <!-- hidden feature: only want to include the plugin w/o exposing the feature for users to install -->
- <feature url="features/org.jboss.tools.central.discovery.feature_0.0.0.jar" id="org.jboss.tools.central.discovery.feature" version="0.0.0">
- </feature>
-
-</site>
+<?xml version="1.0" encoding="UTF-8"?>
+<site>
+ <description>
+ To install these features, point Eclipse at this site.
+ </description>
+ <feature url="features/org.jboss.tools.central.feature_0.0.0.jar" id="org.jboss.tools.central.feature" version="0.0.0">
+ <category name="JBoss Central Nightly Build Update Site"/>
+ </feature>
+ <feature url="features/org.jboss.tools.central.discovery.feature_0.0.0.jar" id="org.jboss.tools.central.discovery.feature" version="0.0.0"/>
+ <feature url="features/org.jboss.tools.community.central.feature_1.0.0.qualifier.jar" id="org.jboss.tools.community.central.feature" version="1.0.0.qualifier">
+ <category name="JBoss Central Nightly Build Update Site"/>
+ </feature>
+ <category-def name="JBoss Central Nightly Build Update Site" label="JBoss Central Nightly Build Update Site">
+ <description>
+ JBoss Central Nightly Build Update Site: contains all features in this build.
+ </description>
+ </category-def>
+</site>
13 years, 1 month
JBoss Tools SVN: r36635 - in trunk/central/plugins/org.jboss.tools.central: META-INF and 7 other directories.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2011-11-24 17:22:55 -0500 (Thu, 24 Nov 2011)
New Revision: 36635
Added:
trunk/central/plugins/org.jboss.tools.central/schema/configurators.exsd
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/configurators/
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/configurators/DefaultJBossCentralConfigurator.java
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/configurators/IJBossCentralConfigurator.java
Modified:
trunk/central/plugins/org.jboss.tools.central/META-INF/MANIFEST.MF
trunk/central/plugins/org.jboss.tools.central/plugin.xml
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/JBossCentralActivator.java
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/OpenJBossBlogsHandler.java
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/OpenJBossNewsHandler.java
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/OpenJBossToolsTwitterHandler.java
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/dialogs/ProjectExamplesDialog.java
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/JBossCentralEditor.java
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/SoftwarePage.java
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/jobs/RefreshBlogsJob.java
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/jobs/RefreshNewsJob.java
Log:
JBIDE-10223 Create separate JBoss Central tutorials for JBDS and JBoss Tools
Modified: trunk/central/plugins/org.jboss.tools.central/META-INF/MANIFEST.MF
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/META-INF/MANIFEST.MF 2011-11-24 22:22:40 UTC (rev 36634)
+++ trunk/central/plugins/org.jboss.tools.central/META-INF/MANIFEST.MF 2011-11-24 22:22:55 UTC (rev 36635)
@@ -31,3 +31,12 @@
Bundle-Vendor: %BundleVendor
Bundle-ClassPath: lib/ocpsoft-pretty-time-1.0.7.jar,
.
+Export-Package: org.jboss.tools.central,
+ org.jboss.tools.central.actions,
+ org.jboss.tools.central.configurators,
+ org.jboss.tools.central.dialogs,
+ org.jboss.tools.central.editors,
+ org.jboss.tools.central.editors.xpl,
+ org.jboss.tools.central.jobs,
+ org.jboss.tools.central.model,
+ org.jboss.tools.central.preferences
Modified: trunk/central/plugins/org.jboss.tools.central/plugin.xml
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/plugin.xml 2011-11-24 22:22:40 UTC (rev 36634)
+++ trunk/central/plugins/org.jboss.tools.central/plugin.xml 2011-11-24 22:22:55 UTC (rev 36635)
@@ -3,6 +3,7 @@
<plugin>
<extension-point id="tutorials" name="%Tutorials" schema="schema/tutorials.exsd"/>
+ <extension-point id="configurators" name="JBoss Central Configurator" schema="schema/configurators.exsd"/>
<extension
point="org.eclipse.ui.editors">
@@ -206,144 +207,5 @@
icon="icons/examples_wiz.gif">
</image>
</extension>
-
- <extension
- point="org.jboss.tools.central.tutorials">
- <category
- id="org.jboss.tools.central.javaee6.quickstart"
- name="Java EE 6 Template Projects"
- priority="1" />
- <category
- id="org.jboss.tools.central.jbossas.quickstart"
- name="JBoss AS 7 Quickstarts"
- description="These quickstarts are aimed to get you up to writing applications with minimal fuss. We recommend that you work through the quickstarts in the order they are presented in this guide, however if you have previous experience with Java EE 6, you may wish to skip some or all of the quickstarts."
- priority="2" />
- <category
- id="org.jboss.tools.central.seam2"
- name="Seam 2 Tutorials"
- description="These tutorials are intended to help you develop Seam 2 applications."
- priority="5" />
- <tutorial
- id="org.jboss.tools.central.jbossas.quickstart.helloworld"
- categoryId="org.jboss.tools.central.jbossas.quickstart"
- name="Helloworld quickstart"
- type="projectExample"
- priority="1"
- icon="icons/jbossas7.png"
- reference="JBoss AS 7 Quickstarts::helloworld"/>
- <tutorial
- id="org.jboss.tools.central.jbossas.quickstart.numberguess"
- categoryId="org.jboss.tools.central.jbossas.quickstart"
- name="Numberguess quickstart"
- type="projectExample"
- priority="2"
- icon="icons/jbossas7.png"
- reference="JBoss AS 7 Quickstarts::numberguess"/>
-
- <tutorial
- id="org.jboss.tools.central.jbossas.quickstart.login"
- categoryId="org.jboss.tools.central.jbossas.quickstart"
- name="Login quickstart"
- type="projectExample"
- priority="3"
- icon="icons/jbossas7.png"
- reference="JBoss AS 7 Quickstarts::login"/>
-
- <tutorial
- id="org.jboss.tools.central.jbossas.quickstart.kitchensink"
- categoryId="org.jboss.tools.central.jbossas.quickstart"
- name="Kitchensink quickstart"
- type="projectExample"
- priority="4"
- icon="icons/jbossas7.png"
- reference="JBoss AS 7 Quickstarts::kitchensink"/>
-
- <tutorial
- id="org.jboss.tools.central.jbossas.quickstart.jbossJavaee6Webapp"
- categoryId="org.jboss.tools.central.javaee6.quickstart"
- name="Java EE 6 WAR"
- type="projectExample"
- priority="1"
- icon="icons/jbossas7.png"
- reference="Java EE 6 Quickstarts::jboss-javaee6-webapp"/>
-
- <tutorial
- id="org.jboss.tools.central.jbossas.quickstart.jbossJavaee6Ear"
- categoryId="org.jboss.tools.central.javaee6.quickstart"
- name="Java EE 6 EAR"
- type="projectExample"
- priority="2"
- icon="icons/jbossas7.png"
- reference="Java EE 6 Quickstarts::multi-javaee6-archetype"/>
-
- <tutorial
- id="org.jboss.tools.central.jbossas.quickstart.jbossJavaee6Poh5"
- categoryId="org.jboss.tools.central.javaee6.quickstart"
- name="HTML5 Project"
- type="projectExample"
- priority="3"
- icon="icons/jbossas7.png"
- reference="Java EE 6 Quickstarts::jboss-javaee6-poh5-archetype"/>
-
- <tutorial
- id="org.jboss.tools.central.jbossas.quickstart.jbossJavaee6SpringMvc"
- categoryId="org.jboss.tools.central.javaee6.quickstart"
- name="Spring MVC"
- type="projectExample"
- priority="4"
- icon="icons/jbossas7.png"
- reference="Java EE 6 Quickstarts::spring-mvc-webapp"/>
-
- <tutorial
- id="org.jboss.tools.central.jbossas.quickstart.jbossJavaee6Richfaces"
- categoryId="org.jboss.tools.central.javaee6.quickstart"
- name="Richfaces Project"
- type="projectExample"
- priority="5"
- icon="icons/jbossas7.png"
- reference="Java EE 6 Quickstarts::richfaces-archetype-simpleapp"/>
-
- <tutorial
- id="org.jboss.tools.central.Seam.registration2"
- categoryId="org.jboss.tools.central.seam2"
- name="Registration Example"
- type="projectExample"
- priority="1"
- icon="icons/seam16.png"
- reference="Seam::registration2"/>
- <tutorial
- id="org.jboss.tools.central.Seam.messages"
- categoryId="org.jboss.tools.central.seam2"
- name="Message Example"
- type="projectExample"
- priority="2"
- icon="icons/seam16.png"
- reference="Seam::messages"/>
- <tutorial
- id="org.jboss.tools.central.Seam.todo"
- categoryId="org.jboss.tools.central.seam2"
- name="Todo Example"
- type="projectExample"
- priority="3"
- icon="icons/seam16.png"
- reference="Seam::todo"/>
- <tutorial
- id="org.jboss.tools.central.Seam.numberguess"
- categoryId="org.jboss.tools.central.seam2"
- name="Numberguess Example"
- type="projectExample"
- priority="4"
- icon="icons/seam16.png"
- reference="Seam::numberguess"/>
- <tutorial
- id="org.jboss.tools.central.Seam.booking22"
- categoryId="org.jboss.tools.central.seam2"
- name="Boooking Example"
- type="projectExample"
- priority="5"
- icon="icons/seam16.png"
- reference="Seam::booking22"/>
-
- </extension>
</plugin>
Added: trunk/central/plugins/org.jboss.tools.central/schema/configurators.exsd
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/schema/configurators.exsd (rev 0)
+++ trunk/central/plugins/org.jboss.tools.central/schema/configurators.exsd 2011-11-24 22:22:55 UTC (rev 36635)
@@ -0,0 +1,109 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.jboss.tools.central" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+ <appinfo>
+ <meta.schema plugin="org.jboss.tools.central" id="configurators" name="JBoss Central Configurator"/>
+ </appinfo>
+ <documentation>
+ [Enter description of this extension point.]
+ </documentation>
+ </annotation>
+
+ <element name="extension">
+ <annotation>
+ <appinfo>
+ <meta.element />
+ </appinfo>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="configurator"/>
+ </sequence>
+ <attribute name="point" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ <appinfo>
+ <meta.attribute translatable="true"/>
+ </appinfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="configurator">
+ <complexType>
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="class" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ <appinfo>
+ <meta.attribute kind="java" basedOn=":org.jboss.tools.central.configurators.IJBossCentralConfigurator"/>
+ </appinfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="since"/>
+ </appinfo>
+ <documentation>
+ [Enter the first release in which this extension point appears.]
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="examples"/>
+ </appinfo>
+ <documentation>
+ [Enter extension point usage example here.]
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="apiinfo"/>
+ </appinfo>
+ <documentation>
+ [Enter API information here.]
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="implementation"/>
+ </appinfo>
+ <documentation>
+ [Enter information about supplied implementation of this extension point.]
+ </documentation>
+ </annotation>
+
+
+</schema>
Modified: trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/JBossCentralActivator.java
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/JBossCentralActivator.java 2011-11-24 22:22:40 UTC (rev 36634)
+++ trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/JBossCentralActivator.java 2011-11-24 22:22:55 UTC (rev 36635)
@@ -19,6 +19,7 @@
import java.util.List;
import java.util.Map;
+import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExtension;
import org.eclipse.core.runtime.IExtensionPoint;
@@ -48,6 +49,8 @@
import org.eclipse.ui.menus.CommandContributionItemParameter;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.eclipse.ui.services.IServiceLocator;
+import org.jboss.tools.central.configurators.DefaultJBossCentralConfigurator;
+import org.jboss.tools.central.configurators.IJBossCentralConfigurator;
import org.jboss.tools.central.editors.JBossCentralEditor;
import org.jboss.tools.central.editors.JBossCentralEditorInput;
import org.jboss.tools.central.model.Tutorial;
@@ -67,8 +70,7 @@
private static final String JBOSS_DISCOVERY_DIRECTORY = "jboss.discovery.directory.url";
//public static final String JBOSS_DISCOVERY_DIRECTORY_3_3_0_XML = "http://download.jboss.org/jbosstools/updates/development/indigo/jbosstool...";
- public static final String JBOSS_DISCOVERY_DIRECTORY_3_3_0_XML = "http://download.jboss.org/jbosstools/updates/nightly/trunk/jbosstools-dir...";
-
+
public static final String ICON = "icon";
private static final String DESCRIPTION = "description";
@@ -104,10 +106,6 @@
public static final String NEW_PROJECT_EXAMPLES_WIZARD_ID = "org.jboss.tools.project.examples.wizard.NewProjectExamplesWizard";
- public static final String BLOGS_URL = "http://planet.jboss.org/feeds/blogs";
-
- public static final String NEWS_URL = "http://planet.jboss.org/feeds/news";
-
public static final String FORM_END_TAG = "</p></form>";
public static final String FORM_START_TAG = "<form><p>";
public static final String CANCELED = FORM_START_TAG + "<span color=\"header\" font=\"header\">Canceled.</span>" + FORM_END_TAG;
@@ -115,6 +113,10 @@
public static final String TUTORIALS_EXTENSION_ID = "org.jboss.tools.central.tutorials";
+ public static final String CONFIGURATORS_EXTENSION_ID = "org.jboss.tools.central.configurators";
+
+ private IJBossCentralConfigurator configurator;
+
//public static final String SEARCH_PROJECT_PAGES = "Search Project Pages";
public static final String SEARCH_THE_COMMUNITY = "Search JBoss Community";
@@ -126,6 +128,8 @@
private BundleContext bundleContext;
public static final int MAX_FEEDS = 100;
+
+ private static final Object CONFIGURATOR = "configurator";
// The shared instance
private static JBossCentralActivator plugin;
@@ -298,6 +302,37 @@
return null;
}
+ public IJBossCentralConfigurator getConfigurator() {
+ if (configurator == null) {
+ IExtensionRegistry registry = Platform.getExtensionRegistry();
+ IExtensionPoint extensionPoint = registry
+ .getExtensionPoint(CONFIGURATORS_EXTENSION_ID);
+ IExtension[] extensions = extensionPoint.getExtensions();
+ if (extensions.length > 0) {
+ IExtension extension = extensions[0];
+ IConfigurationElement[] configurationElements = extension
+ .getConfigurationElements();
+ for (int j = 0; j < configurationElements.length; j++) {
+ IConfigurationElement configurationElement = configurationElements[j];
+ if (CONFIGURATOR.equals(configurationElement.getName())) {
+ try {
+ configurator = (IJBossCentralConfigurator) configurationElement.createExecutableExtension("class");
+ } catch (CoreException e) {
+ JBossCentralActivator.log(e);
+ continue;
+ }
+ break;
+ }
+ }
+
+ }
+ if (configurator == null) {
+ configurator = new DefaultJBossCentralConfigurator();
+ }
+ }
+ return configurator;
+ }
+
public Map<String, TutorialCategory> getTutorialCategories() {
if (tutorialCategories == null) {
tutorialCategories = new HashMap<String, TutorialCategory>();
@@ -433,10 +468,10 @@
return bundleContext;
}
- public static String getJBossDiscoveryDirectory() {
+ public String getJBossDiscoveryDirectory() {
String directory = System.getProperty(JBOSS_DISCOVERY_DIRECTORY, null);
if (directory == null) {
- return JBOSS_DISCOVERY_DIRECTORY_3_3_0_XML;
+ return getConfigurator().getJBossDiscoveryDirectory();
}
return directory;
}
@@ -465,4 +500,5 @@
shell.dispose();
}
}
+
}
Modified: trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/OpenJBossBlogsHandler.java
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/OpenJBossBlogsHandler.java 2011-11-24 22:22:40 UTC (rev 36634)
+++ trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/OpenJBossBlogsHandler.java 2011-11-24 22:22:55 UTC (rev 36635)
@@ -22,7 +22,7 @@
@Override
public String getLocation() {
- return JBossCentralActivator.BLOGS_URL;
+ return JBossCentralActivator.getDefault().getConfigurator().getBlogsUrl();
}
}
Modified: trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/OpenJBossNewsHandler.java
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/OpenJBossNewsHandler.java 2011-11-24 22:22:40 UTC (rev 36634)
+++ trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/OpenJBossNewsHandler.java 2011-11-24 22:22:55 UTC (rev 36635)
@@ -22,7 +22,7 @@
@Override
public String getLocation() {
- return JBossCentralActivator.NEWS_URL;
+ return JBossCentralActivator.getDefault().getConfigurator().getNewsUrl();
}
}
Modified: trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/OpenJBossToolsTwitterHandler.java
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/OpenJBossToolsTwitterHandler.java 2011-11-24 22:22:40 UTC (rev 36634)
+++ trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/OpenJBossToolsTwitterHandler.java 2011-11-24 22:22:55 UTC (rev 36635)
@@ -11,6 +11,8 @@
package org.jboss.tools.central.actions;
+import org.jboss.tools.central.JBossCentralActivator;
+
/**
*
* @author snjeza
@@ -20,7 +22,7 @@
@Override
public String getLocation() {
- return "http://twitter.com/#!/jbosstools";
+ return JBossCentralActivator.getDefault().getConfigurator().getTwitterLink();
}
@Override
Added: trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/configurators/DefaultJBossCentralConfigurator.java
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/configurators/DefaultJBossCentralConfigurator.java (rev 0)
+++ trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/configurators/DefaultJBossCentralConfigurator.java 2011-11-24 22:22:55 UTC (rev 36635)
@@ -0,0 +1,82 @@
+/*************************************************************************************
+ * 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.central.configurators;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.swt.graphics.Image;
+import org.jboss.tools.central.JBossCentralActivator;
+
+/**
+ *
+ * @author snjeza
+ *
+ */
+public class DefaultJBossCentralConfigurator implements
+ IJBossCentralConfigurator {
+
+ private static final String JBOSS_DISCOVERY_DIRECTORY_3_3_0_XML = "http://download.jboss.org/jbosstools/updates/nightly/trunk/jbosstools-dir...";
+
+ private static final String TWITTER_LINK ="http://twitter.com/#!/jbosstools";
+
+ private static final String BLOGS_URL = "http://planet.jboss.org/feeds/blogs";
+
+ private static final String NEWS_URL = "http://planet.jboss.org/feeds/news";
+
+ private Image headerImage;
+
+ @Override
+ public String[] getMainToolbarCommandIds() {
+ return new String[] {"org.jboss.tools.central.openJBossToolsHome",
+ "org.jboss.tools.central.favoriteAtEclipseMarketplace",
+ "org.jboss.tools.central.preferences"};
+ }
+
+ @Override
+ public String getJBossDiscoveryDirectory() {
+ return JBOSS_DISCOVERY_DIRECTORY_3_3_0_XML;
+ }
+
+ @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.jboss.ide.eclipse.as.openshift.express.ui.wizard.NewServerAdapter");
+ wizardIds.add("org.eclipse.jst.servlet.ui.project.facet.WebProjectWizard");
+ wizardIds.add("org.jboss.tools.seam.ui.wizards.SeamProjectWizard");
+ wizardIds.add("org.eclipse.m2e.core.wizards.Maven2ProjectWizard");
+ wizardIds.add(JBossCentralActivator.NEW_PROJECT_EXAMPLES_WIZARD_ID);
+ return wizardIds;
+ }
+
+ @Override
+ public Image getHeaderImage() {
+ if (headerImage == null) {
+ headerImage = JBossCentralActivator.getDefault().getImage("/icons/jboss.gif");
+ }
+ return headerImage;
+ }
+}
Added: trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/configurators/IJBossCentralConfigurator.java
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/configurators/IJBossCentralConfigurator.java (rev 0)
+++ trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/configurators/IJBossCentralConfigurator.java 2011-11-24 22:22:55 UTC (rev 36635)
@@ -0,0 +1,32 @@
+/*************************************************************************************
+ * 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.central.configurators;
+
+import java.util.List;
+
+import org.eclipse.swt.graphics.Image;
+
+/**
+ *
+ * @author snjeza
+ *
+ */
+public interface IJBossCentralConfigurator {
+
+ String[] getMainToolbarCommandIds();
+ String getJBossDiscoveryDirectory();
+ String getTwitterLink();
+ String getBlogsUrl();
+ String getNewsUrl();
+ List<String> getWizardIds();
+ Image getHeaderImage();
+
+}
Modified: trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/dialogs/ProjectExamplesDialog.java
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/dialogs/ProjectExamplesDialog.java 2011-11-24 22:22:40 UTC (rev 36634)
+++ trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/dialogs/ProjectExamplesDialog.java 2011-11-24 22:22:55 UTC (rev 36635)
@@ -318,7 +318,7 @@
connectorDiscovery.getDiscoveryStrategies().add(new BundleDiscoveryStrategy());
RemoteBundleDiscoveryStrategy remoteDiscoveryStrategy = new RemoteBundleDiscoveryStrategy();
- remoteDiscoveryStrategy.setDirectoryUrl(JBossCentralActivator.getJBossDiscoveryDirectory());
+ remoteDiscoveryStrategy.setDirectoryUrl(JBossCentralActivator.getDefault().getJBossDiscoveryDirectory());
connectorDiscovery.getDiscoveryStrategies().add(remoteDiscoveryStrategy);
connectorDiscovery.setEnvironment(JBossCentralActivator.getEnvironment());
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 2011-11-24 22:22:40 UTC (rev 36634)
+++ trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/GettingStartedPage.java 2011-11-24 22:22:55 UTC (rev 36635)
@@ -573,12 +573,7 @@
IExtensionPoint extensionPoint = extensionRegistry.getExtensionPoint("org.eclipse.ui.newWizards");
IExtension[] extensions = extensionPoint.getExtensions();
- List<String> wizardIDs = new ArrayList<String>();
- //wizardIDs.add("org.jboss.ide.eclipse.as.openshift.express.ui.wizard.NewServerAdapter");
- wizardIDs.add("org.eclipse.jst.servlet.ui.project.facet.WebProjectWizard");
- wizardIDs.add("org.jboss.tools.seam.ui.wizards.SeamProjectWizard");
- wizardIDs.add("org.eclipse.m2e.core.wizards.Maven2ProjectWizard");
- wizardIDs.add(JBossCentralActivator.NEW_PROJECT_EXAMPLES_WIZARD_ID);
+ List<String> wizardIDs = JBossCentralActivator.getDefault().getConfigurator().getWizardIds();
List<String> createdIDs = new ArrayList<String>();
for (IExtension extension : extensions) {
Modified: trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/JBossCentralEditor.java
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/JBossCentralEditor.java 2011-11-24 22:22:40 UTC (rev 36634)
+++ trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/JBossCentralEditor.java 2011-11-24 22:22:55 UTC (rev 36635)
@@ -121,13 +121,16 @@
}
setPageImage(index, gettingStartedImage);
- softwarePage = new SoftwarePage(this);
- index = addPage(softwarePage);
- if (softwareImage == null) {
- softwareImage = JBossCentralActivator.getImageDescriptor("/icons/software.png").createImage();
+ if (JBossCentralActivator.getDefault().getConfigurator()
+ .getJBossDiscoveryDirectory() != null) {
+ softwarePage = new SoftwarePage(this);
+ index = addPage(softwarePage);
+ if (softwareImage == null) {
+ softwareImage = JBossCentralActivator.getImageDescriptor(
+ "/icons/software.png").createImage();
+ }
+ setPageImage(index, softwareImage);
}
- setPageImage(index, softwareImage);
-
} catch (PartInitException e) {
JBossCentralActivator.log(e, "Error adding page");
}
@@ -151,22 +154,6 @@
headerComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
headerComposite.setLayout(new GridLayout(2, false));
headerComposite.setBackground(null);
-
-// Button showOnStartup = getToolkit().createButton(headerComposite, "Show on Startup", SWT.CHECK);
-// showOnStartup.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false));
-// showOnStartup.setBackground(null);
-// showOnStartup.setSelection(JBossCentralActivator.getDefault().showJBossCentralOnStartup());
-// showOnStartup.addSelectionListener(new SelectionAdapter() {
-//
-// @Override
-// public void widgetSelected(SelectionEvent e) {
-// IEclipsePreferences preferences = JBossCentralActivator.getDefault().getPreferences();
-// boolean showOnStartup = preferences.getBoolean(JBossCentralActivator.SHOW_JBOSS_CENTRAL_ON_STARTUP, JBossCentralActivator.SHOW_JBOSS_CENTRAL_ON_STARTUP_DEFAULT_VALUE);
-// preferences.putBoolean(JBossCentralActivator.SHOW_JBOSS_CENTRAL_ON_STARTUP, !showOnStartup);
-// JBossCentralActivator.getDefault().savePreferences();
-// }
-//
-// });
Composite searchComposite = getToolkit().createComposite(headerComposite);
GridData gd = new GridData(SWT.BEGINNING, SWT.FILL, true, true);
@@ -282,15 +269,13 @@
//form.getForm().setToolBarVerticalAlignment(SWT.BOTTOM);
IToolBarManager toolbar = form.getToolBarManager();
- CommandContributionItem item = JBossCentralActivator.createContributionItem(getSite(), "org.jboss.tools.central.openJBossToolsHome");
- toolbar.add(item);
+ String[] commandIds = JBossCentralActivator.getDefault().getConfigurator().getMainToolbarCommandIds();
+ for (String commandId:commandIds) {
+ CommandContributionItem item = JBossCentralActivator.createContributionItem(getSite(), commandId);
+ toolbar.add(item);
+ }
- item = JBossCentralActivator.createContributionItem(getSite(), "org.jboss.tools.central.favoriteAtEclipseMarketplace");
- toolbar.add(item);
- item = JBossCentralActivator.createContributionItem(getSite(), "org.jboss.tools.central.preferences");
- toolbar.add(item);
-
//item = JBossCentralActivator.createContributionItem(getSite(), "org.jboss.tools.central.openJBossToolsTwitter");
//toolbar.add(item);
@@ -298,10 +283,7 @@
}
private Image getHeaderImage() {
- if (headerImage == null) {
- headerImage = JBossCentralActivator.getImageDescriptor("/icons/jboss.gif").createImage();
- }
- return headerImage;
+ return JBossCentralActivator.getDefault().getConfigurator().getHeaderImage();
}
public AbstractJBossCentralPage getGettingStartedPage() {
Modified: trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/SoftwarePage.java
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/SoftwarePage.java 2011-11-24 22:22:40 UTC (rev 36634)
+++ trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/SoftwarePage.java 2011-11-24 22:22:55 UTC (rev 36635)
@@ -128,7 +128,7 @@
discoveryViewer = new DiscoveryViewer(getSite(), this);
discoveryViewer.setShowConnectorDescriptorKindFilter(false);
discoveryViewer.setShowInstalledFilterEnabled(true);
- discoveryViewer.setDirectoryUrl(JBossCentralActivator.getJBossDiscoveryDirectory());
+ discoveryViewer.setDirectoryUrl(JBossCentralActivator.getDefault().getJBossDiscoveryDirectory());
discoveryViewer.createControl(pageBook);
discoveryViewer.setEnvironment(getEnvironment());
discoveryViewer.addFilter(new ViewerFilter() {
Modified: trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/jobs/RefreshBlogsJob.java
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/jobs/RefreshBlogsJob.java 2011-11-24 22:22:40 UTC (rev 36634)
+++ trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/jobs/RefreshBlogsJob.java 2011-11-24 22:22:55 UTC (rev 36635)
@@ -26,7 +26,7 @@
public static RefreshBlogsJob INSTANCE = new RefreshBlogsJob();
private RefreshBlogsJob() {
- super("Refreshing JBoss Blogs...", JBossCentralActivator.BLOGS_URL);
+ super("Refreshing JBoss Blogs...", JBossCentralActivator.getDefault().getConfigurator().getBlogsUrl());
}
@Override
Modified: trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/jobs/RefreshNewsJob.java
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/jobs/RefreshNewsJob.java 2011-11-24 22:22:40 UTC (rev 36634)
+++ trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/jobs/RefreshNewsJob.java 2011-11-24 22:22:55 UTC (rev 36635)
@@ -27,7 +27,7 @@
private RefreshNewsJob() {
- super("Refreshing JBoss News...", JBossCentralActivator.NEWS_URL);
+ super("Refreshing JBoss News...", JBossCentralActivator.getDefault().getConfigurator().getNewsUrl());
}
@Override
13 years, 1 month
JBoss Tools SVN: r36634 - in trunk/central: plugins/org.jboss.tools.community.central and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2011-11-24 17:22:40 -0500 (Thu, 24 Nov 2011)
New Revision: 36634
Added:
trunk/central/features/org.jboss.tools.community.central.feature/.project
trunk/central/features/org.jboss.tools.community.central.feature/build.properties
trunk/central/features/org.jboss.tools.community.central.feature/feature.properties
trunk/central/features/org.jboss.tools.community.central.feature/feature.xml
trunk/central/features/org.jboss.tools.community.central.feature/license.html
trunk/central/features/org.jboss.tools.community.central.feature/pom.xml
trunk/central/plugins/org.jboss.tools.community.central/.project
trunk/central/plugins/org.jboss.tools.community.central/META-INF/
trunk/central/plugins/org.jboss.tools.community.central/META-INF/MANIFEST.MF
trunk/central/plugins/org.jboss.tools.community.central/about.html
trunk/central/plugins/org.jboss.tools.community.central/about.ini
trunk/central/plugins/org.jboss.tools.community.central/about.mappings
trunk/central/plugins/org.jboss.tools.community.central/about.properties
trunk/central/plugins/org.jboss.tools.community.central/build.properties
trunk/central/plugins/org.jboss.tools.community.central/icons/
trunk/central/plugins/org.jboss.tools.community.central/icons/jbossas7.png
trunk/central/plugins/org.jboss.tools.community.central/icons/seam16.png
trunk/central/plugins/org.jboss.tools.community.central/jboss_about.png
trunk/central/plugins/org.jboss.tools.community.central/plugin.properties
trunk/central/plugins/org.jboss.tools.community.central/plugin.xml
trunk/central/plugins/org.jboss.tools.community.central/pom.xml
Log:
JBIDE-10223 Create separate JBoss Central tutorials for JBDS and JBoss Tools
Added: trunk/central/features/org.jboss.tools.community.central.feature/.project
===================================================================
--- trunk/central/features/org.jboss.tools.community.central.feature/.project (rev 0)
+++ trunk/central/features/org.jboss.tools.community.central.feature/.project 2011-11-24 22:22:40 UTC (rev 36634)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.community.central.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/central/features/org.jboss.tools.community.central.feature/build.properties
===================================================================
--- trunk/central/features/org.jboss.tools.community.central.feature/build.properties (rev 0)
+++ trunk/central/features/org.jboss.tools.community.central.feature/build.properties 2011-11-24 22:22:40 UTC (rev 36634)
@@ -0,0 +1,3 @@
+bin.includes = feature.xml,\
+ license.html,\
+ feature.properties
Added: trunk/central/features/org.jboss.tools.community.central.feature/feature.properties
===================================================================
--- trunk/central/features/org.jboss.tools.community.central.feature/feature.properties (rev 0)
+++ trunk/central/features/org.jboss.tools.community.central.feature/feature.properties 2011-11-24 22:22:40 UTC (rev 36634)
@@ -0,0 +1,54 @@
+###############################################################################
+# Copyright (c) 2008-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.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=JBoss Central Community
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss by Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+# "description" property - description of the feature
+description=JBoss Central Community
+
+# "copyright" property - text of the "Feature Update Copyright"
+copyright=Copyright (c) 2008-2011 Red Hat, Inc. and others.\nAll rights reserved. This program and the accompanying materials\n
+are made available under the terms of the Eclipse Public License v1.0\n\
+which accompanies this distribution, and is available at\n\
+http\://www.eclipse.org/legal/epl-v10.html\n\
+\n\
+Contributors\:\n\
+JBoss by Red Hat - Initial implementation.\n
+ ############### end of copyright property ####################################
+
+# "licenseURL" property - URL of the "Feature License"
+# do not translate value - just change to point to a locale-specific HTML page
+licenseURL=license.html
+
+# START NON-TRANSLATABLE
+# "license" property - text of the "Feature Update License"
+# should be plain text version of license agreement pointed to be "licenseURL"
+license=Red Hat, Inc. licenses these features and plugins to you under \
+certain open source licenses (or aggregations of such licenses), which \
+in a particular case may include the Eclipse Public License, the GNU \
+Lesser General Public License, and/or certain other open source \
+licenses. For precise licensing details, consult the corresponding \
+source code, or contact Red Hat Legal Affairs, 1801 Varsity Drive, \
+Raleigh NC 27606 USA.
+# END NON-TRANSLATABLE
+########### end of license property ##########################################
Added: trunk/central/features/org.jboss.tools.community.central.feature/feature.xml
===================================================================
--- trunk/central/features/org.jboss.tools.community.central.feature/feature.xml (rev 0)
+++ trunk/central/features/org.jboss.tools.community.central.feature/feature.xml 2011-11-24 22:22:40 UTC (rev 36634)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.community.central.feature"
+ label="%featureName"
+ version="1.0.0.qualifier"
+ provider-name="%providerName"
+ plugin="org.jboss.tools.community.central">
+
+ <description>
+ %description
+ </description>
+
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license url="%licenseURL">
+ %license
+ </license>
+
+ <plugin
+ id="org.jboss.tools.community.central"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+</feature>
Added: trunk/central/features/org.jboss.tools.community.central.feature/license.html
===================================================================
--- trunk/central/features/org.jboss.tools.community.central.feature/license.html (rev 0)
+++ trunk/central/features/org.jboss.tools.community.central.feature/license.html 2011-11-24 22:22:40 UTC (rev 36634)
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<html>
+
+<body>
+<p>Red Hat, Inc. licenses these features and plugins to you under
+certain open source licenses (or aggregations of such licenses), which
+in a particular case may include the Eclipse Public License, the GNU
+Lesser General Public License, and/or certain other open source
+licenses. For precise licensing details, consult the corresponding
+source code, or contact Red Hat Legal Affairs, 1801 Varsity Drive,
+Raleigh NC 27606 USA.
+</p>
+</body>
+</html>
\ No newline at end of file
Added: trunk/central/features/org.jboss.tools.community.central.feature/pom.xml
===================================================================
--- trunk/central/features/org.jboss.tools.community.central.feature/pom.xml (rev 0)
+++ trunk/central/features/org.jboss.tools.community.central.feature/pom.xml 2011-11-24 22:22:40 UTC (rev 36634)
@@ -0,0 +1,14 @@
+<?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">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.jboss.tools.central</groupId>
+ <artifactId>features</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools.central.features</groupId>
+ <artifactId>org.jboss.tools.community.central.feature</artifactId>
+
+ <packaging>eclipse-feature</packaging>
+</project>
\ No newline at end of file
Added: trunk/central/plugins/org.jboss.tools.community.central/.project
===================================================================
--- trunk/central/plugins/org.jboss.tools.community.central/.project (rev 0)
+++ trunk/central/plugins/org.jboss.tools.community.central/.project 2011-11-24 22:22:40 UTC (rev 36634)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.community.central</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/central/plugins/org.jboss.tools.community.central/META-INF/MANIFEST.MF
===================================================================
--- trunk/central/plugins/org.jboss.tools.community.central/META-INF/MANIFEST.MF (rev 0)
+++ trunk/central/plugins/org.jboss.tools.community.central/META-INF/MANIFEST.MF 2011-11-24 22:22:40 UTC (rev 36634)
@@ -0,0 +1,8 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %BundleName
+Bundle-SymbolicName: org.jboss.tools.community.central;singleton:=true
+Bundle-Version: 1.0.0.qualifier
+Bundle-Vendor: %BundleVendor
+Bundle-Localization: plugin
+Require-Bundle: org.jboss.tools.central;bundle-version="1.0.0"
Added: trunk/central/plugins/org.jboss.tools.community.central/about.html
===================================================================
--- trunk/central/plugins/org.jboss.tools.community.central/about.html (rev 0)
+++ trunk/central/plugins/org.jboss.tools.community.central/about.html 2011-11-24 22:22:40 UTC (rev 36634)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+<title>JBoss Central Community</title>
+<style type="text/css" media="screen">
+<!--
+ body {
+ font-family: Sans-serif, Arial, Helvetica;
+ }
+
+-->
+</style>
+</head>
+<body>
+<h1>JBoss Central Community</h1>
+
+<p>
+This plugin is part of the JBoss Tools developed by the <a href="http://www.jboss.com">JBoss Inc.</a>
+</p>
+
+<p>Information about this plugin is available at <a href="http://www.jboss.org/tools">JBoss Tools project page</a></p>
+
+<p>
+This software is distributed under the terms of the Eclipse Public License - v 1.0
+(see <a href="www.eclipse.org/legal/epl-v10.html">Eclipse Public License - Version 1.0</a>).
+</p>
+</body>
+</html>
\ No newline at end of file
Added: trunk/central/plugins/org.jboss.tools.community.central/about.ini
===================================================================
--- trunk/central/plugins/org.jboss.tools.community.central/about.ini (rev 0)
+++ trunk/central/plugins/org.jboss.tools.community.central/about.ini 2011-11-24 22:22:40 UTC (rev 36634)
@@ -0,0 +1,27 @@
+# about.ini
+# contains information about a feature
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# "%key" are externalized strings defined in about.properties
+# This file does not need to be translated.
+# test
+# Property "aboutText" contains blurb for "About" dialog (translated)
+aboutText=%blurb
+
+# Property "windowImage" contains path to window icon (16x16)
+# needed for primary features only
+
+# Property "featureImage" contains path to feature image (32x32)
+featureImage=jboss_about.png
+
+# Property "aboutImage" contains path to product image (500x330 or 115x164)
+# needed for primary features only
+
+# Property "appName" contains name of the application (not translated)
+# needed for primary features only
+
+# Property "welcomePerspective" contains the id of the perspective in which the
+# welcome page is to be opened.
+# optional
+
+
+
Added: trunk/central/plugins/org.jboss.tools.community.central/about.mappings
===================================================================
--- trunk/central/plugins/org.jboss.tools.community.central/about.mappings (rev 0)
+++ trunk/central/plugins/org.jboss.tools.community.central/about.mappings 2011-11-24 22:22:40 UTC (rev 36634)
@@ -0,0 +1,5 @@
+# about.mappings
+# contains fill-ins for about.properties
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file does not need to be translated.
+
Added: trunk/central/plugins/org.jboss.tools.community.central/about.properties
===================================================================
--- trunk/central/plugins/org.jboss.tools.community.central/about.properties (rev 0)
+++ trunk/central/plugins/org.jboss.tools.community.central/about.properties 2011-11-24 22:22:40 UTC (rev 36634)
@@ -0,0 +1,2 @@
+blurb=JBoss Central Community \n\nVersion\: {featureVersion}\n\n(c) Copyright (c) Red Hat, Inc., contributors and others 2004 - 2010. All rights reserved.\nVisit http\://jboss.org/tools
+
Added: trunk/central/plugins/org.jboss.tools.community.central/build.properties
===================================================================
--- trunk/central/plugins/org.jboss.tools.community.central/build.properties (rev 0)
+++ trunk/central/plugins/org.jboss.tools.community.central/build.properties 2011-11-24 22:22:40 UTC (rev 36634)
@@ -0,0 +1,9 @@
+bin.includes = META-INF/,\
+ about.html,\
+ about.ini,\
+ about.mappings,\
+ about.properties,\
+ plugin.properties,\
+ jboss_about.png,\
+ plugin.xml,\
+ icons/
Added: trunk/central/plugins/org.jboss.tools.community.central/icons/jbossas7.png
===================================================================
(Binary files differ)
Property changes on: trunk/central/plugins/org.jboss.tools.community.central/icons/jbossas7.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/central/plugins/org.jboss.tools.community.central/icons/seam16.png
===================================================================
(Binary files differ)
Property changes on: trunk/central/plugins/org.jboss.tools.community.central/icons/seam16.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/central/plugins/org.jboss.tools.community.central/jboss_about.png
===================================================================
(Binary files differ)
Property changes on: trunk/central/plugins/org.jboss.tools.community.central/jboss_about.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/central/plugins/org.jboss.tools.community.central/plugin.properties
===================================================================
--- trunk/central/plugins/org.jboss.tools.community.central/plugin.properties (rev 0)
+++ trunk/central/plugins/org.jboss.tools.community.central/plugin.properties 2011-11-24 22:22:40 UTC (rev 36634)
@@ -0,0 +1,2 @@
+BundleVendor = JBoss by Red Hat
+BundleName = JBoss Central Community
\ No newline at end of file
Added: trunk/central/plugins/org.jboss.tools.community.central/plugin.xml
===================================================================
--- trunk/central/plugins/org.jboss.tools.community.central/plugin.xml (rev 0)
+++ trunk/central/plugins/org.jboss.tools.community.central/plugin.xml 2011-11-24 22:22:40 UTC (rev 36634)
@@ -0,0 +1,144 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.jboss.tools.central.tutorials">
+ <category
+ id="org.jboss.tools.central.javaee6.quickstart"
+ name="Java EE 6 Template Projects"
+ priority="1" />
+ <category
+ id="org.jboss.tools.central.jbossas.quickstart"
+ name="JBoss AS 7 Quickstarts"
+ description="These quickstarts are aimed to get you up to writing applications with minimal fuss. We recommend that you work through the quickstarts in the order they are presented in this guide, however if you have previous experience with Java EE 6, you may wish to skip some or all of the quickstarts."
+ priority="2" />
+ <!--
+ <category
+ id="org.jboss.tools.central.seam2"
+ name="Seam 2 Tutorials"
+ description="These tutorials are intended to help you develop Seam 2 applications."
+ priority="5" />
+ -->
+ <tutorial
+ id="org.jboss.tools.central.jbossas.quickstart.helloworld"
+ categoryId="org.jboss.tools.central.jbossas.quickstart"
+ name="Helloworld quickstart"
+ type="projectExample"
+ priority="1"
+ icon="icons/jbossas7.png"
+ reference="JBoss AS 7 Quickstarts::helloworld"/>
+ <tutorial
+ id="org.jboss.tools.central.jbossas.quickstart.numberguess"
+ categoryId="org.jboss.tools.central.jbossas.quickstart"
+ name="Numberguess quickstart"
+ type="projectExample"
+ priority="2"
+ icon="icons/jbossas7.png"
+ reference="JBoss AS 7 Quickstarts::numberguess"/>
+
+ <tutorial
+ id="org.jboss.tools.central.jbossas.quickstart.login"
+ categoryId="org.jboss.tools.central.jbossas.quickstart"
+ name="Login quickstart"
+ type="projectExample"
+ priority="3"
+ icon="icons/jbossas7.png"
+ reference="JBoss AS 7 Quickstarts::login"/>
+
+ <tutorial
+ id="org.jboss.tools.central.jbossas.quickstart.kitchensink"
+ categoryId="org.jboss.tools.central.jbossas.quickstart"
+ name="Kitchensink quickstart"
+ type="projectExample"
+ priority="4"
+ icon="icons/jbossas7.png"
+ reference="JBoss AS 7 Quickstarts::kitchensink"/>
+
+ <tutorial
+ id="org.jboss.tools.central.jbossas.quickstart.jbossJavaee6Webapp"
+ categoryId="org.jboss.tools.central.javaee6.quickstart"
+ name="Java EE 6 WAR"
+ type="projectExample"
+ priority="1"
+ icon="icons/jbossas7.png"
+ reference="Java EE 6 Quickstarts::jboss-javaee6-webapp"/>
+
+ <tutorial
+ id="org.jboss.tools.central.jbossas.quickstart.jbossJavaee6Ear"
+ categoryId="org.jboss.tools.central.javaee6.quickstart"
+ name="Java EE 6 EAR"
+ type="projectExample"
+ priority="2"
+ icon="icons/jbossas7.png"
+ reference="Java EE 6 Quickstarts::multi-javaee6-archetype"/>
+
+ <tutorial
+ id="org.jboss.tools.central.jbossas.quickstart.jbossJavaee6Poh5"
+ categoryId="org.jboss.tools.central.javaee6.quickstart"
+ name="HTML5 Project"
+ type="projectExample"
+ priority="3"
+ icon="icons/jbossas7.png"
+ reference="Java EE 6 Quickstarts::jboss-javaee6-poh5-archetype"/>
+
+ <tutorial
+ id="org.jboss.tools.central.jbossas.quickstart.jbossJavaee6SpringMvc"
+ categoryId="org.jboss.tools.central.javaee6.quickstart"
+ name="Spring MVC"
+ type="projectExample"
+ priority="4"
+ icon="icons/jbossas7.png"
+ reference="Java EE 6 Quickstarts::spring-mvc-webapp"/>
+
+ <tutorial
+ id="org.jboss.tools.central.jbossas.quickstart.jbossJavaee6Richfaces"
+ categoryId="org.jboss.tools.central.javaee6.quickstart"
+ name="Richfaces Project"
+ type="projectExample"
+ priority="5"
+ icon="icons/jbossas7.png"
+ reference="Java EE 6 Quickstarts::richfaces-archetype-simpleapp"/>
+ <!--
+ <tutorial
+ id="org.jboss.tools.central.Seam.registration2"
+ categoryId="org.jboss.tools.central.seam2"
+ name="Registration Example"
+ type="projectExample"
+ priority="1"
+ icon="icons/seam16.png"
+ reference="Seam::registration2"/>
+ <tutorial
+ id="org.jboss.tools.central.Seam.messages"
+ categoryId="org.jboss.tools.central.seam2"
+ name="Message Example"
+ type="projectExample"
+ priority="2"
+ icon="icons/seam16.png"
+ reference="Seam::messages"/>
+ <tutorial
+ id="org.jboss.tools.central.Seam.todo"
+ categoryId="org.jboss.tools.central.seam2"
+ name="Todo Example"
+ type="projectExample"
+ priority="3"
+ icon="icons/seam16.png"
+ reference="Seam::todo"/>
+ <tutorial
+ id="org.jboss.tools.central.Seam.numberguess"
+ categoryId="org.jboss.tools.central.seam2"
+ name="Numberguess Example"
+ type="projectExample"
+ priority="4"
+ icon="icons/seam16.png"
+ reference="Seam::numberguess"/>
+ <tutorial
+ id="org.jboss.tools.central.Seam.booking22"
+ categoryId="org.jboss.tools.central.seam2"
+ name="Boooking Example"
+ type="projectExample"
+ priority="5"
+ icon="icons/seam16.png"
+ reference="Seam::booking22"/>
+ -->
+ </extension>
+</plugin>
Added: trunk/central/plugins/org.jboss.tools.community.central/pom.xml
===================================================================
--- trunk/central/plugins/org.jboss.tools.community.central/pom.xml (rev 0)
+++ trunk/central/plugins/org.jboss.tools.community.central/pom.xml 2011-11-24 22:22:40 UTC (rev 36634)
@@ -0,0 +1,14 @@
+<?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">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.jboss.tools.central</groupId>
+ <artifactId>plugins</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools.central.plugins</groupId>
+ <artifactId>org.jboss.tools.community.central</artifactId>
+
+ <packaging>eclipse-plugin</packaging>
+</project>
\ No newline at end of file
13 years, 1 month
JBoss Tools SVN: r36633 - trunk/central/features.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2011-11-24 17:20:44 -0500 (Thu, 24 Nov 2011)
New Revision: 36633
Added:
trunk/central/features/org.jboss.tools.community.central.feature/
Log:
Initial import.
13 years, 1 month
JBoss Tools SVN: r36632 - trunk/central/plugins.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2011-11-24 17:17:42 -0500 (Thu, 24 Nov 2011)
New Revision: 36632
Added:
trunk/central/plugins/org.jboss.tools.community.central/
Log:
Initial import.
13 years, 1 month