Project

General

Profile

Actions

How to Build and Deploy Patched Apache FOP and XML Graphics Commons » History » Revision 1

Revision 1/2 | Next »
Hiroya Kubo, 2010-01-04 17:07


How to Build and Deploy Patched Apache FOP

About this document.

This document is for developers who want to make customized build of SQS applications from source code.

SQS SourceEditor generates OMR Form PDF files which contains SVG Print files as an OMR Form metadata, through using a specially patched version of Apache FOP library.

Usually you can get the patched fop.jar file from SQS project maven repository (http://diaspora.prof.cuc.ac.jp/maven2/).
But if you want to modify the patch content, you must build your own fop.jar.
This document describes how to build your own fop.jar and deploy it into your local repository.

How to build patched fop.jar and deploy it into your local repository

ex. ssh mvnrepo.example.com

cd /tmp
svn co http://svn.apache.org/repos/asf/xmlgraphics/fop/tags/fop-0_95/
cd fop-0_95
wget http://diaspora.prof.cuc.ac.jp/svn/trunk/sqs-translator/src/main/resources/patch/fop-0_95.patch
patch -p0 < fop-0_95.patch
ant
mvn deploy:deploy-file -Durl=file:///var/www/maven2 -DrepositoryId=mvnrepo.example.com -Dfile=build/fop.jar -DgroupId=org.apache.xmlgraphics -DartifactId=fop -Dversion=0.95-20090301 -Dpackaging=jar

Updated by Hiroya Kubo about 14 years ago · 1 revisions