Code Monkey home page Code Monkey logo

ist-412's Introduction

How to compile the code:

Note: This guide assumes you have both java and ant installed.

1. Unzip the file.

2. Download the following libraries and put them in a directory called "lib" in the root directory:
    - commons-lang3-3.4.jar (http://apache.claz.org//commons/lang/binaries/commons-lang3-3.4-bin.zip)
    - junit-4.10.jar (https://search.maven.org/remotecontent?filepath=junit/junit/4.10/junit-4.10.jar)

3. Create a new file called build.properties and put it in the root directory.

4. Add the following lines to the file:

        # Build Directories
        binDirectory=[Path To Unzipped Project]/bin
        distDirectory=[Path To Unzipped Project]/dist
        srcDirectory=[Path To Unzipped Project]/src/program-test-242-1
        libDirectory=[Path To Unzipped Project]/lib
        docDirectory=[Path To Unzipped Project]/doc
        testDirectory=[Path To Unzipped Project]/src/program-test-242-1/test

        #Executable class name
        mainClass=controller.Main

        # jar app name
        appName=ProgramTest


5. Edit the paths to reflect where you unzipped the source code to and save.

6. Download student submissions to use for runs. Example submission code is available from http://acs.ist.psu.edu/courses/ist412/source/java-tester-demo.zip

7.The student submissions must be placed into [Root Directory] -> src -> program-test-242-1 -> src WITHIN the unzipped project. 

For the example submission code, there are two "src" directories within the zip folder. Find the second one and cut and paste it into the the first folder that was unzipped under the directory titled "program-test-242-1".

8. If on Windows, run the setup7.bat script in src/program-test-242-1.

9. Open up the command prompt/terminal, navigate to the root directory and enter the command "ant". This will run the 
default ant target for the project "run-all".

10. Once you have opened the program click on the documentation tab in the menu bar for further instructions on how to use the program.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.