Install Prerequisites

  1. Java 1.5 or later.
  2. Ant 1.6 or later. (Older versions may also work)
  3. Eclipse 3.2 or later. These instructions assume version 3.2.2, but other versions should behave similarly.
  4. Subclipse 1.4.x. You may also use Subversive, or check out the project manually with the client of your choice,

Check out Orc

Use the method of your choice to check out http://orc.googlecode.com/svn/trunk/OrcJava and import it into the Eclipse project OrcJava. Here is how to accomplish this using Subclipse:

  1. Launch Eclipse
  2. Go to File -> New -> Project ...
  3. Open SVN, choose Checkout Projects from SVN, and click Next >
  4. Choose Create a new repository location and click Next >
  5. Enter for the Url: http://orc.googlecode.com/svn
  6. Select trunk -> OrcJava and click Finish.
  7. Warning: Do not change the project name (from OrcJava) or the project will not build correctly.

Running Orc Programs

  1. Within Eclipse, open the Orc program you wish to run.
  2. Go to Run -> Run ...
  3. Right-click Java Application and select New
  4. Fill out the Main form as follows:
    Name
    Orc
    Project
    OrcJava
    Main class
    orc.Orc
  5. Click the Arguments tab and fill out the form as follows:
    Program arguments
    ${resource_loc}
  6. Click Apply

You only have to perform the above steps once. Then whenever you want to run an Orc program:

  1. Select the program source file in Eclipse (you can open it or simply select it in the Package Explorer or Navigator).
  2. Go to Run -> Run ..., select Orc, and click Run (after doing this once, you can use the dropdown menu of the "run" icon in the toolbar as a shortcut).

Get Started

Get Involved

Contact Us

Supporting Agencies

This research is supported in part by funding from the National Science Foundation. Any opinions, findings, and conclusions or recommendations expressed on this website are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

Last updated 2009-09-09