-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhowToRun_DEPLOYMENT .txt
20 lines (17 loc) · 1.7 KB
/
howToRun_DEPLOYMENT .txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
When you import the filtrack project you might have to configure the project as Dynamic Web Project (DWP) if it is not
already configured as DWP. To do so, right click on the project name (filtrack folder) in eclipse then select properties
towards the bottom. Then go to Project Facets from the menu on the left and configure as Dynamic Web Module by selecting
the checkbox of Dynamic Web Module then hit apply and close button.
To sum up:
Properties->Project Facets -> Dynamic Web Module
You would need Tomcat server to run the project. Once you configure the tomcat server go to folder WebContent in filtrack
then open the WebContent/index.hmtl in eclipse with text editor. Then right somewhere empty in the index.html file and select run as ->
run on server -> select tomcat server configured on your device.
Another issue is that you would have to change the path to the csv file in Java Resources/src/com/web/mainSearch to an absolute path in your computer.
The reason for that is (as far as I found online) when the web app is running on tomcat server it is searching relative paths
starting from the where the Tomcat/bin folder is located (start place of the server) and not where the project is located.
Thus, even if I give a relative path to where the Tomcat server files are located in my computer it might be different in
your computer (mine is located in downloads and most probably default location is not there). So, to run it you would have to
change path. (I showed it in the filtrack demo video).
Java files are under the Java Resources/src/com/web/, also under the WebContent/ there are several modules as well: namely
WebContent/index.html, WebContent/result.jsp, WebContent/css/stle.css, WebContent/css/result.css