To write and debug public and hidden test code and build.xml, you will want to run the Didit build locally on your machine.
Didit works by copying everying in the assignment’s grading directory into a clone of the student’s submission.
To avoid making copies of the build material for local builds, use symlinks instead.
In the directory with a staff solution or student submission, symlink each of the files or directories from the assignment’s grading directory in the staff repository.
E.g., in the root of the solution directory:
ln -s /path/to/staffrepo/spring13/psets/ps0/grading/build.xml
ln -s /path/to/staffrepo/spring13/psets/ps0/grading/grader-proj
...
In this example, grader-proj is a directory, and you must not have a trailing slash in the ln -s command.
On Windows, copy the files intead of symlinking.
If you are working with a solution in the staff repository, take care not to commit these copies or symlinks!
antIn order to run Ant, you must know the path to your installation of Eclipse.
This is the directory that contains the Eclipse executable and subdirs features and plugins, among others.
/usr/lib/eclipse./Applications/Eclipse.In the solution directory, run Ant with:
ant -Declipse.home=/path/to/eclipsedir TARGET
TARGET is compile, public, or hidden as described in build configuration.