I just committed a bunch of code to the 2.0 branches of Elk API and Elk Press. The codes is not as stable as the old code in the main branch, but it should work. As I wrote earlier, the Elk API has changed – to the better I hope. Feel free to checkout the code and give it a build.
If you use Eclipse 3.3 as your IDE and install the Subeclipse plugin, then you can create a project for the Elk API and a project for the Elk Press by checking out each one from Subversion (New > Project > SVN). You should then be able to run the Elk Press project in Eclipse’s embedded Tomcat (right-click project, Run As > Run on Server. This is great for debugging (Debug As > Debug on Server).
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.
My blogging doesn’t seem to be very going very well… Anyway, I though I’d give it another try and post an update on what I’m doing with the Elk Project.
I’ve create a new branch for the Elk API and for the Elk Press where I’m working on a version 2.0. Version 2.0 of the Elk API is not backwards compatible with version “1.0”. If anyone has any opinions on this, please let me know.
Here are some UML diagrams of the Elk API 2.0 so far:
- The most important classes in the Elk API
- The event handling framework
I just uploaded a new version of the Elk website. Besides a new design there is important information about the restructuring that the Elk Project will be going through.
Welcome to my blog. Here I will be posting about my work on the Elk and Alces projects, and whatever else that I find worth writing about. Welcome.