Connecting to Source Control
From Aptana Development
This page describes how to connect to the Aptana source control depot in Perforce and build Aptana
Contents |
Introduction
Aptana uses Subversion software for its source control. Once you have Subversion configured with Eclipse, you can start working with the Aptana source code in Eclipse.
Instructions
Downloading/Installing Perforce
To connect to Aptana source control:
- Switch to the perspective for your SVN plug-in (e.g. SVN Repository Exploring).
- If there are no servers defined, right click in the "server" window" and define a server. Add a new repository location
- Access the code repository that you want:
- If you are prompted to accept a certificate, accept the certificate "permanently".
Importing Aptana
- Import the Aptana plugins that you want to work on into Eclipse.
- In the Repository Exploring view, select the folders that contain the Aptana plugins that you want to work with. To work on the IDE, you will want to import the following:
- branchname/features/*
- branchname/plugins/*
You want to select all the sub folders, not the plugins and feature folders themselves. You'll end up with 20+ or so projects
- Right-click the selected folders, and select Import as Project from the context menu. Eclipse imports the selected folders as Eclipse projects.
- Switch to the Java perspective in Eclipse. The imported Aptana projects will be available to you in the Package Explorer View.
- In the Repository Exploring view, select the folders that contain the Aptana plugins that you want to work with. To work on the IDE, you will want to import the following:
- Launch Aptana.
- In Eclipse, switch to the Java perspective.
- Open com.aptana.ide.rcp/ide.product
- Click on "Launch the product". It will launch Aptana, but fail...this is okay. It creates a launch configuration that's almost right
- Open up the Run menu, and select Run...
- Make sure ide.product is selected on the left, and switch to the plugins tab.
- Click on the "Add Required Plugins" button and the "Validate Plug-in Set" buttons
- Click "Run" again. Aptana will launch.
You can now work on the Aptana source code in Eclipse.


