Test fails with JDK 1.5+ if base directory has a space in its path ------------------------------------------------------------------
Key: MPDF-17 URL: http://jira.codehaus.org/browse/MPDF-17 Project: Maven 2.x PDF Plugin Issue Type: Bug Affects Versions: 1.0 Environment: windows (I guess), jdk 1.5+ Reporter: Lukas Theussl stack trace posted by Benjamin: {noformat} ------------------------------------------------------------------------------- Test set: org.apache.maven.plugins.pdf.PdfMojoTest ------------------------------------------------------------------------------- Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 15.453 sec <<< FAILURE! testITextImpl(org.apache.maven.plugins.pdf.PdfMojoTest) Time elapsed: 2.594 sec <<< ERROR! org.apache.maven.plugin.MojoExecutionException: Error during document generation at org.apache.maven.plugins.pdf.PdfMojo.execute(PdfMojo.java:269) at org.apache.maven.plugins.pdf.PdfMojoTest.testITextImpl(PdfMojoTest.java:89) Caused by: org.apache.maven.doxia.docrenderer.DocumentRendererException: Error transforming Document [#document: null]: java.io.FileNotFoundException: M:\Neuer%20Ordner\maven-pdf-plugin-1.0\target\test-output\pdf\maven-pdf-plugin-doc.xml (Das System kann den angegebenen Pfad nicht finden) at org.apache.maven.doxia.docrenderer.pdf.itext.ITextPdfRenderer.transform(ITextPdfRenderer.java:485) at org.apache.maven.doxia.docrenderer.pdf.itext.ITextPdfRenderer.render(ITextPdfRenderer.java:178) at org.apache.maven.doxia.docrenderer.AbstractDocumentRenderer.render(AbstractDocumentRenderer.java:109) at org.apache.maven.plugins.pdf.PdfMojo.execute(PdfMojo.java:260) ... 27 more {noformat} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira