Code Monkey home page Code Monkey logo

ci553-cw's Introduction

2022-CI553-catshop

CatShop system release for the 2022-CI553 cohort. This is a deliberately convoluted legacy codebase for the CI553 coursework.

Notes

The file DataBase.txt must contain Derby to work with Derby database

BlueJ

To use the Derby database, you must add in Tools -> Preferences -> Libaries %DERBY_HOME%\lib\derby.jar %DERBY_HOME%\lib\derbytools.jar

REPLACE %DERBY_HOME% with the path to the base of the Derby database

Eclipse

To use the Derby database, after importing the project, Move the file DataBase.txt to be in the toplevel directory of your project (with src and the JRE System library) Copy also the directory Images to the same top level directory as DataBase.txt

Then in Properties -> Resource -> Java Build Path -> Libraries Select Add external JARs %DERBY_HOME%\lib\derby.jar

REPLACE %DERBY_HOME% with the path to the base of the Derby database

IntelliJ 2022.1.4+

  1. File -> New project from existing sources -> select CI553-CW. (Click next until complete)
  2. Select JDK 17 (download if not installed).
  3. Run (both of which will fail) clients.Setup.main() and clients.Main.main().
  4. Run -> Edit configurations (alt+shift+f10) and:
  • select Setup, modify options -> modify classpath -> add \lib\derby.jar (located in lib/db-derby-10.14.2.0-lib/)
  • select Main, modify options -> modify classpath -> add \lib\derby.jar (located in lib/db-derby-10.14.2.0-lib/)

Run

  1. To create the Derby database, after compiling the system, run clients.Setup.main().

  2. To start the system, run clients.Main.main().

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.