|
From: Ryan M. <rmc...@sa...> - 2008-06-26 12:26:56
|
No reason I suppose. I'll make that change.
Ryan-
On 6/26/08 7:51 AM, "Martin Algesten" <sp...@ma...> wrote:
>
> This is a minor I suppose.
>
> Just had a quick look at the code. Is there a reason the test data is
> under src/test/test-data rather than maven style src/test/resources
> where it would get automatically copied to the class output where it
> could be read using ClassLoader.getResourceAsStream()?
>
> Two files involved me thinks:
>
> TestDataSourceProvider.java: File file = new File("./src/test/test-
> data/harper.jpg");
> TestIIOImageProvider.java: private static final String SRC_ROOT =
> "./src/test/test-data/";
> TestIIOImageProvider.java: private static final String OUTPUT_ROOT
> = "./target/test-data/";
>
> M
>
> On 25 Jun 2008, at 04:28, Ryan J. McDonough wrote:
>
>> I just committed a IIOImageProvider that could be useful if you need/
>> want to handle image data. However, in the process I came across an
>> issue when trying to throw a WebApplictaionException from the
>> provider. The provider handles image/* since if you may have an
>> ImageIO plugin to read additional image formats beyond what the stock
>> JDK offers. If the provider cannot read the image, it attempts to
>> throw a WebApplictaionException issuing a 406 response with the list
>> of variants that the provider can support. However, the client always
>> gets a 400 response. I have logged the defect here:
>>
>> http://jira.jboss.com/jira/browse/RESTEASY-63
>>
>> Additionally, I also made some tweaks to the pom's by adding more
>> project information and additional reports.
>>
>> Ryan-
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> Resteasy-developers mailing list
>> Res...@li...
>> https://lists.sourceforge.net/lists/listinfo/resteasy-developers
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Resteasy-developers mailing list
> Res...@li...
> https://lists.sourceforge.net/lists/listinfo/resteasy-developers
Ryan J. McDonough
Platform, Specialist Java EE | Sapient
131 Dartmouth St.
Boston, MA 02116
mobile: +1 508 735 4503
fax: +1 617 621 1300
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.
|