* feat(TUP-38543): Set compilation of master for studio to Java 11 * feat(TUP-38543): setup Jakarta * feat(TUP-38543): setup platform feature * feat(TUP-38543): eclipse upgrade * feat(TUP-38543): update eclipse * feat(TUP-38543): update eclipse remove index files * feat(TUP-38543): update eclipse * feat(TUP-38543): update eclipse * feat(TUP-38543): update eclipse * feat(TUP-38543): update eclipse * feat(TUP-38543): update eclipse * feat(TUP-38543): fix wrong version of surefire * feat(TUP-38543): test of fix of maven / m2e in studio * feat(TUP-38543): test of fix of maven / m2e in studio * feat(TUP-38543): fix of maven / m2e in studio * feat(TUP-38543): m2 plugins setup * feat(TUP-38543): remove compilation to java 8 on librariesmanager * feat(TUP-38543): maven.tos update * feat(TUP-38544): build EE * feat(TUP-38544): build EE * feat(TUP-38544): remove dom4j * feat(TUP-38544): revert wrong commit for version * feat(TUP-38544): fix UIExtensionTracker issue * feat(TUP-38544): add comment * feat(TUP-38544) : try export axis from org.talend.libraries.apache * feat(TUP-38544) : try move wsdl to metadata.managent.ui * feat(TUP-38544) : remove axis * feat(TUP-38544) : try move to managment * feat(TUP-38544) : remove axis * feat(TUP-38544) : add axis * feat(TUP-38544) : try add a new plugin * feat(TUP-38544) : fix download jar studio freezed issue * feat(TUP-38544) : fix EE build job failed * feat(TUP-38544) : fix Cannot invoke "org.apache.maven.model.Model.getBuild()" because "installedModel" is null * feat(TUP-38544) : fix m2e.core.ui startup faster then workbench create issue * feat(TUP-38544) : try unregister service to avoid m2e.core.ui failed issue * feat(TUP-38544) : tycho * feat(TUP-38544): fix junit failed * feat(TUP-38544) : change to use stream instead of file . because when use File . the pom name must be pom.xml * feat(TUP-38544): fix compile error for the wrong change * feat(TUP-38544): change exception * feat(TUP-38544): add import * feat(TUP-38544): change exception * feat(TUP-38544): fix compile error * feat(TUP-38544): fix junit failed --------- Co-authored-by: Nicolas Rousseau <nrousseau@talend.com>
this implements equinox hooks.
To make it work in the Eclipse IDE you are required to have this project folder located in the same folder as the org.eclipse.osgi bundle.
One ways of doing this is to import a copy of this folder in the workspace (not an basic import) or you can use a symbolic link into the workspace folder to point to this folder
and import(as binary project) the org.eclipse.osgi plugin into the workspace too using the "Plug-ins" view.
You also need to add the followin system property in your launch configurator :
-Dosgi.framework.extensions=org.talend.osgi.lib.loader
WARNING : this is a critical piece of code, make sure you pass all the test and create new ones whenever you make some changes.
The tests are located here : https://github.com/Talend/tcommon-studio-se/tree/master/test/plugins/org.talend.librariesmanager.ui.test
for more information see :
http://wiki.eclipse.org/index.php/Adaptor_Hooks
http://eclipsesource.com/blogs/2013/01/23/how-to-track-lifecycle-changes-of-osgi-bundles/
http://www.eclipsecon.org/2008/sub/attachments/Equinox_Framework_How_to_get_Hooked.pdf
http://www.eclemma.org/research/instrumentingosgi/index.html
https://www.eclipse.org/forums/index.php/mv/msg/828380/1442031/#msg_1442031