BlueJalopy Costello Procedure

Using Costello

In general, follow Brian's guide for using Costello: here

Starting Costello and BlueJ

We have only figured out how to run BlueJ through Costello on the Linux machines in lab. That said, you may work from home using the directions below. If you are working locally, follow step 4 and on of the remote directions.

Remotely

Note: Speeds aren't terrible but they certainly aren't great.
Quirks: Sometimes menus were quirky for me; they would work if I used keyboard navigation instead of the mouse (i.e. Alt+F instead of clicking File).

  1. Download XMing and start it with all of the defaults. This program allows graphical linux programs to be run on windows over ssh.
  2. Start Putty(although other ssh clients have been shown to work) with the X-forwarding option: in the Configuration go to Connection > SSH > X11. Check "Enable X11 forwarding" and for X display location enter ":0" (no quotes, remember the colon).
  3. Back in Session, connect to your favorite Cal Poly server; I used vogon.calpoly.edu. Enter username and password when prompted.
  4. Switch to your working directory and download ant:
    wget http://internap.dl.sourceforge.net/sourceforge/abbot/abbot-1.0.1.zip
    
  5. Unzip ant and switch to that directory:
    unzip abbot-1.0.1.zip
    cd abbot-1.0.1
    
  6. Start Costello:
    java -jar lib/costello.jar
    
  7. Import the command to start BlueJ. On the school linux boxes you can run BlueJ off of Mr. Dalbey's grader account on the server. The attached script makes use of this fact and includes that installs libraries in the classpath.
    Download the attached file(BlueJCostelloBase.xml)
    In Costello, go to File > Open and select the downloaded script.
    Click Run and make sure that BlueJ loads successfully.
    Note: using the mouse with menus remotely works poorly. You can use keyboard shortcuts much more easily. For File > Open press Alt+F, O
    To navigate in the Open dialog, I had to use the Go To Parent Directory Button
  8. Use Costello like you normally would (assuming you would ever normally use Costello).

Attachments