Wednesday, July 30, 2008

How to set the working directory in Eclipse

Here's an old one I don't want to forget:

How to set the working directory in Eclipse (so CPA can resolve paths to the Scripts directory).
  • Right click on the project in package explorer > properties
  • Under Run/Debug Settings click on JCPA and click the Edit Button
  • Under the Arguments tab of the new window, specify your working directory (ie: /Users/afraser/CPA)

1 comment:

Ovidiu-Florin Bogdan said...

Thank you. I've been blowing my brains for some time on how to change that.

This is exactly the reason why I don't like eclipse, it's to complicated and messy to get something done.