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:

  1. Switch to the perspective for your SVN plug-in (e.g. SVN Repository Exploring).
  2. If there are no servers defined, right click in the "server" window" and define a server. Add a new repository location
  3. Access the code repository that you want:
  4. If you are prompted to accept a certificate, accept the certificate "permanently".

Importing Aptana

  1. Import the Aptana plugins that you want to work on into Eclipse.
    1. 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
      
    2. Right-click the selected folders, and select Import as Project from the context menu. Eclipse imports the selected folders as Eclipse projects.
    3. Switch to the Java perspective in Eclipse. The imported Aptana projects will be available to you in the Package Explorer View.
  2. Launch Aptana.
    1. In Eclipse, switch to the Java perspective.
    2. Open com.aptana.ide.rcp/ide.product
    3. Click on "Launch the product". It will launch Aptana, but fail...this is okay. It creates a launch configuration that's almost right
    4. Open up the Run menu, and select Run...
    5. Make sure ide.product is selected on the left, and switch to the plugins tab.
    6. Click on the "Add Required Plugins" button and the "Validate Plug-in Set" buttons
    7. Click "Run" again. Aptana will launch.

You can now work on the Aptana source code in Eclipse.

Related Topics


Aptana Developer Home