Details about the Eclipse RCP app

RCP Plugins

The Eclipse RCP app that hosts Zcore web application features the following custom Eclipse plugins:

  • Log4JProperties.jar - Custom log4j.properties files
  • org.rti.rcp.browser.jar - Embeds web browser view
  • org.rti.rcp.libs.jar - Additional Libs for Zcore RCP projects, such as slf4j.
  • org.rti.rcp.splash.PROJECTNAME.jar - Splash image
  • org.rti.rcp.tomcat.libs.derby.jar - Apache Derby libs
  • org.rti.rcp.tomcat.libs.zcore.jar - Zcore libs - does not include zcore-update.jar, which is provided in its own plugin (org.rti.rcp.update)
    • zcore-base.jar
    • zcore-dynasite.jar
    • zcore-sync.jar
    • zcore-utils.jar
  • org.rti.rcp.tomcat.libs.jar - Tomcat libs
  • org.rti.rcp.tomcat.PROJECTNAME.jar - host project - Main Zcore plugin that references all of these other plugins
  • org.rti.rcp.update - Handles updates to RCP app. Includes zcore-update.jar.

Earlier versions of Zcore used a single large plugin; however, this large file size made updates in bandwidth-poor environments difficult. Zcore now has nine different plugins which are distinguished by the functionality they offer.

Some of the plugins are simply lib containers and are registered to share their libs with the host plugin. The line "Eclipse-BuddyPolicy: registered" is added to the end of each MANIFEST.MF file.

The host plugin (org.rti.rcp.tomcat.PROJECTNAME.jar) has the following line in its MANIFEST.MF to identify the plugins it will use in the buddy system : Eclipse-RegisterBuddy: org.rti.rcp.tomcat.libs.zcore,org.rti.rcp.tomcat.libs,org.rti.rcp.tomcat.libs.derby,org.apache.log4j

Download Zcore RCP Plugins

The following sample plugins are used to create a generic Zcore app. Expand the zip file in the Eclipse workspace, open each project and build each plugin (open META-INF/MANIFEST.MF and run the Export wizard). Then open org.rti.rcp.tomcat.zcore/zcore.product or zcore-noJRE.product and run the Eclipse project export wizard.

Bundling the JRE

The Eclipse RCP app may come with a Java JRE in the app directory.

A jar included in the JDK (but not in the JRE) used for compiling source code, tools.jar, is placed in jre/libs/ext.

Also be sure to include the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 6 - http://www.oracle.com/technetwork/java/javase/downloads/index.html - in the "Additional Resources" section. Install the files in the jre\lib\security directory, overwriting the local_policy.jar and US_export_policy.jar.