Looking for more information? Please take a look at our Wiki.
- Users can find the User Guide with how to videos and FAQs.
- Administrators and Developers can find additional links on our Wiki.
CED2AR uses Maven for build automation. Any IDE with Maven support can compile builds. The development team recommends Eclipse or IntelliJ for Java EE, which comes with Maven and Tomcat plugins for the newer versions.
- Clone the CED2AR source code to your local environment.
- Using Eclipse, import the existing Maven project.
- Select the root directory with the pom.xml configuration file.
- By default, running Maven
install
will build CED2AR in the localtemp profile. (See profiles/localtemp). - To create a new profile, copy the local folder, and rename it. Change options within the *config.properties files to customize your build.
- Install Tomcat 7+1 in your IDE. Ensure that the Java Build Path includes the Tomcat Library.
- Deploy the BaseX war file directly with the tomcat manager.
- Run the project on the Tomcat web server. Ensure that the project is functioning before building a WAR.
- Run Maven build. Enter
install
as the goal, and select the new profile you created. If desired, save this configuration for later.
After building, CED2AR should produce a WAR archive in the target folder. For deploying the war, some of the notes linked below may be helpful.
This is similar to installing a desktop binary configuration, in that it is intended to be a self-contained CED2AR installation. Run the following from the root of the repository directory:
source ./Docker-deps/fat_build.sh
(Only needed once per build)./Docker-deps/standalone.sh
- Browse to http://localhost:8888/ced2ar-web for the CED2AR app or http://localhost:8888 for the Tomcat manager.
To stop, press Ctrl-C
or do docker stop ced2ar
; resume again with docker start ced2ar
.
Remove the container with docker rm -f ced2ar
; data should be persisted at
../ced2ar-standalone-store/
by default even if the container is removed.
To install a precompiled server binary please see: https://github.com/ncrncornell/ced2ar/tree/master/Binaries/Server
To run the desktop version, please see: https://github.com/ncrncornell/ced2ar/tree/master/Binaries/Local
Additional configuration notes may be found on the wiki.
Copyright Cornell University 2012-2016
1: CED2AR has been tested the most on Tomcat 7, however we also have performed limited testing with Tomcat 8 and 9 and did not experience any issues.