You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by Daniel Wilson <wi...@gmail.com> on 2015/09/30 23:11:35 UTC
Using TestPDFToImage
Following the rework done in PDFBOX-1695, how does one invoke
TestPDFToImage? The ant build used to call it, but that is no longer
working ... because the method it called has been removed.
The comments say it works by default to accomplish the same thing it did
before. But what is the recommended invocation for it?
Thanks!
Daniel
Re: Using TestPDFToImage
Posted by Ben McCann <be...@benmccann.com>.
You might want to check out PDFBOX-1843
<https://issues.apache.org/jira/browse/PDFBOX-1843>
On Wed, Sep 30, 2015 at 2:11 PM, Daniel Wilson <
williamstonconsulting@gmail.com> wrote:
> Following the rework done in PDFBOX-1695, how does one invoke
> TestPDFToImage? The ant build used to call it, but that is no longer
> working ... because the method it called has been removed.
>
> The comments say it works by default to accomplish the same thing it did
> before. But what is the recommended invocation for it?
>
> Thanks!
>
> Daniel
>
--
about.me/benmccann
Re: Using TestPDFToImage
Posted by Daniel Wilson <wi...@gmail.com>.
Thanks, Tilman, that was a huge help!
On Thu, Oct 1, 2015 at 3:39 AM, Tilman Hausherr <TH...@t-online.de>
wrote:
> Am 01.10.2015 um 06:51 schrieb Daniel Wilson:
>
> Tilman, yours appears the most elegant answer. What IDE do you recommend
> that somehow ties this to its "test" button? I'm more of a .Net guy than
> Java. Thanks!
>
>
> Netbeans, of course :-)
>
> - install
> - in the menu, go to "Team", "Subversion", "Checkout"
> - enter the project URL http://svn.apache.org/repos/asf/pdfbox/trunk (use
> https if you want to make changes, in that case you have to enter username
> and password) and fill the fields
> - when asked whether to make a project, press "open project":
>
> - there's a dialogbox that asks to chose a project, just select the top
> and PDFBox subproject and press Open: (but you can also the subproject(s)
> later)
>
> - build the project by right-clicking and choosing build:
>
>
> (if the biditest fails, delete the @Test lines in the biditest.java file)
>
> - to run TestPDFToImage, right-click on the project and press "Find" to
> find it
>
> Of course you need to fill the directory
>
> pdfbox reactor\pdfbox\src\test\resources\input\rendering
>
> with stuff that matches on your PC. The stuff from the repository doesn't match.
>
>
> Tilman
>
>
> On Wed, Sep 30, 2015 at 5:16 PM, Tilman Hausherr <TH...@t-online.de> <TH...@t-online.de>
> wrote:
>
>
> Am 30.09.2015 um 23:11 schrieb Daniel Wilson:
>
>
> Following the rework done in PDFBOX-1695, how does one invoke
> TestPDFToImage? The ant build used to call it, but that is no longer
> working ... because the method it called has been removed.
>
> The comments say it works by default to accomplish the same thing it did
> before. But what is the recommended invocation for it?
>
>
>
> I just open the file and press "test" in my IDE. The input data (PDF files
> and their renderings) is in
>
> pdfbox reactor\pdfbox\src\test\resources\input\rendering
>
> and the output can be found in
>
> pdfbox reactor\pdfbox\target\test-output\rendering
>
>
> A few tests (about acroform stuff) also call it directly.
>
> Tilman
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: dev-help@pdfbox.apache.org
>
>
>
Re: Using TestPDFToImage
Posted by Tilman Hausherr <TH...@t-online.de>.
Am 01.10.2015 um 06:51 schrieb Daniel Wilson:
> Tilman, yours appears the most elegant answer. What IDE do you recommend
> that somehow ties this to its "test" button? I'm more of a .Net guy than
> Java. Thanks!
Netbeans, of course :-)
- install
- in the menu, go to "Team", "Subversion", "Checkout"
- enter the project URL http://svn.apache.org/repos/asf/pdfbox/trunk
(use https if you want to make changes, in that case you have to enter
username and password) and fill the fields
- when asked whether to make a project, press "open project":
- there's a dialogbox that asks to chose a project, just select the top
and PDFBox subproject and press Open: (but you can also the
subproject(s) later)
- build the project by right-clicking and choosing build:
(if the biditest fails, delete the @Test lines in the biditest.java file)
- to run TestPDFToImage, right-click on the project and press "Find" to
find it
Of course you need to fill the directory
pdfbox reactor\pdfbox\src\test\resources\input\rendering
with stuff that matches on your PC. The stuff from the repository doesn't match.
Tilman
>
> On Wed, Sep 30, 2015 at 5:16 PM, Tilman Hausherr <TH...@t-online.de>
> wrote:
>
>> Am 30.09.2015 um 23:11 schrieb Daniel Wilson:
>>
>>> Following the rework done in PDFBOX-1695, how does one invoke
>>> TestPDFToImage? The ant build used to call it, but that is no longer
>>> working ... because the method it called has been removed.
>>>
>>> The comments say it works by default to accomplish the same thing it did
>>> before. But what is the recommended invocation for it?
>>>
>>>
>> I just open the file and press "test" in my IDE. The input data (PDF files
>> and their renderings) is in
>>
>> pdfbox reactor\pdfbox\src\test\resources\input\rendering
>>
>> and the output can be found in
>>
>> pdfbox reactor\pdfbox\target\test-output\rendering
>>
>>
>> A few tests (about acroform stuff) also call it directly.
>>
>> Tilman
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
>> For additional commands, e-mail: dev-help@pdfbox.apache.org
>>
>>
Re: Using TestPDFToImage
Posted by Daniel Wilson <wi...@gmail.com>.
Tilman, yours appears the most elegant answer. What IDE do you recommend
that somehow ties this to its "test" button? I'm more of a .Net guy than
Java. Thanks!
On Wed, Sep 30, 2015 at 5:16 PM, Tilman Hausherr <TH...@t-online.de>
wrote:
> Am 30.09.2015 um 23:11 schrieb Daniel Wilson:
>
>> Following the rework done in PDFBOX-1695, how does one invoke
>> TestPDFToImage? The ant build used to call it, but that is no longer
>> working ... because the method it called has been removed.
>>
>> The comments say it works by default to accomplish the same thing it did
>> before. But what is the recommended invocation for it?
>>
>>
> I just open the file and press "test" in my IDE. The input data (PDF files
> and their renderings) is in
>
> pdfbox reactor\pdfbox\src\test\resources\input\rendering
>
> and the output can be found in
>
> pdfbox reactor\pdfbox\target\test-output\rendering
>
>
> A few tests (about acroform stuff) also call it directly.
>
> Tilman
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: dev-help@pdfbox.apache.org
>
>
Re: Using TestPDFToImage
Posted by Tilman Hausherr <TH...@t-online.de>.
Am 30.09.2015 um 23:11 schrieb Daniel Wilson:
> Following the rework done in PDFBOX-1695, how does one invoke
> TestPDFToImage? The ant build used to call it, but that is no longer
> working ... because the method it called has been removed.
>
> The comments say it works by default to accomplish the same thing it did
> before. But what is the recommended invocation for it?
>
I just open the file and press "test" in my IDE. The input data (PDF
files and their renderings) is in
pdfbox reactor\pdfbox\src\test\resources\input\rendering
and the output can be found in
pdfbox reactor\pdfbox\target\test-output\rendering
A few tests (about acroform stuff) also call it directly.
Tilman
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org