Prerequistes:
- Java 5.0
- Maven 2
How to build and deploy:
- Check out the elk-api project from Subversion (see http://www.cip4.org/open_source/elk/source-repository.html)
- Build the elk-api project: mvn package
- Install the elk-api JAR in your local Maven repository: mvn install
- Check out the elk-press project from Subversion (see http://www.cip4.org/open_source/elk/press/source-repository.html)
- Build the elk-press project: mvn package
- Deploy the elk-press project using Maven’s Jetty plugin: mvn jetty:run
- Start Alces 0.9.9.1 and connect to http://localhost:8080/elk-press/jmf
- Start a Status subscription: right-click Send File… button and select 04.Status-Subscriptiong.jmf
- Start a QueueStatus subscription: right-click Send File… button and select 05.QueueStatus-Subscription.jmf
- Submit the press job that comes with Alces: right-click SubmitQueueEntry… button and selected Elk_ConventionalPrinting.jdf
- Elk will start printing the press job and sent Status and QueueStatus signals to Alces with status updates
- When the job is finished its status in the Queue will change to PendingReturn. The updated JDF is currently not returned.
You can also deploy the Elk Press in Tomcat 5.5 (or any other servlet container) by copying elk-press.war to Tomcat’s webapps directory.
Advertisement



0 Responses to “How to build and deploy the Elk 2.0 branch”