Eclipse Assemblyorg.eclipse.automation version 1.0.1 (June 2007)
About

Automates headless build of Eclipse Products

This project was created in honor of the bug 84065. See 84065

Download

See also Eclipse Product Build

Supported Configuration
  • J2SE 1.4.x or greater
  • Eclipse 3.3
    org.eclipse.automation 1.0.1 was tested against Eclipse 3.3 M7
Installation
  • Install Eclipse
  • Install the automation plugin: Extract the downloaded zip file and copy the org.eclipse.automation_1.0.1.jar file to <ECLIPSE_DIR>/plugins folder
Tools

There are two tools provided:

  • Import Projects into Workspace
  • Export Products
World Outlook

I live in one of the nicest cities of Belgium: Namur. Namur is the capital and the heart of Wallonia. Amazing atmosphere, people, history and environment. Why don't you come and visit us?.



Bia-Bouquet (Very Nice photos taken by a local - weekly updated)
Namur tourism
Namur in Wikipedia
Namur Webcam
Citadel of Namur
Namur

Home sweet home! I love Namur!

Tools: Import Projects into Workspace

Use this tool when you don't have an Eclipse Workspace created. This is a very common situation when you fetch projects from CVS or SVN and you don't have Eclipse Workspace setup.

It's a pre-requisite to have all the projects in the workspace before exporting the Eclipse Product.

Usage

java -jar <EQUINOX_LAUNCHER_JAR> 
     -product org.eclipse.automation.importProject
     -data <WORKSPACE_DIR>
     [<PROJECT_PATH>]

EQUINOX_LAUNCHER_JAR
The path to the Equinox Launcher jar file found at <ECLIPSE_DIR>/plugins folder.

WORKSPACE_DIR
The path to the Eclipse Workspace Directory

PROJECT_PATH
(Optional) (Path Relative to Workspace folder) If the path is not supplied, all projects under the workspace folder are loaded

Example

java -jar D:\eclipse33M7\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070502.jar
     -product org.eclipse.automation.importProject
     -data "d:\myworkspace"


Tools: Export Products

This tool is used to perform the Product export

Usage

java -jar <EQUINOX_LAUNCHER_JAR>
     -product org.eclipse.automation.importProject 
     -data <WORKSPACE_DIR>
     <product bundle name>
     <product file>
     <destination folder>
     <include sources>

EQUINOX_LAUNCHER_JAR
The path to the Equinox Launcher jar file found at <ECLIPSE_DIR>/plugins folder.

WORKSPACE_DIR
The path to the Eclipse Workspace Directory

PROJECT_PATH
(Optional) (Path Relative to Workspace folder) If the path is not supplied, all projects under the workspace folder are loaded

Product Bundle Name
The plugin/bundle that contains the .product file

Product File
The product file

Destination Folder
The folder where the exported product will be saved

Include Sources
Whether to add the sources when the product is exported

Example

java -jar D:\eclipse33M7\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070502.jar
     -product org.eclipse.automation.productExport
     -data "d:\myworkspace"
     org.eclipse.automation.sample
     /sampleproduct.product
     d:\export
     false


Running the Sample

There is a sample product/plugin in the sources folder of the download file. Open a Terminal/Console and run:

cd <EXTRACTION_DIR>/sources

Run:

java -jar D:\eclipse33M7\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070502.jar 
     -product org.eclipse.automation.importProject 
     -data .


Run:

java -jar D:\eclipse33M7\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070502.jar
     -product org.eclipse.automation.productExport 
     -data . 
     org.eclipse.automation.sample 
     /sampleproduct.product 
     ./export 
     false


The Product has been exported. You can run the application:

cd export

Run:

eclipse.exe
The following image is a screenshot for the product that was exported using the Automator.

This software is open source. Feel free to modify, submit improvements, or whatsover.

Viva Open Source!!!