You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by Andreas Lehmkühler <an...@lehmi.de> on 2015/11/02 11:58:31 UTC

Re: debugger-app


> John Hewson <jo...@jahewson.com> hat am 30. Oktober 2015 um 19:43 geschrieben:
> 
> 
> 
> > On 30 Oct 2015, at 03:50, Andreas Lehmkühler <an...@lehmi.de> wrote:
> > 
> >> 
> >> John Hewson <john@jahewson.com <ma...@jahewson.com>> hat am 30.
> >> Oktober 2015 um 08:28 geschrieben:
> >> 
> >> 
> >> 
> >>> On 30 Oct 2015, at 00:00, Andreas Lehmkuehler <an...@lehmi.de> wrote:
> >>> 
> >>> Hi,
> >>> 
> >>> Am 29.10.2015 um 07:34 schrieb John Hewson:
> >>>> Hi All,
> >>>> 
> >>>> I see we’ve ended up with both “debugger” and “debugger-app” modules. Can
> >>>> these be combined?
> >>> There are separate jars so that the debugger stuff can be used as
> >>> dependency
> >>> within other projects. The debugger-app can't be used that way.
> >> 
> >> The main reason for moving the debugger into its own jar was so that it
> >> wouldn’t become a dependency of other projects, i.e. so that it remains an
> >> API
> >> internal to PDFBox, because we have no intention of keeping it stable. That
> >> would seem to be in contradiction to the situation here.
> > 
> > I've found another consumer for the debugger.jar: our own standalone app
> > contains to debugger as well.
> 
> That explains it. Can’t we combine debugger-app and debugger though? All that
> debugger-app does is add a manifest - why not put than manifest inside the
> debugger
> jar itself?
The app jar contains the manifest and all libs which are needed to run the
debugger as standalone app. AFAIKT it can't be combined, as the debugger is used
withing the pdfbox app jar which has it's own manifest.

BR
Andreas

> 
> — John
> 
> > BR
> > Andreas
> >> 
> >> — John
> >> 
> >>> BR
> >>> Andreas
> >>>> 
> >>>> — John
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
> >>>> For additional commands, e-mail: dev-help@pdfbox.apache.org
> >>>> 
> >>> 
> >>> 
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
> >>> For additional commands, e-mail: dev-help@pdfbox.apache.org
> >>> 
> >> 
> >> 
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
> >> <ma...@pdfbox.apache.org>
> >> For additional commands, e-mail: dev-help@pdfbox.apache.org
> >> <ma...@pdfbox.apache.org>
> >> 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
> > <ma...@pdfbox.apache.org>
> > For additional commands, e-mail: dev-help@pdfbox.apache.org
> > <ma...@pdfbox.apache.org>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Re: debugger-app

