Skip to content
Antoine Lorence edited this page May 6, 2014 · 1 revision

Initialize the eclipse environment

$SCRIPTS_DIR/orcc_eclipse_setup $WORK_DIR

This script will download a tar.gz archive of eclipse-platform, a lightweight eclipse version which doesn't contains any ui plugin. This is useful to compile and run Orcc in command line environment, even on machines (servers) without X server.

The script extract and copy the content of downloaded archive into 2 different folders$WORK_DIR/eclipse.build and $WORK_DIR/eclipse.runtime. In the next step, eclipse.build will be used to compile Java and Xtend files from Orcc sources folders. The resulting jar plugins will be installed in eclipse.runtime, allowing to use Orcc in a command line only environment.

orcc_eclipse_setup must be run at least once before using others, but you don't have to run it again every time you want to compile or use Orcc.

Clone this wiki locally