ONYX project setup guide
Version 366.1 von sandra_riediger am 15.12.2014
System requirements
All components
Linux-based OS
Oracle Java7 (latest update)
Apache Tomcat7 (latest update)
ONYX WebEditor (additionally)
- PostGreSQL (8.4.21 or later)
- Java unlimited security enabled
http://stackoverflow.com/questions/6481627/java-security-illegal-key-size-or-default-parameters
Download from http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
Build process
- Linux-based OS
- Oracle Java7 (latest update)
- Eclipse for JEE (Kepler or later)
- Maven2
- Eclipse Maven integration (m2)
Steps for build
All ONYX parts are delivered as Eclipse projects
- preWebOnyx (ONYX QTI test player)
- preWebEditor (ONYX QTI test editor)
- onyx (ONYX QTI core)
- LaTeXRenderer (LaTeX image renderer connector, used to render LaTeX math formulas to images, which can be included in PDFs. This project only offers an interface to connect whatever lib you want, e.g. jlatexmath (GPL, delivered as example)
- Use Eclipse
- Import -> Existing project, start with LaTeXRenderer project
- Import all four projects
Due to license restrictions the project LaTeXRenderer is not linked or integrated by default. This must be done manually.
- Ensure that project dependency from preWebOnyx and preWebEditor to LaTeXRenderer is fulfilled.
- Ensure that project LaTeXRenderer exports all libs in /libs folder (you may get ClassNotFoundExceptions in Tomcat otherwise, if you still get them add all libs from project LaTeXRenderer to Tomcat classpath manually)
Maven will build all projects automatically (you can do this manually on console, anyhow this is not tested in development environment and may disturb Eclipse Maven integration)