Posted by John Hewson <jo...@jahewson.com>.
> On 3 Nov 2015, at 03:18, Andreas Lehmkühler <an...@lehmi.de> wrote:
> 
>> John Hewson <john@jahewson.com <ma...@jahewson.com>> hat am 2. November 2015 um 19:24 geschrieben:
>> 
>> 
>> 
>>> On 2 Nov 2015, at 02:58, Andreas Lehmkühler <an...@lehmi.de> wrote:
>>> 
>>> 
>>> 
>>>> John Hewson <jo...@jahewson.com> hat am 30. Oktober 2015 um 19:43
>>>> geschrieben:
>>>> 
>>>> 
>>>> 
>>>>> On 30 Oct 2015, at 03:50, Andreas Lehmkühler <an...@lehmi.de> wrote:
>>>>> 
>>>>>> 
>>>>>> John Hewson <john@jahewson.com <ma...@jahewson.com>> hat am 30.
>>>>>> Oktober 2015 um 08:28 geschrieben:
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>> On 30 Oct 2015, at 00:00, Andreas Lehmkuehler <an...@lehmi.de> wrote:
>>>>>>> 
>>>>>>> Hi,
>>>>>>> 
>>>>>>> Am 29.10.2015 um 07:34 schrieb John Hewson:
>>>>>>>> Hi All,
>>>>>>>> 
>>>>>>>> I see we’ve ended up with both “debugger” and “debugger-app” modules.
>>>>>>>> Can
>>>>>>>> these be combined?
>>>>>>> There are separate jars so that the debugger stuff can be used as
>>>>>>> dependency
>>>>>>> within other projects. The debugger-app can't be used that way.
>>>>>> 
>>>>>> The main reason for moving the debugger into its own jar was so that it
>>>>>> wouldn’t become a dependency of other projects, i.e. so that it remains
>>>>>> an
>>>>>> API
>>>>>> internal to PDFBox, because we have no intention of keeping it stable.
>>>>>> That
>>>>>> would seem to be in contradiction to the situation here.
>>>>> 
>>>>> I've found another consumer for the debugger.jar: our own standalone app
>>>>> contains to debugger as well.
>>>> 
>>>> That explains it. Can’t we combine debugger-app and debugger though? All
>>>> that
>>>> debugger-app does is add a manifest - why not put than manifest inside the
>>>> debugger
>>>> jar itself?
>>> The app jar contains the manifest and all libs which are needed to run the
>>> debugger as standalone app. AFAIKT it can't be combined, as the debugger is
>>> used
>>> withing the pdfbox app jar which has it's own manifest.
>> 
>> Why bundle the jars together? Shipping them side-by-side is just as good,
>> especially as
>> the 3rd party jbig2 and jpeg2000 jars (an optionally bouncy castle) have to be
>> shipped
>> on the side to actually provide all libraries that are needed to run the
>> debugger.
>> 
>> The same applies to pdfbox-app, I was told that this jar exists so that the
>> tools could be
>> run, back when they were in that jar, but now the tools are in their own jar,
>> yet we still
>> have pdfbox-app? Again, because it doesn’t actually bundle the required 3rd
>> party jars,
>> it’s not actually fulfilling any purpose.
>> 
>> I guess that applies to preflight-app, too. That’s another bundle which is
>> actually incomplete.
> No, all standalone app jars are as complete as intended. Only some optional jars
> (you've already mentioned jbig2 and jpeg2000) are missing due to their license.
> But those libs aren't needed for all pdfs, so that's not a big problem.

I still don’t see why we have the bundle jars at all - what purpose do they serve?

— John

> Andreas
> 
>> — John
>> 
>>> BR
>>> Andreas
>>> 
>>>> 
>>>> — John
>>>> 
>>>>> BR
>>>>> Andreas
>>>>>> 
>>>>>> — John
>>>>>> 
>>>>>>> BR
>>>>>>> Andreas
>>>>>>>> 
>>>>>>>> — John
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
>>>>>>>> For additional commands, e-mail: dev-help@pdfbox.apache.org
>>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
>>>>>>> For additional commands, e-mail: dev-help@pdfbox.apache.org
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
>>>>>> <ma...@pdfbox.apache.org>
>>>>>> For additional commands, e-mail: dev-help@pdfbox.apache.org
>>>>>> <ma...@pdfbox.apache.org>
>>>>>> 
>>>>> 
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
>>>>> <ma...@pdfbox.apache.org>
>>>>> For additional commands, e-mail: dev-help@pdfbox.apache.org
>>>>> <ma...@pdfbox.apache.org>
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
>>> For additional commands, e-mail: dev-help@pdfbox.apache.org
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org <ma...@pdfbox.apache.org>
>> For additional commands, e-mail: dev-help@pdfbox.apache.org <ma...@pdfbox.apache.org>
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org <ma...@pdfbox.apache.org>
> For additional commands, e-mail: dev-help@pdfbox.apache.org <ma...@pdfbox.apache.org>

Re: debugger-app

Posted by Andreas Lehmkühler <an...@lehmi.de>.
> John Hewson <jo...@jahewson.com> hat am 2. November 2015 um 19:24 geschrieben:
> 
> 
> 
> > On 2 Nov 2015, at 02:58, Andreas Lehmkühler <an...@lehmi.de> wrote:
> > 
> > 
> > 
> >> John Hewson <jo...@jahewson.com> hat am 30. Oktober 2015 um 19:43
> >> geschrieben:
> >> 
> >> 
> >> 
> >>> On 30 Oct 2015, at 03:50, Andreas Lehmkühler <an...@lehmi.de> wrote:
> >>> 
> >>>> 
> >>>> John Hewson <john@jahewson.com <ma...@jahewson.com>> hat am 30.
> >>>> Oktober 2015 um 08:28 geschrieben:
> >>>> 
> >>>> 
> >>>> 
> >>>>> On 30 Oct 2015, at 00:00, Andreas Lehmkuehler <an...@lehmi.de> wrote:
> >>>>> 
> >>>>> Hi,
> >>>>> 
> >>>>> Am 29.10.2015 um 07:34 schrieb John Hewson:
> >>>>>> Hi All,
> >>>>>> 
> >>>>>> I see we’ve ended up with both “debugger” and “debugger-app” modules.
> >>>>>> Can
> >>>>>> these be combined?
> >>>>> There are separate jars so that the debugger stuff can be used as
> >>>>> dependency
> >>>>> within other projects. The debugger-app can't be used that way.
> >>>> 
> >>>> The main reason for moving the debugger into its own jar was so that it
> >>>> wouldn’t become a dependency of other projects, i.e. so that it remains
> >>>> an
> >>>> API
> >>>> internal to PDFBox, because we have no intention of keeping it stable.
> >>>> That
> >>>> would seem to be in contradiction to the situation here.
> >>> 
> >>> I've found another consumer for the debugger.jar: our own standalone app
> >>> contains to debugger as well.
> >> 
> >> That explains it. Can’t we combine debugger-app and debugger though? All
> >> that
> >> debugger-app does is add a manifest - why not put than manifest inside the
> >> debugger
> >> jar itself?
> > The app jar contains the manifest and all libs which are needed to run the
> > debugger as standalone app. AFAIKT it can't be combined, as the debugger is
> > used
> > withing the pdfbox app jar which has it's own manifest.
> 
> Why bundle the jars together? Shipping them side-by-side is just as good,
> especially as
> the 3rd party jbig2 and jpeg2000 jars (an optionally bouncy castle) have to be
> shipped
> on the side to actually provide all libraries that are needed to run the
> debugger.
> 
> The same applies to pdfbox-app, I was told that this jar exists so that the
> tools could be
> run, back when they were in that jar, but now the tools are in their own jar,
> yet we still
> have pdfbox-app? Again, because it doesn’t actually bundle the required 3rd
> party jars,
> it’s not actually fulfilling any purpose.
> 
> I guess that applies to preflight-app, too. That’s another bundle which is
> actually incomplete.
No, all standalone app jars are as complete as intended. Only some optional jars
(you've already mentioned jbig2 and jpeg2000) are missing due to their license.
But those libs aren't needed for all pdfs, so that's not a big problem.

Andreas

> — John
> 
> > BR
> > Andreas
> > 
> >> 
> >> — John
> >> 
> >>> BR
> >>> Andreas
> >>>> 
> >>>> — John
> >>>> 
> >>>>> BR
> >>>>> Andreas
> >>>>>> 
> >>>>>> — John
> >>>>>> ---------------------------------------------------------------------
> >>>>>> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
> >>>>>> For additional commands, e-mail: dev-help@pdfbox.apache.org
> >>>>>> 
> >>>>> 
> >>>>> 
> >>>>> ---------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
> >>>>> For additional commands, e-mail: dev-help@pdfbox.apache.org
> >>>>> 
> >>>> 
> >>>> 
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
> >>>> <ma...@pdfbox.apache.org>
> >>>> For additional commands, e-mail: dev-help@pdfbox.apache.org
> >>>> <ma...@pdfbox.apache.org>
> >>>> 
> >>> 
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
> >>> <ma...@pdfbox.apache.org>
> >>> For additional commands, e-mail: dev-help@pdfbox.apache.org
> >>> <ma...@pdfbox.apache.org>
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
> > For additional commands, e-mail: dev-help@pdfbox.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: dev-help@pdfbox.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Re: debugger-app

Posted by John Hewson <jo...@jahewson.com>.
> On 2 Nov 2015, at 02:58, Andreas Lehmkühler <an...@lehmi.de> wrote:
> 
> 
> 
>> John Hewson <jo...@jahewson.com> hat am 30. Oktober 2015 um 19:43 geschrieben:
>> 
>> 
>> 
>>> On 30 Oct 2015, at 03:50, Andreas Lehmkühler <an...@lehmi.de> wrote:
>>> 
>>>> 
>>>> John Hewson <john@jahewson.com <ma...@jahewson.com>> hat am 30.
>>>> Oktober 2015 um 08:28 geschrieben:
>>>> 
>>>> 
>>>> 
>>>>> On 30 Oct 2015, at 00:00, Andreas Lehmkuehler <an...@lehmi.de> wrote:
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> Am 29.10.2015 um 07:34 schrieb John Hewson:
>>>>>> Hi All,
>>>>>> 
>>>>>> I see we’ve ended up with both “debugger” and “debugger-app” modules. Can
>>>>>> these be combined?
>>>>> There are separate jars so that the debugger stuff can be used as
>>>>> dependency
>>>>> within other projects. The debugger-app can't be used that way.
>>>> 
>>>> The main reason for moving the debugger into its own jar was so that it
>>>> wouldn’t become a dependency of other projects, i.e. so that it remains an
>>>> API
>>>> internal to PDFBox, because we have no intention of keeping it stable. That
>>>> would seem to be in contradiction to the situation here.
>>> 
>>> I've found another consumer for the debugger.jar: our own standalone app
>>> contains to debugger as well.
>> 
>> That explains it. Can’t we combine debugger-app and debugger though? All that
>> debugger-app does is add a manifest - why not put than manifest inside the
>> debugger
>> jar itself?
> The app jar contains the manifest and all libs which are needed to run the
> debugger as standalone app. AFAIKT it can't be combined, as the debugger is used
> withing the pdfbox app jar which has it's own manifest.

Why bundle the jars together? Shipping them side-by-side is just as good, especially as
the 3rd party jbig2 and jpeg2000 jars (an optionally bouncy castle) have to be shipped
on the side to actually provide all libraries that are needed to run the debugger.

The same applies to pdfbox-app, I was told that this jar exists so that the tools could be
run, back when they were in that jar, but now the tools are in their own jar, yet we still
have pdfbox-app? Again, because it doesn’t actually bundle the required 3rd party jars,
it’s not actually fulfilling any purpose.

I guess that applies to preflight-app, too. That’s another bundle which is actually incomplete.

— John

> BR
> Andreas
> 
>> 
>> — John
>> 
>>> BR
>>> Andreas
>>>> 
>>>> — John
>>>> 
>>>>> BR
>>>>> Andreas
>>>>>> 
>>>>>> — John
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
>>>>>> For additional commands, e-mail: dev-help@pdfbox.apache.org
>>>>>> 
>>>>> 
>>>>> 
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
>>>>> For additional commands, e-mail: dev-help@pdfbox.apache.org
>>>>> 
>>>> 
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
>>>> <ma...@pdfbox.apache.org>
>>>> For additional commands, e-mail: dev-help@pdfbox.apache.org
>>>> <ma...@pdfbox.apache.org>
>>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
>>> <ma...@pdfbox.apache.org>
>>> For additional commands, e-mail: dev-help@pdfbox.apache.org
>>> <ma...@pdfbox.apache.org>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: dev-help@pdfbox.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org