Common Use Cases
The following cases describe situations you might face after you begin using SDC and provide steps for setting up your SDC environment for each case.
Multiple Packages with Common Configurations
If you have packages that share common configurations, you can create an environmental policy to set up common configurations.
Let’s say you have two teams – Team1 and Team2. Both teams share a lot of common configurations, but you want Team2 to have some extra software or configuration that Team1 should not have. You can achieve this in the following way:
- Create two packages: MyEclipse for Team1 and MyEclipse for Team2.
- Create an Environmental policy called Common Configuration, and specify all common settings such as software, launching properties, JVM properties, and workspace task files.
- Select the Common Configuration environmental policy on the Configuration tab of both packages (or as many as you need).
Selecting the common environmental policy
- Configure the team-specific settings for each package.
The common configuration is handled via the environmental policy, which can be shared for any packages with common requirements. Specific configuration can then be set up for each team package.
Mimicking a MyEclipse Individual Edition
Using SDC, you can deliver to end users a MyEclipse Secure installation configured with the freedoms of an individual MyEclipse installation. You give your end users control over their installation, but you are able to bundle licenses and keep the installer behind your firewall. Follow the steps below to set a security policy for the package that mimicks an individual edition of MyEclipse.
- Create a security policy, with all options enabled.
- Create a MyEclipse package using the “No Add-ons” component preset.
Selecting no add-ons
- Assign the new security policy to the package on the Configuration tab.
- On the Software tab, turn on the Enable End-user Selection of Components option, and select the Allow Component Preset Selection checkbox.
Enabling component selection
Delivering Eclipse-Based Products Using SDC
Delivering Eclipse-based (RCP) products in SDC is a straight-forward task – but it does require a few special steps to be followed. You will set up policies for your product to tailor how your product is delivered, and you will import your software to be delivered by SDC.
Overall steps include:
- Set up your Access policy to customize the look of your installer, including your EULA.
- Set up your Securty policy to restrict users to the appropriate actions for your product.
- Import your Eclipse product (plugins and features) as a third-party library.
- Create an Eclipse IDE package with your policies, software, and final branding.
Setting Up Your Access Policy
- Create a new Access policy called “My Eclipse Product.”
- Restrict availability to the platforms supported by your product.
- Make sure to enable Bundled installers if you ship to customers who install behind a restrictive firewall.
- Set the default shortcut path to be your company name or equivalent organization.
- Configure your installer’s background image, if you have one.
- Place your end-user license agreement in the EULA field.
Setting Up Your Security Policy
- Create a new Security Policy called “My Eclipse Product.”
- If creating an RCP application without a workspace or you want to lock down the install:
– Disallow any end-user changes by turning off all toggles on the End-users tab.
– Turn off display of updates to end-users to keep a simple user experience.
– Configure the desired update check interval based on your software roll-out policies.
- If using normal Eclipse workspace functions and you want to allow normal software addition along side your product:
– Enable the appropriate set of end-user update options based on your needs.
– Potentially turn on display of updates to users if they’ll be installing their own software.
– Configure the desired update check interval based on your software roll-out policies
Importing Your Product as a Third-Party Library
- Select Third-Party Libraries in the navigation, and click .
- Select Import Existing Eclipse Update Site, and click Next.
Note: If you have not set up third-party library signing, a signing certificate notification appears. You can ignore the notification for now.
Library import mode
- Click to enter a site or to navigate to one or more update sites to be imported, and click Next.
- Select the software and versions you want to be available in your library, and click Next.
- Enter a library title and version, and click Next.
Creating a Package for Your Software
- Create a new Eclipse IDE package named for your product.
- On the Overview tab, set the short title for your product, which is used in the filename as well as the version that represents the release of the software you are working on.
- Select the RCP Delivery checkbox. This adds an RCP Product tab to the package setup.
Specifying RCP delivery
- Set the package icon to use for your software, preferrably using a 256×256 png such that the shortcut for your product is well branded.
- On the Software tab, add the third-party library you created. Be sure to include your product plugin and your branding plugin (if you are including a custom splash screen).
Adding the third-party library to the package
- On the RCP Product tab, select the method of delivery, either based on a package or a p2 lineup.
RCP Product tab
- Enter your RCP product information. You must have added your software to the package on the Software tab before you can add the RCP product information on this tab. See Creating an RCP Product Package for more detailed information on entering RCP product information.
- On the Configuration tab, select your created policies:
Access policy: My Eclipse Product
Security policy: My Eclipse Product
- Commit and promote your package.