Adobe Systems, Inc.

Getting Started

The easiest way to get hold of the Adobe Media Gallery sources is to download the full package from here, but if you'd like to have direct access to our source control server, read on.

Downloading the AMG Sources Via Perforce

The Adobe Source Libraries have migrated away from the SourceForge CVS/Subversion servers in favor of a Perforce server that is hosted on Guest access for this server is enabled, allowing anonymous users to grab snapshots of the current release sources as well as the current working set of sources for the upcoming release.

The primary difference between Perforce and other CMS services like CVS or Subversion is that the state of the client's image of the depot (repository in CVS parlance) is stored server-side, not derived client-side. This requires the creation and maintenance of per-user clientspecs (client path mapping specifications), and branchspecs (file/directory branching specifications).

The following steps will guide you through downloading the Perforce client, connecting it to the server with read-only guest access, and synchronizing to get a local copy of the Adobe Media Gallery sources.

The Perforce client is free and is available for many platforms. For Mac OS X and Windows, there are GUI clients. For all supported platforms, there is a command-line client. Because of its simplicity, these instructions describe the use of the latter only.

Once you've downloaded and installed the p4 command-line client place the p4 application make sure that it is in a directory that is in your computer's PATH.

Create your own clientspec by executing:

p4 -p -u guest -P AdobeGuest client {nameofclient}

... where {nameofclient} is the client spec name. Note that you can have as many client specs as you need, on as many machines as you need. When you execute this some text editing application will launch and you will see something like the following:

# A Perforce Client Specification.

Client: trbrown

Owner: trbrown

Description: Created by trbrown.

Root: /Users/trbrown/opensource/amg/

Options: noallwrite noclobber compress unlocked nomodtime normdir

LineEnd: local

View: //amg/release/... //trbrown/release/...

Feel free to change the Root path as you see fit. This will be the top-level folder in which Perforce will store your local version of the depots. The Options flags need not change, but changing "nocompress" to "compress" may speed up network transmission of files. Finally, save the file and close the text editor to commit the client spec to Perforce.

The final step in the process is syncing the remote server to your local computer. This is done in one step:

p4 -p -u guest -P AdobeGuest sync

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.