Hi Snjezana,
Thanks for the writeup - cc'ed jbosstools mailing list so Rob et.al. can comment.
Hello Max,
The Runtime detection plugin doesn't depend on the project examples plugin. You can
use the detection API without adding dependencies to the project examples. All what you
need is o.j.t.runtime.core, o.j.t.runtime.as.detector and, maybe, o.j.t.runtime.ui.
I think the downloding UI that is part of the project examples plugin isn't necessary
for adding the download feature to the AS plugin. That UI will be changed in the future.
See
https://issues.jboss.org/browse/JBIDE-12237.
Rob probably wants to use the downloading API (the ECFExamplesTransport class and, maybe
the DownloadRuntimeDialog.downloadAndInstall method). That API could be moved to the JBoss
Common or some other common plugin.
The way in which quickstarts can be added within some JBoss AS/EAP distribution is
described in
https://github.com/jboss-jdf/jboss-as-quickstart/pull/282. It is enough to
add the quickstarts to some directory in the JBoss AS home directory.
To test quickstarts, it is the best to use user sites that can be created using
Window>Preferences>JBoss Tools>Project Examples as follows:
- clone the quickstarts project to some directory
- select Window>Preferences>JBoss Tools>Project Examples
- check the Show experimental sites checkbox
- click the Add button
- enter some name to the Name field and the url of your .project_example.xml file in URL
(you can use the Browse button to find the .project_example.xml file in your local
directory).
Regards,
Snjeza