Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "ATL/How Install ATL From CVS"

< ATL
(created installation from ATL CVS guide)
 
m (refactored presentation)
Line 3: Line 3:
 
=Installation of ADT (ATL Development Toolkit) from CVS=
 
=Installation of ADT (ATL Development Toolkit) from CVS=
  
==1- Install Eclipse and EMF==
+
==Install Eclipse and EMF==
  
 
In order to use ADT (ATL Development Tools), you need Eclipse and EMF. ADT has been developed with and for Eclipse 3.2.x. ADT may be compatible with other versions. You can download Eclipse here: http://www.eclipse.org/downloads/ and EMF here: http://www.eclipse.org/emf/.
 
In order to use ADT (ATL Development Tools), you need Eclipse and EMF. ADT has been developed with and for Eclipse 3.2.x. ADT may be compatible with other versions. You can download Eclipse here: http://www.eclipse.org/downloads/ and EMF here: http://www.eclipse.org/emf/.
Line 13: Line 13:
 
When you have finished to install Eclipse and EMF, you can run it.
 
When you have finished to install Eclipse and EMF, you can run it.
  
==2- Configuration of CVS access==
+
==Configuration of CVS access==
  
 
You should go to CVS Repository view (Window -> Open Perspective). Then you should add a new repository location. The required parameters are the followings:
 
You should go to CVS Repository view (Window -> Open Perspective). Then you should add a new repository location. The required parameters are the followings:
Line 25: Line 25:
 
[[Image:ATL_CVSCheckout.PNG]]
 
[[Image:ATL_CVSCheckout.PNG]]
  
==3- Configuration of ADT==
+
==Configuration of ADT==
  
 
Now, you need to go to the Plug-in perspective. Some external libraries are required for the plug-in org.atl.eclipse.engine and org.atl.engine.repositories.mdr4atl but not available on the CVS repository (a README file is available in this plug-in). You need to download the jar files into the lib/ directory of these projects.
 
Now, you need to go to the Plug-in perspective. Some external libraries are required for the plug-in org.atl.eclipse.engine and org.atl.engine.repositories.mdr4atl but not available on the CVS repository (a README file is available in this plug-in). You need to download the jar files into the lib/ directory of these projects.

Revision as of 06:55, 28 February 2007

< To: ATL

Installation of ADT (ATL Development Toolkit) from CVS

Install Eclipse and EMF

In order to use ADT (ATL Development Tools), you need Eclipse and EMF. ADT has been developed with and for Eclipse 3.2.x. ADT may be compatible with other versions. You can download Eclipse here: http://www.eclipse.org/downloads/ and EMF here: http://www.eclipse.org/emf/.

Unzip the Eclipse zip file; this will create an eclipse directory with every Eclipse files in it.

Unzip the EMF zip file from the same directory (it also contains an eclipse directory, with the EMF additional files to Eclipse).

When you have finished to install Eclipse and EMF, you can run it.

Configuration of CVS access

You should go to CVS Repository view (Window -> Open Perspective). Then you should add a new repository location. The required parameters are the followings:

ATL CVSRepositoryLocation.PNG

You do not need a password.

Then, you can go to HEAD -> org.eclipse.gmt -> ATL and select the 14 projects of the folder ATL and check them out (this action is available in the context menu).

ATL CVSCheckout.PNG

Configuration of ADT

Now, you need to go to the Plug-in perspective. Some external libraries are required for the plug-in org.atl.eclipse.engine and org.atl.engine.repositories.mdr4atl but not available on the CVS repository (a README file is available in this plug-in). You need to download the jar files into the lib/ directory of these projects.

Download ANTLR 2.7.5 from http://antlr.org/ and put antlr.jar into lib/ of plugin org.atl.eclipse.engine.

Download mdr-standalone.zip from http://mdr.netbeans.org/download/ and put the included jar files into lib/ of plugin org.atl.engine.repositories.mdr4atl.

Note that mdr-standalone.zip is updated more often on the MDR website than in our development source. As a consequence, bugs may appear when using the last-in-date mdr-standalone version of MDR.

When you have finished this operation, there is normally no error left.

ADT is ready to be tested. There are two ways to use it:

  • In the "Plug-in Development perspective", you can launch a Run-time workbench (Click on Run -> Run as -> Run-time workbench).
  • You can install ADT in your copy of Eclipse. Go in the Plug-in perspective and select all the plug-in projects. In the context menu choose Export -> Deployable Plug-ins and Fragments.

In the screen Export Plug-ins and Fragments, check if all the projects are selected and choose a single ZIP file in Export Options.

ATL PluginsExport.PNG

Now you need to close Eclipse. Enter the eclipse directory (which does not contain an eclipse directory but plug-ins and features directories) then unzip the zip file created. After that you can restart Eclipse.

You are ready to use ADT.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.