-
Created by Unknown User (renan), last modified on Jul 26, 2013
- Download both projects and open in Eclipse. Eclipse Version used: Juno Service Release 2.
- First, clean and build the entire PingERLOD project. Eclipse > Project > Clean and then Build all.
- Export the JAR file. Eclipse > Right click on the project > Export > Java > JAR file > Check the project and the src folder only. Export generated class files and resources, Export Java sources and resources, Export class files with errors and warnings > Generate manifest file (do not need to save), Seal some packages (none) > Finish
- Copy all PingERLOD libs into PingERLODServer/lib and include them in the classpath.
- Include the generated JAR file in the PingERLODServer classpath.
- Paste all project libs in TOMCAT_HOME/lib directory.
- Set the TOMCAT_HOME in Eclipse > Windows > Preferences > Tomcat (this step is easier if you have Tomcat plugin for Eclipse).
- Configure the Deployment Assembly. Right click on the PingERLODServer project > Properties > Deployment Assembly > Add:
- Source: WEB-INF -> Deploy Path: /
- Source: WEB-INF/src -> Deploy Path: WEB-INF/classes
- Source: PingERLOD.jar -> Deploy Path: WEB-INF/lib
- Source: all other libs in the PingERLODServer project -> Deploy Path: WEB-INF/lib
- Finally, you can generate the .WAR file. Right click on the project > Export > Web > WAR file. Do not need to export source files.
- Place the generated .WAR file under TOMCAT_HOME/webapps
{"serverDuration": 78, "requestCorrelationId": "ae5eca950d087c55"}