Difference between revisions of "How To Start the Project"

From CMSC 420
m (typo)
(updated for part 2)
Line 1: Line 1:
# Download the JAR file: [http://www.cs.umd.edu/~meesh/cmsc420/spr07/cmsc420util.jar cmsc420util.jar]
+
# Download the updated JAR file: [http://www.cs.umd.edu/~meesh/cmsc420/spr07/part2/cmsc420util.jar cmsc420util.jar]
 
# Download all given input and output files:
 
# Download all given input and output files:
 
#* [http://www.cs.umd.edu/~meesh/cmsc420/spr07/part1/ Part 1 files]
 
#* [http://www.cs.umd.edu/~meesh/cmsc420/spr07/part1/ Part 1 files]
 +
#* [http://www.cs.umd.edu/~meesh/cmsc420/spr07/part2/primary_and_sample_xml.zip Part 2 files]
 
# Read the spec (several times if necessary)
 
# Read the spec (several times if necessary)
 
# Start a new project in Eclipse
 
# Start a new project in Eclipse

Revision as of 06:56, 4 April 2007

  1. Download the updated JAR file: cmsc420util.jar
  2. Download all given input and output files:
  3. Read the spec (several times if necessary)
  4. Start a new project in Eclipse
  5. Add the external JAR file in Eclipse: Right-click on your new project->Properties->Java Build Path->Libraries tab->Add External JAR. To add the source and javadoc, click the plus sign and attach them.
  6. Download the project starter files from the submit server.
  7. Add the project starter files: Right click your project, choose Import, then Archive File, browse to the starter archive, select everything (OK, maybe not the META-INF directory), Finish.
  8. Download XmlCompare plugin for Eclipse.
    1. In Eclipse, Help->Software Updates->Find and Install
    2. Search for new features to install
    3. Check Eclipse Project Updates, Finish
    4. Under Eclipse Project Updates, find the version you are running (Help|About), check Eclipse SDK Examples
    5. Next, accept, Next, Finish, (wait), Install All
    6. Restart Eclipse
    • (Note: this installs lots of unwanted crud, and ate my line:col statusbar display; to fix it, exit Eclipse, go into $HOME/.eclipse/org.eclipse.sdk.ide/updates/eclipse/plugins and delete everything you didn't ask for)
    • To use: select two .xml files in the Navigator, right click, compare with->each other