[
https://issues.jboss.org/browse/JBIDE-6368?page=com.atlassian.jira.plugin...
]
Denis Golovin commented on JBIDE-6368:
--------------------------------------
using p2.inf I guess we can create any hierarchy in update site see as example p2.inf for
product build. I haven't tried that yet but here is an example of category I defined
for JBDS Product root feature
units.1.id=com.jboss.jbds.all.category
units.1.version=$version$
units.1.provides.1.namespace=org.eclipse.equinox.p2.iu
units.1.provides.1.name=com.jboss.jbds.all.category
units.1.provides.1.version=$version$
units.1.properties.1.name=org.eclipse.equinox.p2.type.category
units.1.properties.1.value=true
units.1.properties.2.name=org.eclipse.equinox.p2.name
units.1.properties.2.value=JBoss Developer Studio 4
units.1.requires.1.namespace=org.eclipse.equinox.p2.iu
units.1.requires.1.name=com.jboss.jbds.all
units.1.requires.1.range=[$version$,$version$]
units.1.requires.1.greedy=true
It is just a awkward way to define xml structure. I guess if you can look at content.xml
for attached example we can figure out how to define hierarchy of categories
Should nest categories in update site
-------------------------------------
Key: JBIDE-6368
URL:
https://issues.jboss.org/browse/JBIDE-6368
Project: Tools (JBoss Tools)
Issue Type: Task
Components: updatesite
Affects Versions: 3.2.x
Reporter: John Verhaeg
Assignee: Max Andersen
Priority: Blocker
Fix For: 3.2.0.CR1
Attachments: nested-categories-p2-update-site.png
As discussed somewhat in JBIDE-4859, it seems like we should nest our categories in our
update site. So, instead of having lots of sibling categories for the various tools in
JBT alongside a sibling "All JBoss Tools" category, the latter should be
promoted to a parent category for the others (dropping the "All" prefix). For
example:
- JBoss Tools
- SOA Development
- JBoss ESB Tools
- Drools Core
...
- Data Services
- Hibernate
- ModeShape
- Smooks
- Teiid Data Tools Connectivity
- Teiid Designer Design-Time
- Teiid Designer Runtime
BTW, IMO having features in multiple categories blows. I don't like seeing this with
other Eclipse projects either. Just my 2 cents.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira