Difference between revisions of "How To Start the Project"
From CMSC 420
m |
|||
(17 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | # Download the JAR file: [ | + | # Download the updated JAR file: [https://www.cs.umd.edu/users/meesh/420/ProjectBook/cmsc420util.jar cmsc420util.jar] |
# Download all given input and output files: | # Download all given input and output files: | ||
− | #* [ | + | #* [https://www.cs.umd.edu/users/meesh/420/ProjectBook/part1/ Part 1 files] |
− | # Read the spec (several times if necessary) | + | # Read the spec (several times if necessary) and take note of important details |
− | # Start a new project in Eclipse | + | # Start a new project in Eclipse (or your favorite IDE) |
# 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:// | + | # Download the project [https://d1b10bmlvqabco.cloudfront.net/attach/iy6gff47lll3v5/i5erpj96uvo5ms/iymehqvdjma9/MeeshQuest.java starter file] '''if there is one'''. This link is from Spring 2017. |
− | # Add the project starter | + | # Add the project starter file: Right click your project, choose Import, then Archive File, browse to the starter archive, MeeshQuest.java file. Finish. Alternatively create your own class and paste the text into it. |
# 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. | ||
## In Eclipse, Help->Software Updates->Find and Install | ## In Eclipse, Help->Software Updates->Find and Install | ||
Line 14: | Line 14: | ||
## Next, accept, Next, Finish, (wait), Install All | ## Next, accept, Next, Finish, (wait), Install All | ||
## Restart Eclipse | ## 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 |
+ | # Once you have everything set up, go through the spec and think about what classes you will need and how they will interact with each other. Some suggestions: draw it out on a whiteboard/ paper or create empty classes with names in your IDE as you go through and then later fill in the classes with everything they need. Once you have a good idea of what to do start coding! Good luck! |
Latest revision as of 00:34, 6 February 2017
- Download the updated JAR file: cmsc420util.jar
- Download all given input and output files:
- Read the spec (several times if necessary) and take note of important details
- Start a new project in Eclipse (or your favorite IDE)
- 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 file if there is one. This link is from Spring 2017.
- Add the project starter file: Right click your project, choose Import, then Archive File, browse to the starter archive, MeeshQuest.java file. Finish. Alternatively create your own class and paste the text into it.
- 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
- Once you have everything set up, go through the spec and think about what classes you will need and how they will interact with each other. Some suggestions: draw it out on a whiteboard/ paper or create empty classes with names in your IDE as you go through and then later fill in the classes with everything they need. Once you have a good idea of what to do start coding! Good luck!