Difference between revisions of "How To Start the Project"
From CMSC 420
(fixed part1 files link) |
|||
Line 6: | Line 6: | ||
# Start a new project in Eclipse | # Start a new project in Eclipse | ||
# 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. | # 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. | ||
− | # Download the project [https://submit.cs.umd.edu:8443/data/DownloadProjectStarterFiles?projectPK=276 starter files] from the submit server. | + | # Download the project [https://submit.cs.umd.edu:8443/data/DownloadProjectStarterFiles?projectPK=276 starter files] from the submit server '''if there are any'''. |
# 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. (currently, no startup files for spring spr2009) | # 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. (currently, no startup files for spring spr2009) | ||
# Download [http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc.isv/samples/samples.html XmlCompare] plugin for Eclipse. | # Download [http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc.isv/samples/samples.html XmlCompare] plugin for Eclipse. |
Revision as of 17:48, 3 June 2010
- Download the updated JAR file: cmsc420util.jar
- Download all given input and output files:
- Read the spec (several times if necessary)
- Start a new project in Eclipse
- 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.
- Download the project starter files from the submit server if there are any.
- 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. (currently, no startup files for spring spr2009)
- Download XmlCompare plugin for Eclipse.
- In Eclipse, Help->Software Updates->Find and Install
- Search for new features to install
- Check Eclipse Project Updates, Finish
- Under Eclipse Project Updates, find the version you are running (Help|About), check Eclipse SDK Examples
- Next, accept, Next, Finish, (wait), Install All
- 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