[jbosstools-issues] [JBoss JIRA] (JBIDE-11299) Central should install Project Examples otherwise the Project Examples area on Getting Started tab says "No Entries Found" instead of showing JBoss Quickstarts

Nick Boldt (JIRA) jira-events at lists.jboss.org
Wed May 2 13:35:18 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-11299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12689731#comment-12689731 ] 

Nick Boldt edited comment on JBIDE-11299 at 5/2/12 1:33 PM:
------------------------------------------------------------

Guys, this is solved.

=== JBoss Tools ===

Here's what's in the JBT Central Community Feature:

{code:title=central/features/org.jboss.tools.community.central.feature/feature.xml}
   <requires>
      <import feature="org.jboss.tools.central.feature" version="1.0.0.qualifier" match="greaterOrEqual"/>
      <!-- JBIDE-11299 - include Examples features when installing Central -->
      <import feature="org.jboss.tools.project.examples.feature" version="1.2.1.qualifier" match="greaterOrEqual"/>
      <import feature="org.jboss.tools.community.project.examples.feature" version="1.2.1.qualifier" match="greaterOrEqual"/>
      <import feature="org.jboss.tools.maven.project.examples.feature" version="1.3.0.qualifier" match="greaterOrEqual"/>
      <!-- JBIDE-10803 - include AS, Seam, Runtime features when installing Central -->
      <import feature="org.jboss.ide.eclipse.as.feature" version="2.3.0.qualifier" match="greaterOrEqual"/>
      <import feature="org.jboss.tools.seam.feature" version="3.3.0.qualifier" match="greaterOrEqual"/>
      <import feature="org.jboss.tools.runtime.core.feature" version="1.3.0.qualifier" match="greaterOrEqual"/>
      <import feature="org.jboss.tools.runtime.as.detector.feature" version="1.3.0.qualifier" match="greaterOrEqual"/>
      <import feature="org.jboss.tools.runtime.seam.detector.feature" version="1.3.0.qualifier" match="greaterOrEqual"/>
   </requires>

   <plugin id="org.jboss.tools.community.central" download-size="0" install-size="0" version="0.0.0"/>
{code}

And since we only expose the JBT Central Community feature on the JBT Aggregate Site, there's a single feature to install which brings in Central and its deps:

{code:title=build/aggregate/site/site.xml}
        <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" />
                <category name="GeneralTools" />
        </feature>
        <feature url="features/org.jboss.tools.central.feature_0.0.0.jar" id="org.jboss.tools.central.feature" version="0.0.0">
        </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>
{code}

=== JBDS ===

In JBDS, Central is pre-installed. So, no need to pick a feature or worry about hiding features on the update site. Here's the hierarchy in JBDS - main product feature includes the JBT Central feature (not the Community one) and the JBDS Central feature:

{code:label=product/features/com.jboss.jbds.product.feature/feature.xml}
        <includes id="org.jboss.tools.project.examples.feature" version="0.0.0" />
        <includes id="org.jboss.tools.central.feature" version="0.0.0" />
        <plugin id="com.jboss.jbds.project.examples" download-size="0" install-size="0" version="0.0.0" />
        <plugin id="com.jboss.jbds.central" download-size="0" install-size="0" version="0.0.0" unpack="false" />
{code}

                
      was (Author: nickboldt):
    Guys, this is solved.

=== JBoss Tools ===

Here's what's in the JBT Central Community Feature:

