jcscoobyrs    2005/09/16 19:36:15

  Modified:    modules/core/src/java/org/openejb/alt/config
                        Unmarshaller.java
  Log:

  Updated to fix problem in Windows with ejb-jar.xml not being found in beans.
  
  Revision  Changes    Path
  1.2       +3 -3      
openejb1/modules/core/src/java/org/openejb/alt/config/Unmarshaller.java
  
  Index: Unmarshaller.java
  ===================================================================
  RCS file: 
/scm/openejb/openejb1/modules/core/src/java/org/openejb/alt/config/Unmarshaller.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Unmarshaller.java 6 Aug 2005 16:55:19 -0000       1.1
  +++ Unmarshaller.java 16 Sep 2005 23:36:15 -0000      1.2
  @@ -96,7 +96,7 @@
           String file = xmlFile.getName();
   
           JarFile jar = JarUtils.getJarFile(jarLocation);
  -        JarEntry entry = jar.getJarEntry(xmlFile.getPath());
  +        JarEntry entry = 
jar.getJarEntry(xmlFile.getPath().replaceAll("\\\\", "/"));
   
           if (entry == null) throw new 
OpenEJBException(EjbJarUtils.messages.format("xml.cannotFindFile", file, 
jarLocation));
   
  
  
  

Reply via email to