openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
Subject Re: Question regarding -properties option of ReverseMappingTool
Date Tue, 24 Nov 2009 23:07:37 GMT

Hi,
  do you have the following security policies set?

permission java.lang.RuntimePermission "getClassLoader";
permission java.io.FilePermission "read";



ljnelson wrote:
> 
> The documentation for ReverseMappingTool says that the -properties command
> line option can take a file path or a resource name.
> 
> I can get this to work if I give a file path, but not if I give a resource
> name.
> 
> Assume I'm in the C:\crap directory.  If I specify this:
> 
> -properties C:\crap\META-INF\openjpa.xml
> 
> ...everything works.
> 
> If I specify either of these with a classpath that includes the current
> directory:
> 
> -properties META-INF/openjpa.xml
> -properties /META-INF/openjpa.xml
> -properties openjpa.xml
> 
> ...the openjpa.xml file is not picked up.
> 
> Is the documentation in error, or do I not fully understand what a
> resource
> name is?
> 
> OpenJPA 1.2.1.
> 
> Thanks,
> Laird
> 
> 


-----
Pinaki 
-- 
View this message in context: http://n2.nabble.com/Question-regarding-properties-option-of-ReverseMappingTool-tp4052794p4061854.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message