{code:title=central/features/org.jboss.tools.community.central.feature/feature.xml}
   <requires>
      <import feature="org.jboss.tools.central.feature" version="1.0.0.qualifier" match="greaterOrEqual"/>
      <!-- JBIDE-11299 - include Examples features when installing Central -->
      <import feature="org.jboss.tools.project.examples.feature" version="1.2.1.qualifier" match="greaterOrEqual"/>
      <import feature="org.jboss.tools.community.project.examples.feature" version="1.2.1.qualifier" match="greaterOrEqual"/>
      <import feature="org.jboss.tools.maven.project.examples.feature" version="1.3.0.qualifier" match="greaterOrEqual"/>
      <!-- JBIDE-10803 - include AS, Seam, Runtime features when installing Central -->
      <import feature="org.jboss.ide.eclipse.as.feature" version="2.3.0.qualifier" match="greaterOrEqual"/>
      <import feature="org.jboss.tools.seam.feature" version="3.3.0.qualifier" match="greaterOrEqual"/>
      <import feature="org.jboss.tools.runtime.core.feature" version="1.3.0.qualifier" match="greaterOrEqual"/>
      <import feature="org.jboss.tools.runtime.as.detector.feature" version="1.3.0.qualifier" match="greaterOrEqual"/>
      <import feature="org.jboss.tools.runtime.seam.detector.feature" version="1.3.0.qualifier" match="greaterOrEqual"/>
   </requires>

   <plugin id="org.jboss.tools.community.central" download-size="0" install-size="0" version="0.0.0"/>
{code}

And since we only expose the JBT Central Community feature on the JBT Aggregate Site, there's a single feature to install which brings in Central and its deps:

{code:title=build/aggregate/site/site.xml}
        <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" />
                <category name="GeneralTools" />
        </feature>
        <feature url="features/org.jboss.tools.central.feature_0.0.0.jar" id="org.jboss.tools.central.feature" version="0.0.0">
        </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>
{code}

=== JBDS ===

In JBDS, Central is pre-installed. So, no need to pick a feature or worry about hiding features on the update site. Here's the hierarchy in JBDS - main product feature includes the JBT Central feature (not the Community one) and the JBDS Central feature:

{code:label=product/features/com.jboss.jbds.product.feature/feature.xml}
        <includes id="org.jboss.tools.central.feature" version="0.0.0" />
        <plugin id="com.jboss.jbds.central" download-size="0" install-size="0" version="0.0.0" unpack="false" />
{code}

                  
> Central should install Project Examples otherwise the Project Examples area on Getting Started tab says "No Entries Found" instead of showing JBoss Quickstarts
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-11299
>                 URL: https://issues.jboss.org/browse/JBIDE-11299
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: central
>    Affects Versions: 3.3.0.Beta1
>            Reporter: Nick Boldt
>            Assignee: Snjezana Peco
>             Fix For: 3.3.0.Beta3
>
>         Attachments: eclipse372platform+JBTAbridged=ProjectExamplesFound.png, IndigoSR1-JEE+Central+all-of-central=noProjectExamplesFound.png, JBIDE11299.after.patch.png, JBIDE11299.patch2.txt
>
>
> Steps to repro:
> 1. unpack eclipse-platform-3.7.2-linux-gtk-x86_64.tar.gz
> 2. install JBoss Tools 3.3.0.Beta1 (whole Abridged category) from http://download.jboss.org/jbosstools/updates/development/indigo/
> 3. restart when prompted, and look at Central:
> !eclipse372platform+JBTAbridged=ProjectExamplesFound.png!
> Now, try again but only install Central feature (to save time, use JEE bundle):
> 1. unpack eclipse-jee-indigo-SR1-linux-gtk-x86_64.tar.gz
> 2. install ONLY JBoss Central 3.3.0.Beta1 from http://download.jboss.org/jbosstools/updates/development/indigo/
> 3. restart when prompted, and look at Central:
> !IndigoSR1-JEE+Central+all-of-central=noProjectExamplesFound.png!
> 4. If I then install these three features, the Quickstarts appear:
> {code}
> org.jboss.tools.project.examples.feature_1.2.1.v20120305-1726-H75-Beta1
> org.jboss.tools.community.project.examples.feature_1.2.1.v20120305-1726-H75-Beta1
> org.jboss.tools.maven.project.examples.feature_1.3.0.v20120307-0425-H80-Beta1
> {code}
> So... does this mean the central feature should include & depend on these three features?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list