Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363728 - Experiment integrating Nano with the RTP configurator
Summary: Experiment integrating Nano with the RTP configurator
Status: CLOSED WONTFIX
Alias: None
Product: Virgo
Classification: RT
Component: runtime (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-14 12:39 EST by Borislav Kapukaranov CLA
Modified: 2015-05-11 09:11 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Borislav Kapukaranov CLA 2011-11-14 12:39:11 EST
The RTP configurator provides an abstraction on top of the p2 commands. This improves usability quite a bit. The RTP project folks already provided an update site with the configurator: 
http://download.eclipse.org/rtp/incubation/updates/3.8milestones/

A prerequisite to using the configurator is providing a configuration file in JSON format that defines the available features with their p2 repositories that we'd like to provide to the users defined with human-readable names.

It would be interesting to see if the RTP Configurator can improve the overall usability of Nano.
Comment 1 Beyhan Veliev CLA 2012-05-21 05:52:11 EDT
I did experiments with the RTP-configurator and the Virgo Nano Full package. Here are the steps needed to install the RTP-configurator into the Virgo Nano Full package:

1) enable telnet for the OSGi-console : edit the following properties file ‘<nano-package-location>/configuration/osgi.console.properties’
2) configure the JSON file location for  the RTP-configurator: set the system property ‘configuration.url’ into ‘bin/dmk.bat’. E.g. ‘set KERNEL_JAVA_PARMS=%KERNEL_JAVA_PARMS% -Dconfiguration.url="file:///c:/test/example-sources.json"
3) start Nano kernel via <nano-package-location>/startup.bat
4) connect to the OSGi-console via telnet: telnet localhost 2401
5) add the RTP p2-repository: execute following command in the OSGi-console ‘provaddrepo http://download.eclipse.org/rtp/updates/3.8milestones/’
6) install RTP-configurator: execute following command in the OSGi console ‘provinstall org.eclipse.rtp.package.headless.feature.group 1.0.0.v20120111-1429’. You can also chose another version available in the p2-repository.
6) restart the Nano kernel 
7) connect to the OSGi-console again and start all org.eclipse.rtp.* bundles manually.
8) now you can try the OSGi-console commands provided by the RTP-configurator. They are described here http://wiki.eclipse.org/RTP/Console



Will be great to have a JSON configuration file for Nano and experiment with it. The step 7 is an issue of RTP-configurator. I will investigate it. A workaround for the moment is to activate all bundles manually.
Comment 2 Florian Waibel CLA 2015-05-11 09:11:43 EDT
The RTP configurator is inactive for some years now.