Andreas Delmelle wrote:
Not sure if it is a possibility for you to download and build FOP Trunk.
If you have Subversion and Ant available on your system, then it
requires virtually no extra effort. Just check out with Subversion,
navigate to FOP's root directory in a terminal window, and run 'ant
package' to create the fop.jar.
Not exactly, I had some problems when trying this on the command line,
but it worked from Eclipse.
init-avail:
[echo] ------------------- Apache FOP svn-trunk [1999-2009]
----------------
[echo] See build.properties and build-local.properties for additional
build settings
[echo] Apache Ant version 1.7.1 compiled on May 25 2009
[echo] VM: 11.3-b02, Sun Microsystems Inc.
[echo] JAVA_HOME: /opt/sun-jdk-1.6.0.13
[echo] JAI Support PRESENT
[echo] JCE Support PRESENT
[echo] JUnit Support PRESENT
[echo] XMLUnit Support PRESENT
init:
codegen:
[echo] Generating the java files from xml resources
compile-java:
resourcegen:
BUILD FAILED
java.lang.NullPointerException
at
org.apache.fop.tools.EventProducerCollector.createMethodModel(EventProducerCollector.java:138)
at
org.apache.fop.tools.EventProducerCollector.processEventProducerInterface(EventProducerCollector.java:128)
at
org.apache.fop.tools.EventProducerCollector.scanFile(EventProducerCollector.java:98)
at
org.apache.fop.tools.EventProducerCollectorTask.processFileSets(EventProducerCollectorTask.java:189)
at
org.apache.fop.tools.EventProducerCollectorTask.execute(EventProducerCollectorTask.java:66)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]