This project is an animal hotel management application that allows users to manage various aspects of a hotel, including employees, animals, habitats, and more.
- Java Development Kit (JDK) 8 or higher
- po-uilib library (for input and output)
hva-app/
Makefile
src/
hva/
app/
animal/
hva-app/src/hva/app/App.java
employee/
exceptions/
habitat/
main/
Renderer.java
search/
vaccine/
hva-core/
Makefile
src/
hva/
employee/
exceptions/
habitat/
Hotel.java
hva-core/src/hva/HotelManager.java
tree/
util/
vaccine/
po-uilib-202408310000/
LICENSE
Makefile
README.md
src/
pt/
tecnico/
uml/
To build the project, run the following command from the root directory:
make allThis will compile the source code and create the necessary JAR files.
Before running the application, set the CLASSPATH environment variable:
export CLASSPATH=/usr/share/java/po-uilib.jar:$(pwd)/hva-core/hva-core.jar:$(pwd)/hva-app/hva-app.jarYou can also change the path to the po-uilib.jar
To run the application, use the following command:
java -Dimport=test.import -Din=test.in -Dout=test.out hva.app.AppAlternatively, you can run the application with different input and output files:
java -Dimport=test.import hva.app.AppTo clean the project, run the following command:
make cleanThis will remove all compiled classes and JAR files.