Hi Stephan,

        I never saw this error :-(
        Did you check if your xdocs are valid ?
        
        Otherwise, do you have images in your xdocs ?
        Can you check also if these images are valid (in a browser for example) 
? logo.jpg perhaps ?
        
        If the problem occurs again, can you open an issue and attach your fo 
file (testapp\1.5.1\target\pdf\project.fo) or if
possible your project (without sources). We'll try to reproduce it.

Arnaud


> -----Message d'origine-----
> De : Listf [mailto:[EMAIL PROTECTED] 
> Envoyé : samedi 17 septembre 2005 15:55
> À : [email protected]
> Objet : Cannat generate PDF
> 
> Hello,
> 
> I am making my first steps with maven and have problems with 
> using the PDF plugin. I get the follwing error. Thanks for 
> any hints what I could have done wrong.
> 
> Stefan
> 
> --- snip ---
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> 
> build:start:
> 
> xdoc:init:
> 
> pdf:init:
>     [echo]
> ### Debug mode is on ###
> ==============================
> === xdoc plugin properties ===
> ==============================
> maven.docs.src                  = [testapp\1.5.1/xdocs]
> maven.docs.dest                 = [testapp\1.5.1/target/docs]
> maven.gen.docs                  = 
> [testapp\1.5.1/target/generated-xdocs]
> maven.xdoc.date.format          = [dd MMMM yyyy]
> maven.xdoc.date.locale          = [en]
> ==============================
> === pdf plugin properties  ===
> ==============================
> maven.pdf.confidential          = [false]
> maven.pdf.paperType             = [A4]
> maven.pdf.companyIncName        = [SUNCOM]
> maven.pdf.copyrightYear         = []
> maven.pdf.imageDpi              = [72]
> maven.pdf.debug                 = [true]
> maven.pdf.navigationFile        = [navigation_pdf.xml]
> maven.pdf.navigationFilePath    = [testapp\1.5.1/xdocs]
> maven.pdf.pdfName               = [TestApp.pdf]
> maven.pdf.cover.projectCompany  = [SUNCOM]
> maven.pdf.cover.projectName     = [TestApp]
> maven.pdf.cover.type            = [Project Documentation]
> maven.pdf.cover.version         = [1.5.1]
> maven.pdf.cover.date            = [17 September 2005]
> maven.pdf.projectLogo           = []
> maven.pdf.companyLogo           = [logo.jpg]
> maven.jar.jimi                  = []
> maven.jar.jaicore               = []
> maven.jar.jaicodec              = []
> ==============================
> === pdf internal variables ===
> ==============================
> internal_pdf_workingDir         = [testapp\1.5.1/target/pdf]
> java_version                    = [1.4]
> maven_version                   = [1.0.2]
> 
> 
> pdf:prepare:
>     [copy] Copying 16 files to testapp\1.5.1\target\pdf
>     [copy] Copying 7 files to testapp\1.5.1\target\pdf
>     [copy] Copying 180 files to testapp\1.5.1\target\pdf
>     [copy] Copying 7 files to testapp\1.5.1\target\pdf
> 
> fo:fo:
>     [echo] Generating testapp\1.5.1/target/pdf/project.fo 
> from testapp\1.5.1/xdocs/navigation_pdf.xml ...
>     [java] Ungültige Option: imageDpi
>     [java] Ungültige Option: 72
>     [java]
> 
> pdf:pdf:
>     [echo] Generating testapp\1.5.1/target/pdf/TestApp.pdf ...
>     [echo] Config file: testapp\1.5.1/target/pdf/userconfig.xml
>     [java] [DEBUG] Input mode:
>     [java] [DEBUG] FO
>     [java] [DEBUG] fo input file: testapp\1.5.1\target\pdf\project.fo
>     [java] [DEBUG] Output mode:
>     [java] [DEBUG] pdf
>     [java] [DEBUG] output file: testapp\1.5.1\target\pdf\TestApp.pdf
>     [java] [DEBUG] OPTIONS
>     [java] [DEBUG] user configuration file:
> testapp\1.5.1\target\pdf\userconfig.xml
>     [java] [DEBUG] debug mode on
>     [java] [DEBUG] dump configuration
>     [java] [DEBUG] quiet mode on
>     [java] [INFO] Using org.apache.xerces.parsers.SAXParser 
> as SAX2 Parser
>     [java] [INFO] Using org.apache.xerces.parsers.SAXParser 
> as SAX2 Parser
>     [java] [INFO] base directory:
> file:/C:/daten/suncom/proj/imcNetworks/TestApp/corporate_audit
> /1.5.1/target/
> pdf/
>     [java] [INFO] FOP 0.20.5
>     [java] [INFO] Using org.apache.xerces.parsers.SAXParser 
> as SAX2 Parser
>     [java] [INFO] building formatting object tree
>     [java] [INFO] setting up fonts
>     [java] [INFO] Parsing of document complete, stopping renderer
>     [java] [DEBUG] Initial heap size: 377Kb
>     [java] [DEBUG] Current heap size: 734Kb
>     [java] [DEBUG] Total memory used: 356Kb
>     [java] [DEBUG]   Memory use is indicative; no GC was performed
>     [java] [DEBUG]   These figures should not be used comparatively
>     [java] [DEBUG] Total time used: 40ms
>     [java] [DEBUG] Pages rendered: 0
>     [java] [Fatal Error] :-1:-1: Premature end of file.
>     [java] [ERROR] Premature end of file.
>     [java] org.apache.fop.apps.FOPException: Premature end of file.
>     [java]    at org.apache.fop.apps.Driver.render(Driver.java:503)
>     [java]    at
> org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.
> java:106)
>     [java]    at org.apache.fop.apps.Fop.main(Fop.java:62)
>     [java]
>     [java] ---------
>     [java]
>     [java] org.xml.sax.SAXParseException: Premature end of file.
>     [java]    at 
> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
>     [java]    at org.apache.fop.apps.Driver.render(Driver.java:498)
>     [java]    at
> org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.
> java:106)
>     [java]    at org.apache.fop.apps.Fop.main(Fop.java:62)
>     [java]
>     [java] ---------
>     [java]
>     [java] org.xml.sax.SAXParseException: Premature end of file.
>     [java]    at 
> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
>     [java]    at org.apache.fop.apps.Driver.render(Driver.java:498)
>     [java]    at
> org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.
> java:106)
>     [java]    at org.apache.fop.apps.Fop.main(Fop.java:62)
>     [java] [ERROR] Java Result: 2
> Total time: 4 seconds
> Finished at: Sat Sep 17 09:37:34 GMT+01:00 2005
> --- snip ---
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to