Adding Workshop to an Existing Eclipse Installation

You can install Workshop in two ways: You can (1) add it to an existing Eclipse installation or (2) use the Eclipse installation bundled with the installer.

To add Workshop to an existing Eclipse installation, follow these instructions:

In the installer dialog, on the Chose Installer Type screen, select Custom.

installer

On the Install Eclipse Location Options, select Use Existing Eclipse and browse to an existing Eclipse home directory.

installer2

Requirements for the Existing Eclipse Installation

The existing Eclipse installation must meet the following requirements:

Launching Workshop When Installed as a Plugin

If Workshop is added to an existing Eclipse installation, you may choose to launch using the existing eclipse launcher (eclipse.exe) instead of the custom launcher provided with the Workshop installation. If you choose to launch Workshop using your existing eclipse launcher, the required and optional additions to eclipse.ini are shown below:

Required

 -vm (a Java 6 VM is required)
 -vmargs
 -Xms384m (or greater)
 -Xmx768m (or greater)
 -Xss256k 
 -XX:MaxPermSize=256m 
 -XX:PermSize=192m 
 -XX:NewRatio=3m 
 -Dsun.lang.ClassLoader.allowArraySyntax=true 
 -Dnitrox.boot.jar=file:WORKSHOP_HOME/nitrox-boot.jar 

Optional

 -Dweblogic.home (for pointing at the default WlS runtime)
 -Dosgi.instance.area.default (default workspace)

For a complete list of parameters see Eclipse Runtime Options.

Examples

Example workshop.ini

The workshop.ini file is located at WORKSHOP_HOME/workshop.ini

Here is an example file:

-vm
C:/bea/jdk160_05/jre/bin/javaw.exe
-startup
C:/bea/tools/eclipse_pkgs/2.0/eclipse_3.3.2/eclipse/plugins/org.eclipse.equinox.launcher_<version>.jar
--launcher.library
C:/bea/tools/eclipse_pkgs/2.0/eclipse_3.3.2/eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x86_<version>
-vmargs
-ea
-da:org.apache.xbeans...
-da:weblogic.wsee.codec.soap11...
-Xms384m
-Xmx768m
-XX:MaxPermSize=256m
-XX:PermSize=192m
-XX:NewRatio=3
-Xss256k
-DprodMode=production
-Dweblogic.deployer.debug=all
-Dweblogic.debug.DebugConnection=true
-Dweblogic.debug.DebugMessaging=true
-Dweblogic.debug.DebugDeployment=true
-Dweblogic.home=C:/bea/wlserver_10.3
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dnitrox.boot.jar=file:C:/bea/workshop_10.3/nitrox-boot.jar
-Dosgi.install.area=C:/bea/tools/eclipse_pkgs/2.0/eclipse_3.3.2/eclipse
-Dosgi.instance.area.default=C:/bea/user_projects/workspaces/default
-Dosgi.configuration.area=C:/bea/workshop_10.3/workshop4WP/eclipse/configuration
-Declipse.product=com.bea.workshop.product.workshop
-Dosgi.splashPath=file:C:/bea/workshop_10.3/workshop4WP/eclipse/plugins/com.bea.workshop.product

Note: The --launcher.library and -startup arguments are only required if your eclipse launcher is located outside your eclipse installation.

Still need help? Post a question on the Workshop newsgroup.