You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Guillaume Bailleul (Created) (JIRA)" <ji...@apache.org> on 2011/12/07 07:28:39 UTC

[jira] [Created] (PDFBOX-1187) Cut dependency between pdfbox and jempbox

Cut dependency between pdfbox and jempbox
-----------------------------------------

                 Key: PDFBOX-1187
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1187
             Project: PDFBox
          Issue Type: Wish
          Components: PDModel
            Reporter: Guillaume Bailleul
            Assignee: Guillaume Bailleul
            Priority: Minor
             Fix For: 1.7.0
         Attachments: cut_jempbox.patch

pdfbox artifact depends on jempbox only in PDMetadata class where two methods export or import XMPMetadata :
* exportXMPMetadata
* importXMPMetadata

The work on serializing/unserializing could be done in the calling code without complexity (see attached patch)

Please give opinion

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PDFBOX-1187) Cut dependency between pdfbox and jempbox

Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler updated PDFBOX-1187:
---------------------------------------

    Fix Version/s:     (was: 1.7.0)
                   2.0.0
    
> Cut dependency between pdfbox and jempbox
> -----------------------------------------
>
>                 Key: PDFBOX-1187
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1187
>             Project: PDFBox
>          Issue Type: Wish
>          Components: PDModel
>            Reporter: Guillaume Bailleul
>            Assignee: Guillaume Bailleul
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: cut_jempbox.patch
>
>
> pdfbox artifact depends on jempbox only in PDMetadata class where two methods export or import XMPMetadata :
> * exportXMPMetadata
> * importXMPMetadata
> The work on serializing/unserializing could be done in the calling code without complexity (see attached patch)
> Please give opinion

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (PDFBOX-1187) Cut dependency between pdfbox and jempbox

Posted by "Jukka Zitting (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13173351#comment-13173351 ] 

Jukka Zitting commented on PDFBOX-1187:
---------------------------------------

The trouble with this is that it breaks binary compatiblity, so if we want to do this, we should then upgrade PDFBox version number to 2.x. As a first step the methods should be deprecated in a 1.x release.

Another alternative, in case we plan to deprecate JempBox in favor of XmpBox, would be to move the org.apache.jempbox code into pdfbox so we'd neither need the dependency nor break API compatibility.
                
> Cut dependency between pdfbox and jempbox
> -----------------------------------------
>
>                 Key: PDFBOX-1187
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1187
>             Project: PDFBox
>          Issue Type: Wish
>          Components: PDModel
>            Reporter: Guillaume Bailleul
>            Assignee: Guillaume Bailleul
>            Priority: Minor
>             Fix For: 1.7.0
>
>         Attachments: cut_jempbox.patch
>
>
> pdfbox artifact depends on jempbox only in PDMetadata class where two methods export or import XMPMetadata :
> * exportXMPMetadata
> * importXMPMetadata
> The work on serializing/unserializing could be done in the calling code without complexity (see attached patch)
> Please give opinion

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PDFBOX-1187) Cut dependency between pdfbox and jempbox

Posted by "Guillaume Bailleul (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Bailleul updated PDFBOX-1187:
---------------------------------------

    Attachment: cut_jempbox.patch

e8a5feffbab3e500c5dbc1d158086e7b44c552b5  cut_jempbox.patch

                
> Cut dependency between pdfbox and jempbox
> -----------------------------------------
>
>                 Key: PDFBOX-1187
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1187
>             Project: PDFBox
>          Issue Type: Wish
>          Components: PDModel
>            Reporter: Guillaume Bailleul
>            Assignee: Guillaume Bailleul
>            Priority: Minor
>             Fix For: 1.7.0
>
>         Attachments: cut_jempbox.patch
>
>
> pdfbox artifact depends on jempbox only in PDMetadata class where two methods export or import XMPMetadata :
> * exportXMPMetadata
> * importXMPMetadata
> The work on serializing/unserializing could be done in the calling code without complexity (see attached patch)
> Please give opinion

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PDFBOX-1187) Cut dependency between pdfbox and jempbox

Posted by "Jukka Zitting (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176647#comment-13176647 ] 

Jukka Zitting commented on PDFBOX-1187:
---------------------------------------

The idea of moving (at least parts of) JempBox code to the PDFBox jar was to avoid having to break PDFBox API compatibility even if we otherwise wanted to drop JempBox. We could achieve this by moving the relevant parts of JempBox (i.e. the XMPMetadata class and any other code needed to implement the existing PDFBox API) to inside the PDFBox jar and dropping the rest of JempBox.

Of course, that's conditional on the decision of what to do with JempBox. Let's discuss that on dev@.
                
> Cut dependency between pdfbox and jempbox
> -----------------------------------------
>
>                 Key: PDFBOX-1187
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1187
>             Project: PDFBox
>          Issue Type: Wish
>          Components: PDModel
>            Reporter: Guillaume Bailleul
>            Assignee: Guillaume Bailleul
>            Priority: Minor
>             Fix For: 1.7.0
>
>         Attachments: cut_jempbox.patch
>
>
> pdfbox artifact depends on jempbox only in PDMetadata class where two methods export or import XMPMetadata :
> * exportXMPMetadata
> * importXMPMetadata
> The work on serializing/unserializing could be done in the calling code without complexity (see attached patch)
> Please give opinion

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PDFBOX-1187) Cut dependency between pdfbox and jempbox

Posted by "Guillaume Bailleul (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176457#comment-13176457 ] 

Guillaume Bailleul commented on PDFBOX-1187:
--------------------------------------------

I agree with methods deprecation in 1.x release. 

I am not sure I understand why moving jempbox code in pdfbox. In my opinion, jempbox can remain as a standalone artefact whatever the choice about jempbox and xmpbox.
                
> Cut dependency between pdfbox and jempbox
> -----------------------------------------
>
>                 Key: PDFBOX-1187
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1187
>             Project: PDFBox
>          Issue Type: Wish
>          Components: PDModel
>            Reporter: Guillaume Bailleul
>            Assignee: Guillaume Bailleul
>            Priority: Minor
>             Fix For: 1.7.0
>
>         Attachments: cut_jempbox.patch
>
>
> pdfbox artifact depends on jempbox only in PDMetadata class where two methods export or import XMPMetadata :
> * exportXMPMetadata
> * importXMPMetadata
> The work on serializing/unserializing could be done in the calling code without complexity (see attached patch)
> Please give opinion

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira