Debugging Jambalaya
- Select your ca.uvic.csr.shrimp project in the Package Explorer
- Create a new Launch Configuration (under the Run > Debug... menu)
- Select Java Applications from the tree on the left
- Give your new configuration a name
- If the Project field is blank, click Browse... and select your Jambalaya project (e.g. ca.uvic.csr.shrimp)
- Check the Include libraries when searching for a main class checkbox. Then click the Search... button and type in Application in the dialog and you should see one matching type: Application - edu.stanford.smi.protege, Click OK
- Click the Arguments tab
- You can put something like this in the VM arguments field: -Xmx512M depending on how much memory your computer has. If you have 512MB or less memory, then you can leave this field empty. Otherwise I'd recommend setting this to -Xmx512M.
- At the bottom of the Arguments tab, select the Other radio button, and enter in the directory of your Protege installation. e.g. C:\Program Files\Protege 3.2 beta
- Next, click on the Classpath tab at the top.
- Select the User Enties item, and then click the Add External JARs… button on the right. Go into your Protégé directory and add the following files:
- lax.jar
- looks.jar
- unicode_panel.jar
- For OWL support only - add all the jars inside the Protégé\plugins\edu.stanford.smi.protegex.owl directory EXCEPT protégé-owl.jar (since it is already included inside Jambalaya).
- Click Apply at the bottom.
- To debug Jambalaya click the Debug button at the bottom.
and click the New Launch Configuration toolbar button
Important: you must have a version of Jambalaya installed in your Protege/plugins directory otherwise this won't work. It doesn't have to be the latest version of Jambalaya.



For instructions on importing Jambalaya into Eclipse click here.

