PDFBox
  1. PDFBox
  2. PDFBOX-752

Move Lucene and Ant code into separate components

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: Utilities
    • Labels:
      None

      Description

      As discussed on dev@, it would be good to get rid of the optional Lucene and Ant dependencies in the main PDFBox jar. The easiest way to do that without dropping existing code is to move the Lucene and Ant integration code into separate components.

        Activity

        Andreas Lehmkühler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Jukka Zitting added a comment -

        BTW, I moved the Lucene integration code from o.a.p.searchengine.lucene to o.a.p.lucene to avoid the extra package level. I left deprecated classes in o.a.p.searchengine.lucene for backwards compatibility.

        Show
        Jukka Zitting added a comment - BTW, I moved the Lucene integration code from o.a.p.searchengine.lucene to o.a.p.lucene to avoid the extra package level. I left deprecated classes in o.a.p.searchengine.lucene for backwards compatibility.
        Jukka Zitting made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Jukka Zitting added a comment -

        This is now done, see revisions 956548 and 956551.

        The new pdfbox-lucene and pdfbox-ant components produce small jars that contain the Lucene and Ant integration classes. It might be better to make them into standalone jars like pdfbox-app, but the inclusion of commons-logging is a bit troublesome. Perhaps we should consider dropping commons-logging in favor of standard java.util.logging to get rid of the extra dependency.

        Show
        Jukka Zitting added a comment - This is now done, see revisions 956548 and 956551. The new pdfbox-lucene and pdfbox-ant components produce small jars that contain the Lucene and Ant integration classes. It might be better to make them into standalone jars like pdfbox-app, but the inclusion of commons-logging is a bit troublesome. Perhaps we should consider dropping commons-logging in favor of standard java.util.logging to get rid of the extra dependency.
        Jukka Zitting created issue -

          People

          • Assignee:
            Jukka Zitting
            Reporter:
            Jukka Zitting
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development