hydralix / docbkx-tools

Automatically exported from code.google.com/p/docbkx-tools
0 stars 0 forks source link

Bundle the examples in the manual together with source code in mini howtos #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would help to have the ability to distribute a certain solution by
simply pointing people to a zip file that basically contains the entire
setup. (How to work with images comes to mind.)

Original issue reported on code.google.com by wilfreds...@gmail.com on 24 Sep 2007 at 5:51

GoogleCodeExporter commented 9 years ago
I've tried the sample.xml downloaded from SVN with the latest 2.0.8 version of 
the plugin but I get:

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to transform 
document.
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(Def
aultLifecycleExecutor.java:4
80)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.j
ava:311)
    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultL
ifecycleExecutor.java:278)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to transform 
document.
    at com.agilejava.docbkx.maven.AbstractPdfMojo.postProcessResult(AbstractPdfMojo.java:93)
    at com.agilejava.docbkx.maven.AbstractTransformerMojo.execute(AbstractTransformerMojo.java:174)
    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
    ... 16 more
Caused by: javax.xml.transform.TransformerException: 
java.lang.NullPointerException
    at com.icl.saxon.IdentityTransformer.transform(IdentityTransformer.java:61)
    at com.agilejava.docbkx.maven.AbstractPdfMojo.postProcessResult(AbstractPdfMojo.java:85)
    ... 19 more
Caused by: java.lang.NullPointerException
    at org.apache.fop.area.AreaTreeHandler.endDocument(AreaTreeHandler.java:264)
    at org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:171)
    at com.icl.saxon.aelfred.SAXDriver.parse(SAXDriver.java:334)
    at com.icl.saxon.IdentityTransformer.transform(IdentityTransformer.java:59)
    ... 20 more

Original comment by marcello.teodori on 3 Feb 2008 at 3:24

GoogleCodeExporter commented 9 years ago
BTW changing to 2.0.7 makes everything work correctly (even if somewhere it 
should be set a java.awt.headless 
system property to true to avoid the transform launcher to be visibile as a GUI 
application with a menu on Mac 
OS X...)

Original comment by marcello.teodori on 3 Feb 2008 at 3:27

GoogleCodeExporter commented 9 years ago

Original comment by wilfreds...@gmail.com on 11 Feb 2010 at 8:11