[
https://issues.jboss.org/browse/JBIDE-10658?page=com.atlassian.jira.plugi...
]
Snjezana Peco resolved JBIDE-10658.
-----------------------------------
Resolution: Done
I have fixed this issue in the following way:
- the Project Examples engine recognizes a new tag - "priority" that enables
project examples to be sorted within a category
- there is a new ext. point - org.jboss.tools.project.examples.categories
It enables adding the category.xml file that is searched when creating a tutorials list
There are three such extension points in JBT/JBDS
- the o.j.t.project.examples plugin defines the
http://download.jboss.org/jbosstools/examples/project-examples-category-3... URL that
is common for JBT/JBDS
- the o.j.t.comunity.project.examples plugin defines the
http://download.jboss.org/jbosstools/examples/project-examples-category-j...
URL used only for JBoss Tools
- the com.jboss.jbds.project.examples plugin defines the
http://download.jboss.org/jbosstools/examples/project-examples-category-j... URL
that is used for JBDS only
Currently, only two categories that are used in both JBT and JBDS, are defined in the
http://download.jboss.org/jbosstools/examples/project-examples-category-3... URL
The following is an example of the definition:
<?xml version="1.0" encoding="UTF-8"?>
<categories>
<category name="JBoss 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="1" />
<category name="Java EE 6 Quickstarts"
priority="2" />
</categories>
The name attribute must be the same as the category element in the project example file.
Description and priority can be defined.
!jbide10658.png!
find place where description for category should live
-----------------------------------------------------
Key: JBIDE-10658
URL:
https://issues.jboss.org/browse/JBIDE-10658
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: project-examples
Reporter: Max Rydahl Andersen
Assignee: Snjezana Peco
Fix For: 3.3.0.Beta1
Suggestion is that we add a category.xml that allows you to define category description
to be used.
category.xm will basically work like a 'forced overwrite' of what is in the
project examples.xml
if a category is found that does not exist in category.xml it still shows up.
if a category is found that does exist in category.xml it shows up with info from
category.xml no matter what project example otherwise state.
--
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