You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Fotis Jannidis <Fo...@lrz.uni-muenchen.de> on 2000/03/06 22:42:29 UTC

make -> Ant

Giacomo Pati has written an impressive ant build.xml modelled after the build.xml for 
cocoon. This means we can now use ant instead of make to build Fop. On my system  
this takes 90 secs instead of a few minutes and it does't restart everything with each 
build. 
Have a look at the instructions in build.xml. Normally having xerces and xalan in your 
classpath and setting JAVA_HOME is all you need to make it work. 

Fotis


PS: Maybe some people don't know ant (like me until James proposed the switch to ant 
a few days ago). It is a java based replacement for make to avoid the platform 
dependencies make has and speeds up the build of Java projects a lot because all calls 
to java based tasks happen in the same VM. Ant is also part of apache and has its home 
at jakarta.apache.org

PPS: This change has one sideeffect: it breaks the old make routine, because the *.xsl 
files in the subdir codegen had to be changed also. If you want to use your old make 
routine you have to delete the comments in the *.xsl file around the redirect instruction 
and change the string @org/apache/fop@/fo/properties/ to 
org/apache/fop/fo/properties/ in properties.xsl