Is this a bug?  
If I have a jar file that has my entities in it - myApp.jar with the 
persistence.xml file in it and I have a jar with common entities named 
myCommonStuff.jar in the same directory. 
If I put the absolute path in the persistence.xml file - 

...
<jar-file>/absolute/path/to/my/jar/myCommonStuff.jar</jar-file>
...

It picks it up fine. 

If I try 
<jar-file>../myCommonStuff.jar</jar-file>
jboss looks for it inside the myApp.jar file. 

If I try 
<jar-file>../../myCommonStuff.jar</jar-file>
jboss looks for it inside the myApp.jar file, but now it looks for a file 
called 'yCommonStuff.jar'! (removes first character in filename instead of 
moving back a directory). 

I am running 4.2.2.GA

thanks, 

g




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153112#4153112

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153112
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to