You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2009/12/15 22:29:55 UTC

[jira] Created: (MPDF-32) PDF generation fails due to velocity template error

PDF generation fails due to velocity template error
---------------------------------------------------

                 Key: MPDF-32
                 URL: http://jira.codehaus.org/browse/MPDF-32
             Project: Maven 2.x PDF Plugin
          Issue Type: Bug
    Affects Versions: 1.1
         Environment: Maven 2.0.10 JDK6, XP SP3
            Reporter: Michael Osipov
         Attachments: pdf.log

I was trying to run mvn pdf:pdf and it suddenly failed. See attached log. The failing template works flawlessly with the site goal.

-- 
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

        

[jira] Commented: (MPDF-32) PDF generation fails due to velocity template error

Posted by "Michael Osipov (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPDF-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=203043#action_203043 ] 

Michael Osipov commented on MPDF-32:
------------------------------------

Lukas, you can omit the externals all together. They are not necessary to reproduce. However, the issue is caused by your svn client. It's too old. You need at least 1.5.2. Version 1.5.1 has a nasty bug altough it supports the new svn:externals format.

> PDF generation fails due to velocity template error
> ---------------------------------------------------
>
>                 Key: MPDF-32
>                 URL: http://jira.codehaus.org/browse/MPDF-32
>             Project: Maven 2.x PDF Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Maven 2.0.10 JDK6, XP SP3
>            Reporter: Michael Osipov
>         Attachments: pdf.log
>
>
> I was trying to run mvn pdf:pdf and it suddenly failed. See attached log. The failing template works flawlessly with the site goal.

-- 
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

        

[jira] Commented: (MPDF-32) PDF generation fails due to velocity template error

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPDF-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=203035#action_203035 ] 

Lukas Theussl commented on MPDF-32:
-----------------------------------

First, I got an error checking out your project:

{noformat}
svn: Error parsing svn:externals property on 'fckeditor/java-demo/src/main/webapp': '-r 4273 ^/FCKeditor/releases/stable/ fckeditor'
{noformat}

However, the code got checked out and I could reproduce your error. Then I copied your upgrade_notes.apt.vm into a project of mine and I didn't get the parsing error. I will check where the difference comes from, but for now I stumbled upon MPDF-33, which needs to be fixed first.

> PDF generation fails due to velocity template error
> ---------------------------------------------------
>
>                 Key: MPDF-32
>                 URL: http://jira.codehaus.org/browse/MPDF-32
>             Project: Maven 2.x PDF Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Maven 2.0.10 JDK6, XP SP3
>            Reporter: Michael Osipov
>         Attachments: pdf.log
>
>
> I was trying to run mvn pdf:pdf and it suddenly failed. See attached log. The failing template works flawlessly with the site goal.

-- 
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

        

[jira] Updated: (MPDF-32) PDF generation fails due to velocity template error

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPDF-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl updated MPDF-32:
------------------------------

    Fix Version/s:     (was: 1.2)

> PDF generation fails due to velocity template error
> ---------------------------------------------------
>
>                 Key: MPDF-32
>                 URL: http://jira.codehaus.org/browse/MPDF-32
>             Project: Maven 2.x PDF Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Maven 2.0.10 JDK6, XP SP3
>            Reporter: Michael Osipov
>         Attachments: pdf.log
>
>
> I was trying to run mvn pdf:pdf and it suddenly failed. See attached log. The failing template works flawlessly with the site goal.

-- 
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

        

[jira] Commented: (MPDF-32) PDF generation fails due to velocity template error

Posted by "Michael Osipov (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPDF-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=202761#action_202761 ] 

Michael Osipov commented on MPDF-32:
------------------------------------

You can check out my code at https://svn.fckeditor.net/FCKeditor.Java/trunk/ to reproduce the error.

> PDF generation fails due to velocity template error
> ---------------------------------------------------
>
>                 Key: MPDF-32
>                 URL: http://jira.codehaus.org/browse/MPDF-32
>             Project: Maven 2.x PDF Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Maven 2.0.10 JDK6, XP SP3
>            Reporter: Michael Osipov
>         Attachments: pdf.log
>
>
> I was trying to run mvn pdf:pdf and it suddenly failed. See attached log. The failing template works flawlessly with the site goal.

-- 
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

        

[jira] Updated: (MPDF-32) PDF generation fails due to velocity template error

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPDF-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl updated MPDF-32:
------------------------------

    Fix Version/s: 1.2

> PDF generation fails due to velocity template error
> ---------------------------------------------------
>
>                 Key: MPDF-32
>                 URL: http://jira.codehaus.org/browse/MPDF-32
>             Project: Maven 2.x PDF Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Maven 2.0.10 JDK6, XP SP3
>            Reporter: Michael Osipov
>             Fix For: 1.2
>
>         Attachments: pdf.log
>
>
> I was trying to run mvn pdf:pdf and it suddenly failed. See attached log. The failing template works flawlessly with the site goal.

-- 
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

        

[jira] Closed: (MPDF-32) PDF generation fails due to velocity template error

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPDF-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl closed MPDF-32.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 1.2
         Assignee: Lukas Theussl

Fixed with MPDF-49.

> PDF generation fails due to velocity template error
> ---------------------------------------------------
>
>                 Key: MPDF-32
>                 URL: http://jira.codehaus.org/browse/MPDF-32
>             Project: Maven 2.x PDF Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Maven 2.0.10 JDK6, XP SP3
>            Reporter: Michael Osipov
>            Assignee: Lukas Theussl
>             Fix For: 1.2
>
>         Attachments: pdf.log
>
>
> I was trying to run mvn pdf:pdf and it suddenly failed. See attached log. The failing template works flawlessly with the site goal.

-- 
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

        

[jira] Commented: (MPDF-32) PDF generation fails due to velocity template error

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPDF-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246707#action_246707 ] 

Lukas Theussl commented on MPDF-32:
-----------------------------------

The reason for this is a different velocity dependency in the doxia-doc-renderer, see DOXIASITETOOLS-42. This will probably not go into the next pdf release as we have to wait for another doxia release.

> PDF generation fails due to velocity template error
> ---------------------------------------------------
>
>                 Key: MPDF-32
>                 URL: http://jira.codehaus.org/browse/MPDF-32
>             Project: Maven 2.x PDF Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Maven 2.0.10 JDK6, XP SP3
>            Reporter: Michael Osipov
>             Fix For: 1.2
>
>         Attachments: pdf.log
>
>
> I was trying to run mvn pdf:pdf and it suddenly failed. See attached log. The failing template works flawlessly with the site goal.

-- 
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

        

[jira] Commented: (MPDF-32) PDF generation fails due to velocity template error

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPDF-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=203185#action_203185 ] 

Lukas Theussl commented on MPDF-32:
-----------------------------------

1.5.1 is too old? Guess what, I was using 1.3.6... :)

Anyway, MPDF-33 was a false alarm, I can reproduce your error.

> PDF generation fails due to velocity template error
> ---------------------------------------------------
>
>                 Key: MPDF-32
>                 URL: http://jira.codehaus.org/browse/MPDF-32
>             Project: Maven 2.x PDF Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Maven 2.0.10 JDK6, XP SP3
>            Reporter: Michael Osipov
>         Attachments: pdf.log
>
>
> I was trying to run mvn pdf:pdf and it suddenly failed. See attached log. The failing template works flawlessly with the site goal.

-- 
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