Repository for Eastern New Mexico University Spring 2024 Software Engineering course group project
Java 100.00%
enmu_se24_groupproject's Introduction
Intructions to run:
Requirements: Ant and Apache Tomcat
Running Manually
Build the project in order to compile classes
Navigate to the root directory and run 'ant build'.
This will generate the compiled classes within a folder named target.
It will also generate a war file using those classes and the .jars in the lib folder.
To manually run the web app you must copy the generated .war file into the webapps within the
tomcat installation directory.
Start the server using the startup.bat (startup.sh for Linux) file located
within the bin directory of your tomcat installation. You can then visit the webpage at
http://localhost:8080/HotelReservationApp/
Running Using IntelliJ
The server should be setup and configured upon loading the project. If it is then skip to step 4. If it isn't then go
to 'Run / Debug Configurations' and add a local Tomcat server.
For the Tomcat server ensure that the 'Before Launch' configurations are for the server config are correct.
The first task should be to build the project, then the ant build task should come next,
and finally it should build the artifacts. Go to deployment and make sure the generated war file is selected.
Go to File > Project Structure and select artifacts and make sure there is an artifact called HotelReservationApp
that include all project files to be compiled. Add one if needed. It should be of the type Web App Archive.
Run Tomcat from the top of the IDE and the server will start and deploy itself.
The index.jsp page should open automatically.