[jbosstools-issues] [JBoss JIRA] (JBIDE-8838) add source feature to JBT components; generate source plugins w/ Tycho

Nick Boldt (Issue Comment Edited) (JIRA) jira-events at lists.jboss.org
Thu Dec 1 10:27:41 EST 2011


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

Nick Boldt edited comment on JBIDE-8838 at 12/1/11 10:27 AM:
-------------------------------------------------------------

*{color:red}UPDATED: now using .source.feature and .test.source.feature instead of .sdk.feature{color}*

*A. CLEANUP (PDE cruft):*

1. remove any rootfiles or sourceTemplatePlugin or sourceTemplateFeature folders within a feature folder
2. remove any generate.feature or generate.plugin entries from build.properties files

*B. CONTAINMENT (feature in maven reactor for building and site for publishing):*

3. add .source.feature and .test.source.feature to features/pom.xml
4. add .source.feature and .test.source.feature to site/site.xml

*C. OUTPUT (define source feature contents):*

5. ensure component plugins have build.properties which state BOTH bin.includes and src.includes directives.

{code}
bin.includes = about.*,\
               plugin.*,\
               schema/,\
               META-INF/,\
               .,\
               icons/,\
               jboss_about.png
output.. = bin/
source.. = src/
src.includes = *
src.excludes = src
{code}

*D. CONTAINMENT (source feature contains source plugins):*

6. add component.core.source, component.ui.source, etc. to source.feature/feature.xml (<plugin>)

{code}
   <plugin id="org.jboss.tools.jmx.core.source" download-size="0" install-size="0" version="0.0.0" unpack="false"/>
   <plugin id="org.jboss.tools.jmx.ui.source" download-size="0" install-size="0" version="0.0.0" unpack="false"/>
{code}

7. add component.core.test.source, component.ui.test.source, etc. to test.source.feature/feature.xml (<plugin>)
{code}
   <plugin id="org.jboss.tools.jmx.core.test.source" download-size="0" install-size="0" version="0.0.0" unpack="false"/>
   <plugin id="org.jboss.tools.jmx.ui.test.source" download-size="0" install-size="0" version="0.0.0" unpack="false"/>
{code}

*E. AGGREGATION (JBT and JBDS update sites):*

8. add new source.feature to 1 or more NEW JBT source sites (JBT Core, SOA Tooling): jbt/build/aggregate/**/sources/site.xml
9. add new source.feature to 1 or more NEW JBDS source sites (Core, Extras, SOA Tooling): jbds/**/site.xml
10. add new test.source.features to NEW Test sources site: jbt/build/aggregate/bottests-site/site/sources/site.xml

*F. COMPOSITING (JBT and JBDS update sites):*

11. composite binary and source sites together for JBT (Core, SOA, Tests) and JBDS (Core)


                
      was (Author: nickboldt):
    *{color:red}UPDATED: now using .source.feature and .test.source.feature instead of .sdk.feature{color}*

*A. CLEANUP (PDE cruft):*

1. remove any rootfiles or sourceTemplatePlugin or sourceTemplateFeature folders within a feature folder
2. remove any generate.feature or generate.plugin entries from build.properties files

*B. CONTAINMENT (feature in maven reactor for building and site for publishing):*

3. add .source.feature and .test.source.feature to features/pom.xml
4. add .source.feature and .test.source.feature to site/site.xml

*C. OUTPUT (define source feature contents):*

5. ensure component plugins have build.properties which state BOTH bin.includes and src.includes directives.

{code}
bin.includes = about.*,\
               plugin.*,\
               schema/,\
               META-INF/,\
               .,\
               icons/,\
               jboss_about.png
output.. = bin/
source.. = src/
src.includes = *
src.excludes = src
{code}

*D. CONTAINMENT (source feature contains source plugins):*

6. add component.core.source, component.ui.source, etc. to source.feature/feature.xml (<plugin>)

{code}
   <plugin id="org.jboss.tools.jmx.core.source" download-size="0" install-size="0" version="0.0.0" unpack="false"/>
   <plugin id="org.jboss.tools.jmx.ui.source" download-size="0" install-size="0" version="0.0.0" unpack="false"/>
{code}

7. add component.core.test.source, component.ui.test.source, etc. to test.source.feature/feature.xml (<plugin>)
{code}
   <plugin id="org.jboss.tools.jmx.core.test.source" download-size="0" install-size="0" version="0.0.0" unpack="false"/>
   <plugin id="org.jboss.tools.jmx.ui.test.source" download-size="0" install-size="0" version="0.0.0" unpack="false"/>
{code}

*E. AGGREGATION (JBT and JBDS update sites):*

8. add new source.feature to 1 or more JBT sites (JBT Core, SOA Tooling): jbt/build/aggregate/**/site.xml
9. add new source.feature to 1 or more JBDS sites (Core, Extras, SOA Tooling): jbds/**/site.xml

?. add new test.source.feature to Bot Tests site: jbt/build/aggregate/bottests-site/site/site.xml

                  
> add source feature to JBT components; generate source plugins w/ Tycho
> ----------------------------------------------------------------------
>
>                 Key: JBIDE-8838
>                 URL: https://issues.jboss.org/browse/JBIDE-8838
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Build/Releng
>    Affects Versions: 3.3.0.M2
>            Reporter: Nick Boldt
>            Assignee: Nick Boldt
>            Priority: Critical
>             Fix For: 3.3.0.M5
>
>
> As per example done in https://bugs.eclipse.org/bugs/show_bug.cgi?id=344515 and http://wiki.eclipse.org/Minerva#Source, the rest of JBT needs source features/plugins.

--
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