IDE Configuration for gate.sa.modules.web - gsi-upm/SAGA GitHub Wiki
These instructions are to import the project gate.sa.modules.web, which is located under this repository, into Eclipse. It contains all the java code related to the web service that uses SAGA processing resources. In this case, gate.sa.modules project is added to the web libraries as a jar so we can use all it resources. This project also contains all the necessary GATE libraries.
You don't need to have GATE Developer installed in your system to use this project if you are not going to create new processing resources.
This project has been developed using Tomcat 7.0 server technologies.
IDE configuration for gate.sa.modules.web project
(The following asume you are using Eclipse as IDE)
- Clone or unzip the downloaded code from this repository into your workspace.
- Import the project gate.sa.modules.web into Eclipse:
- File -> Import -> General -> File System
- Select the root directory or the src folder of the project.
- Right click on the project, go to Properties -> Java Compiler:
- Make sure that "Compiler compliance level", "Generated .class files compatibility" and "Source Compatibility" are 1.6 or higher.
Run it!
- In the project explorer go to WebContet -> Web-INF -> home.jsp
- Right click over home.jsp -> Run as -> Run on Server.
At the moment, this demo runs an spanish financial sentiment analysis over the text you insert.