This version is all-in-one server configurion, with customer, cashier, packing, and backDoor clients.
The file DataBase.txt must contain Derby to work with the Derby database
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
To use the Derby database, after importing the project, Move the file DataBase.txt to be in the toplevel directory of your project. Copy 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
- File -> New -> project from version control -> fill the URl with https://github.com/Shine-SJF/CI553-CW-miniStore.git (Click next until complete)
- Run (both of which will fail)
clients.Setup.main()
andclients.Main.main()
. - Run -> Edit configurations, and:
- select Setup, modify options -> modify classpath -> + -> include ->
\lib\derby.jar
(located in lib/db-derby-10.14.2.0-lib/) - select Main, modify options -> modify classpath -> + -> include ->
\lib\derby.jar
(located in lib/db-derby-10.14.2.0-lib/)
-
To create the Derby database, after compiling the system, run
clients.Setup.main()
. -
To start the system, run
clients.Main.main()
.