Maintenance

  • Home
  • Log in
  • « TAPoR mySQL databases information
  • New VLAN for HCMC »

Building XEP Connector for Cocoon

Posted by gregster on 17 Jan 2007 in Servers, Documentation

When building XEP 4.9 Cocoon connector on my local (Linux) machine I had to install ant and junit from ubuntu repositories otherwise builds failed. I had been setting the $junit variable to point to a standalone instance that worked for me before but it bailed this time. Once set up the build (ant make.jar) went fine. It still wants to install the same manky saxon.jar as it did before, and that still screws Cocoon on initialization, so out it goes. Instead of running the "installer", just copy the jars xep.jar, XEPSerializer.jar and xt.jar to the {$COCOON_HOME}/WEB-INF/lib/ directory and alter the root sitemap to load xep:

<!-- Customization: XEP -->
<map:serializer mime-type="application/pdf" name="fo2pdf"
src="com.renderx.xepx.cocoon.Serializer">
<parameter name="com.renderx.xep.CONFIG" type="string"
value="/complete/filesystem/path/to/xep.xml"/>
</map:serializer>
<map:serializer mime-type="application/postscript" name="fo2ps"
src="com.renderx.xepx.cocoon.Serializer">
<parameter name="com.renderx.xep.CONFIG" type="string"
value="/complete/filesystem/path/to/xep.xml"/>
</map:serializer>

Remember to change the name value for the FOP serializer or there will be a collision between xep and fop

This entry was posted by Greg and filed under Servers, Documentation.

Maintenance

This blog is the location for all work involving software and hardware maintenance, updates, installs, etc., both routine and urgent.
  • Home
  • Recently
  • Archives
  • Categories

Search

Categories

  • All
  • Announcements
  • Hit by a bus
  • Labs
    • Activity log
    • Documentation
  • Notes
  • R & D
    • Activity log
    • Documentation
  • Servers
    • Activity log
    • Documentation
  • Tasks

All blogs

  • Academic
  • AdaptiveDB
  • Admin
  • Announcements
  • CanMys
  • Cascade
  • CGWP
  • ColDesp
  • Depts
  • DVPP
  • Endings
  • HCMC Blogs
  • Landscapes
  • LEMDO
  • Linguistics
  • Maint
  • LondonMap
  • Mariage
  • MoM
  • Moses
  • Pro-D
  • Projects
  • ScanCan
  • HumsSites
  • Wendat

This collection ©2022 by admin • Help • Open-Source CMS