| || |
|Downloading and installing the EMF and XML Schema components|| page 2 of 3|
- Java Runtime Environment V 1.3. Eclipse does not include a Java Runtime Environment
(JRE), so you will need a 1.3-level Java runtime or Java
Development Kit (JDK) installed on your machine in order
to run Eclipse. I recommend using the IBM or the Sun JRE/JDK:
- Eclipse Base V2.1.1. After you read and understand
the Eclipse Foundation Software User Agreement, then download the Eclipse base. For this tutorial, we
are using the latest release, which is 2.1.1 at the time of writing, but almost
any version will do. Download and unzip a copy of the
Eclipse base V2.1.1..
Throughout this document we will refer to
%ECLIPSE_BASE%, which is the base directory in which you
unzipped the Eclipse base V2.1.1.
Eclipse Modeling Framework, V1.1.0, Build 20030620_1105VL. Next, download the Eclipse Modeling
Framework component, which we will call EMF
throughout this tutorial. For this tutorial, we are using
version 1.1.0, Build 20030620_1105VL.
You can either download EMF from the
Web site or directly download EMF Version 1.1.0 from the
After you have downloaded EMF V1.1.0, you should
unzip the three zip files into the %ECLIPSE_BASE%\eclipse
directory. Make sure that the directories line up so
that the EMF plug-ins go into the
alternative, you can keep these additional
components separated from the base by unzipping the three
zip files into a subdirectory and then using an Eclipse
link file to point to where the additional plug-ins are.
Remember that EMF and XML Schema components are just
Eclipse plug-ins; they work the same way as any other
plug-ins in Eclipse. To keep these other plug-ins separated
from the base, you need to create a
"links" directory directly under the
%ECLIPSE_BASE%\eclipse directory. In the links directory,
add a file that contains the following:
- Filename: org.eclipse.emf.link
- Contents: path=C:\\Dev\\eclipse\\emf110
NOTE: Remember that on windows you have to escape the
backslashes in this file.
XML Schema Infoset Model, V1.1.0, Build 20030620_1105VL. Next, download the XML Schema
Infoset component, which we will call XML
Schema model throughout this tutorial. For this tutorial,
we are using version 1.1.0, Build 20030620_1105VL.
You can download XML Schema model from the
XML Schema Infoset Model
Web site or you can directly download XML Schema model Version
1.1.0 from the following links:
After you have downloaded the XML Schema plug-ins,
you can do the same thing that you did with the EMF
plug-ins. Either unzip them into the
%ECLIPSE_BASE%\eclipse directory or point to them using
an eclipse link file.
Note: When using the EMF
and XML Schema components, remember that the build date and
build level for the XML Schema Runtime must match that
of the EMF Runtime that you plan use. For example, you
could use the XSD Runtime
(xsd_1.1.0_20030620_1105VL.zip) with the EMF Runtime
(emf_1.1.0_20030620_1105VL.zip), which is what we are
using in this tutorial.