Jump to: navigation, search

Difference between revisions of "ATF/Workspace"

< ATF
(Setting up your workspace)
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
To get a working wokspace:
+
{{tip|Want to try out ATF first?|This document describes how to prepare your environment for working with ATF source code, download and compile it's Eclipse plug-ins Java source code. If you want to install ready ATF, please proceed to [[ATF/Installing]] steps.}}
*Get an Eclipse 3.3 SDK
+
*Install the ATF all-in one in that Eclipse environment
+
*If working with the source for Milestone 4 download the Team_File_Set_M4.psf.
+
[http://wiki.eclipse.org/images/4/48/ATF-Milestone4-psf.zip]
+
  
*Team set for intial code for eval debugging
+
== Setting up your workspace  ==
  
 +
To get a working workspace ready for ATF development you will need to checkout the ATF source code and download it's dependencies. Following steps describe how to do that.
  
* The HEAD is going up changes that will changes the required new plugins. When the changes are complete a team_set for the head will be made available.
+
'''1. Get an Eclipse 3.5 SDK.'''
 +
 
 +
'''2. Check out all ATF plug-ins using [[PSF|Team Project Set]] file'''
 +
 
 +
*Click on the [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.atf/components/releng/org.eclipse.atf.releng/psfs/atf.cvs.psf?root=Tools_Project&view=co atf.cvs.psf] link and save it as a file.
 +
*In Eclipse, press <code>File &gt; Import</code> and choose <code>Team &gt; Team Project Set</code>, press Next.
 +
*Select the downloaded ATF.PSF file and press Finish.
 +
*It may take a few minutes to download the source code from Eclipse CVS.
 +
 
 +
'''2. Configure [[PDE/Target Definitions|Target Platform]] to include all features required to compile and run ATF source code.'''
 +
 
 +
*One of the checked out projects is org.eclipse.atf.releng
 +
*Find in your workspace and open file <code>org.eclipse.atf.releng/pde/atf.target</code> and set it as default target platform by pressing a link in editor upper right corner.
 +
*Again, this can take even a longer while, because Eclipse now needs to download features from Mozilla, Webtools, EMF and Orbit update sites.
 +
 
 +
'''3. Launch ATF using preconfigured launch configuration'''
 +
 
 +
*Choose <code>Run &gt; Run Configurations...</code>
 +
*In Run Configurations window choose <code>Eclipse Application &gt; ATF</code> and press <code>Run</code>
 +
 
 +
<br>
 +
 
 +
<br>
 +
 
 +
== Steps for old ATF up to version 0.2.3  ==
 +
 
 +
To get a working wokspace:
 +
 
 +
1. Get an Eclipse 3.3 SDK
 +
 
 +
*This gives you the basic eclipse environment that does not come with the ATF all-in-one
 +
 
 +
2. Install the ATF all-in one in that Eclipse environment
 +
 
 +
*The ATF all-in-one contains the dependencies on Mozilla plugins (XULRunner, JavaXPCOM, etc). Its "all stuff you need to add on to Eclipse to get ATF".
 +
 
 +
3. If working with the source for Milestone 4 download the [http://wiki.eclipse.org/images/4/48/ATF-Milestone4-psf.zip Team Set for Milestone 4]
 +
 
 +
*This source will re-build the Ajax-Toolkit plugins that are part of the ATF all-in-one package, but not the Mozilla plugins. It overlays the all-in-one with new code from CVS.
 +
 
 +
4. To get the intial code for eval debugging download the [http://wiki.eclipse.org/images/8/8b/ATF-Eval-Debugging-psf.zip Team Set for Eval Debugging]
 +
 
 +
The HEAD is going up changes that will changes the required new plugins. When the changes are complete a team_set for the head will be made available.

Latest revision as of 14:11, 6 November 2009

Idea.png
Want to try out ATF first?
This document describes how to prepare your environment for working with ATF source code, download and compile it's Eclipse plug-ins Java source code. If you want to install ready ATF, please proceed to ATF/Installing steps.


Setting up your workspace

To get a working workspace ready for ATF development you will need to checkout the ATF source code and download it's dependencies. Following steps describe how to do that.

1. Get an Eclipse 3.5 SDK.

2. Check out all ATF plug-ins using Team Project Set file

  • Click on the atf.cvs.psf link and save it as a file.
  • In Eclipse, press File > Import and choose Team > Team Project Set, press Next.
  • Select the downloaded ATF.PSF file and press Finish.
  • It may take a few minutes to download the source code from Eclipse CVS.

2. Configure Target Platform to include all features required to compile and run ATF source code.

  • One of the checked out projects is org.eclipse.atf.releng
  • Find in your workspace and open file org.eclipse.atf.releng/pde/atf.target and set it as default target platform by pressing a link in editor upper right corner.
  • Again, this can take even a longer while, because Eclipse now needs to download features from Mozilla, Webtools, EMF and Orbit update sites.

3. Launch ATF using preconfigured launch configuration

  • Choose Run > Run Configurations...
  • In Run Configurations window choose Eclipse Application > ATF and press Run



Steps for old ATF up to version 0.2.3

To get a working wokspace:

1. Get an Eclipse 3.3 SDK

  • This gives you the basic eclipse environment that does not come with the ATF all-in-one

2. Install the ATF all-in one in that Eclipse environment

  • The ATF all-in-one contains the dependencies on Mozilla plugins (XULRunner, JavaXPCOM, etc). Its "all stuff you need to add on to Eclipse to get ATF".

3. If working with the source for Milestone 4 download the Team Set for Milestone 4

  • This source will re-build the Ajax-Toolkit plugins that are part of the ATF all-in-one package, but not the Mozilla plugins. It overlays the all-in-one with new code from CVS.

4. To get the intial code for eval debugging download the Team Set for Eval Debugging

The HEAD is going up changes that will changes the required new plugins. When the changes are complete a team_set for the head will be made available.