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


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

Reply via email to