incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Costin Leau (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GRFT-39) Dont use File file = new File() for reading file, use InputStream
Date Sun, 02 Oct 2005 15:59:47 GMT
    [ http://issues.apache.org/jira/browse/GRFT-39?page=comments#action_12331082 ] 

Costin Leau commented on GRFT-39:
---------------------------------

check out upcoming the new jcr.mapping package from jcr-support in Spring Modules. It will
be available next week on the CVS.

> Dont use File file = new File() for reading file, use InputStream
> -----------------------------------------------------------------
>
>          Key: GRFT-39
>          URL: http://issues.apache.org/jira/browse/GRFT-39
>      Project: Graffito
>         Type: Bug
>   Components: JCR-Mapping
>     Versions: 1.0-a1-dev
>     Reporter: Martin Koci
>     Priority: Minor
>  Attachments: DisgesterDescriptorReader.patch, DisgesterMapperImpl.patch
>
> See http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html
> File file = new File() dont work in jar.
> I use Spring framework org.springframework.core.io.Resource abstraction - it works in
jar, servlet, test ... everywhere. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message