[
https://issues.jboss.org/browse/JBIDE-11727?page=com.atlassian.jira.plugi...
]
Snjezana Peco resolved JBIDE-11727.
-----------------------------------
Fix Version/s: (was: 3.3.x)
Resolution: Done
I have added the following features:
1) The Project Examples can import maven projects placed in the file system. The projects
don't have to be packed into a zip archive
2) The Project Example sites created within a JBoss server can be automatically imported.
They have to be defined in
<JBOSS_HOME>/<some_directory>/.project_example.xml
Importing server sites is defined with the "Show Server Sites" property located
in Window>Preferences>JBoss Tools>Project Example
!jbide-11727b.png!
as well as on the first page of the Project Examples wizard.
!jbide-11727a.png!
If this property is checked, the server's project examples behave as other project
examples. If you include the central tag, they will be shown in JBoss Central.
If the property is unchecked, the server's project examples are ignored.
3) all the project examples are defined at
https://github.com/jbossas/quickstart. There
are 49 project examples in the master branch. Pull request:
https://github.com/jbossas/quickstart/pull/278.
These features can be tested as follows:
- download
https://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/quickstarts/q...
- unpack quickstart.zip into a JBoss AS Server so that .project_example.xml is in
<JBOSS_HOME>/quickstart/.project_example.xml.
- start JBT and add the JBoss AS server that contains the mentioned quickstart directory
- select Window>Preferences>JBoss Tools>Project Example and check the "Show
Server Sites" property
- call the Project Examples wizard
As a result, you will get 49 project examples within the JBoss AS 7.1.1 Quickstarts
category (the <Runtime_name> Project Examples site).
The archive includes all the quickstarts from
https://github.com/jbossas/quickstart, tag
7.1.1.CR2
explore providing an .project_example.xml file in root of quickstarts
distributions for easy loading/detection in jboss tools
-----------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-11727
URL:
https://issues.jboss.org/browse/JBIDE-11727
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: project-examples, runtime detection
Reporter: Max Rydahl Andersen
Assignee: Snjezana Peco
Fix For: 3.3.0.CR1
in JBIDE-10652 and other situations we have discussed being able to detect that an
installation/directory has quickstarts present and have those detected and configured in
JBoss Tools as possible examples to use.
Need to see if project examples mechanism handle this (i.e. in a distribution the
examples would be unzipped/exploded, but when hosted online it would be a zip...can we
align this or would it be better with two descriptors?)
--
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