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
(Configuration of ADT)
(Installation of ADT (ATL Development Toolkit) from CVS)
Line 1: Line 1:
=Installation of ADT (ATL Development Toolkit) from CVS=
+
=Installation of ATL from CVS=
  
 
==Install Eclipse and EMF==
 
==Install Eclipse and EMF==
Line 11: Line 11:
 
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.
  
==Configuration of CVS access==
+
==Import team project set==
  
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 provides team project sets in order to simplify access to the source code. You have to download an atl.psf file on your local disk, and then you can import projects in Eclipse using : File > Import > Team > Team Project Set
  
[[Image:ATL_CVSRepositoryLocation.PNG]]
+
===Anonymous access===
 +
Anonymous access use pserver to connect on CVS. [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.m2m/org.eclipse.m2m.atl.releng/psf/anonymous/?root=Modeling_Project Here]are the two psf files.
  
You do not need a password.
+
===Commiter access===
 +
Commiter access use extssh to connect on CVS. [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.m2m/org.eclipse.m2m.atl.releng/psf/commiter/?root=Modeling_Project Here]are the two psf files.
  
Then, you can go to HEAD -> org.eclipse.m2m -> org.eclipse.m2m.atl -> plugins. You can now select the projects of the folder "plugins" (note that the "XXX-feature" ones are not mandatory) and check them out (this action is available in the context menu).
+
===MDR installation===
  
[[Image:ATL_CVSCheckout.PNG]]
+
In each psf/ subdirectory there are two .psf files :
 +
* atl.psf
 +
* mdr4atl.psf
 +
The last one provides a project set which only contains the mdr4atl driver, you can use it as for atl.psf.
  
==Configuration of ADT==
+
Now, you need to go to the Plug-in perspective. Some external libraries are required for the plug-in org.eclipse.m2m.atl.drivers.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 this project.
 
+
Now, you need to go to the Plug-in perspective. Some external libraries are required for the plug-in org.eclipse.m2m.atl.engine and org.eclipse.m2m.atl.drivers.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.
+
 
+
To install antlr-runtime-library :
+
- add a CVS repository on dev.eclipse.org, pointing to /cvsroot/tools
+
- right-click on the repository, select the "refresh branches" menu.
+
- only check the orbit box, refresh it
+
- in the branches, select 3.0.0
+
- checkout org.antlr.runtime project
+
  
 
Download mdr-standalone.zip from http://mdr.netbeans.org/download/ and put the included jar files into lib/ of plugin org.eclipse.m2m.atl.drivers.mdr4atl.
 
Download mdr-standalone.zip from http://mdr.netbeans.org/download/ and put the included jar files into lib/ of plugin org.eclipse.m2m.atl.drivers.mdr4atl.
Line 40: Line 36:
 
When you have finished this operation, there is normally no error left.
 
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:
+
==Testing==
 +
ATL 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).
 
* 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.
+
* You can install ATL 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 the output folder.
 
In the screen Export Plug-ins and Fragments, check if all the projects are selected and choose the output folder.
Line 52: Line 49:
 
Now you need to close Eclipse. Enter the "eclipse" directory (which contains plug-ins and features directories) then copy the created Jar files into the "plugins" directory. After that you can restart Eclipse.
 
Now you need to close Eclipse. Enter the "eclipse" directory (which contains plug-ins and features directories) then copy the created Jar files into the "plugins" directory. After that you can restart Eclipse.
  
You are ready to use ADT.
+
You are ready to use ATL.
  
 
[[Category:ATL]]
 
[[Category:ATL]]

Revision as of 10:26, 5 February 2008

Installation of ATL 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 (we are currently testing it with Eclipse 3.3 and we do not find any specific issue for the moment). 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.

Import team project set

ATL provides team project sets in order to simplify access to the source code. You have to download an atl.psf file on your local disk, and then you can import projects in Eclipse using : File > Import > Team > Team Project Set

Anonymous access

Anonymous access use pserver to connect on CVS. Hereare the two psf files.

Commiter access

Commiter access use extssh to connect on CVS. Hereare the two psf files.

MDR installation

In each psf/ subdirectory there are two .psf files :

  • atl.psf
  • mdr4atl.psf

The last one provides a project set which only contains the mdr4atl driver, you can use it as for atl.psf.

Now, you need to go to the Plug-in perspective. Some external libraries are required for the plug-in org.eclipse.m2m.atl.drivers.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 this project.

Download mdr-standalone.zip from http://mdr.netbeans.org/download/ and put the included jar files into lib/ of plugin org.eclipse.m2m.atl.drivers.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.

Testing

ATL 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 ATL 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 the output folder.

ATL PluginsExport.PNG

Now you need to close Eclipse. Enter the "eclipse" directory (which contains plug-ins and features directories) then copy the created Jar files into the "plugins" directory. After that you can restart Eclipse.

You are ready to use ATL.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.