After unsuccessfully trying the bundled plugin I downloaded 2.4 and the output comes from this version. I have put a little example in the file and placed it under http://www.suncom.info/~stefan/1.5.1jira.zip. I will also put it to JIRA.
Stefan -----Original Message----- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: Saturday, September 17, 2005 5:43 PM To: 'Maven Users List' Subject: RE: Cannat generate PDF This file is (should be) generated by the plugin itself. What is the version of the pdf plugin ? The one bundled in maven 1.0.2 ? Arnaud > > Hello Arnaud, > > the xdocs seem to be fine as far as I can tell. I dont have > any images in the xdocs. > The project.fo file has just this one line: > --- snip --- > <?xml version="1.0" encoding="UTF-8"?> > --- snip --- > Could it be that I have to add some content here myself? > > Thanks, > Stefan > > -----Original Message----- > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] > Sent: Saturday, September 17, 2005 3:34 PM > To: 'Maven Users List' > Subject: RE: Cannat generate PDF > > > 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] > > > > > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
