To Run The Program
- Unzip the zip file unzip ConferenceTrackManagement.zip
- Go to unzip folder cd ConferenceTrackManagement/
- Perform:
mvn clean install (To run test cases as well) - Create another folder "Test" mkdir ~/Test
- Copy ConferenceTrackManagement-0.0.1-jar-with-dependencies.jar to Test/ cp target/ConferenceTrackManagement-0.0.1-jar-with-dependencies.jar ~/Test/
- Copy conf folder to Test/ cp -r conf ~/Test/
- Copy IO folder to Test cp -r IO ~/Test/
- To run the program cd ~/Test java -jar ConferenceTrackManagement-0.0.1-jar-with-dependencies.jar
To Run Program Through Eclipse
- Unzip the zip file unzip ConferenceTrackManagement.zip
- Go to unzip folder cd ConferenceTrackManagement/
- Perform:
mvn clean install mvn ecipse:eclipse - Open Eclipse and File -> Import -> Existing Maven Project -> ConferenceTrackManagement
- Add conf and IO folder in build path
- run com.amruta.entry.ConferenceTrackManagement java application
To configure input
- Go to ConferenceTrackManagement/IO folder and add talk details in "input" file
To configure session
-
Go to ConferenceTrackManagement/conf folder and add session details in "session.properties" in following format only
e.g.
1_Morning=9:00 AM#12:00 PM 2_Lunch=12:00 PM#1:00 PM 3_Afternoon=1:00 PM#5:00 PM 4_Networking=4:00 PM-5:00 PM#6:00 PM
Assumptions: a. add sessions in sequential order and add sequence number before session name b. seperate start time and end time with "#" c. if start time is configurable like netowrking. seperate start times with "-" d. time format should be h:mm AM/PM e. session timings should not change day. e.g 11:00 PM#1:30 AM where 11:00PM is of today's timing and 1:30AM is next days timing
To check the output
- Go to ConferenceTrackManagement/IO folder and check "output" file
To check logs
- Go to ConferenceTrackManagement/log folder and check "conference-track-mgmt.log" file