geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r545375 - /geronimo/server/trunk/modules/geronimo-persistence-jpa10/src/main/java/org/apache/geronimo/persistence/PersistenceUnitGBean.java
Date Fri, 08 Jun 2007 02:36:54 GMT
Author: dwoods
Date: Thu Jun  7 19:36:53 2007
New Revision: 545375

URL: http://svn.apache.org/viewvc?view=rev&rev=545375
Log:
GERONIMO-3230 PersistenceUnitGBean doesn't work when there is a space in the path.

Modified:
    geronimo/server/trunk/modules/geronimo-persistence-jpa10/src/main/java/org/apache/geronimo/persistence/PersistenceUnitGBean.java

Modified: geronimo/server/trunk/modules/geronimo-persistence-jpa10/src/main/java/org/apache/geronimo/persistence/PersistenceUnitGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-persistence-jpa10/src/main/java/org/apache/geronimo/persistence/PersistenceUnitGBean.java?view=diff&rev=545375&r1=545374&r2=545375
==============================================================================
--- geronimo/server/trunk/modules/geronimo-persistence-jpa10/src/main/java/org/apache/geronimo/persistence/PersistenceUnitGBean.java
(original)
+++ geronimo/server/trunk/modules/geronimo-persistence-jpa10/src/main/java/org/apache/geronimo/persistence/PersistenceUnitGBean.java
Thu Jun  7 19:36:53 2007
@@ -83,7 +83,7 @@
             ClassLoader classLoader) throws URISyntaxException, MalformedURLException, ResourceException
{
         List<String> mappingFileNames = mappingFileNamesUntyped == null? new ArrayList<String>():
new ArrayList<String>(mappingFileNamesUntyped);
         this.persistenceUnitRoot = persistenceUnitRoot;
-        URI configurationBaseURI = configurationBaseURL.toURI();
+        URI configurationBaseURI = new File(configurationBaseURL.getFile()).toURI();
         URL rootURL = null;
         List<URL> jarFileUrls = null;
         if (!excludeUnlistedClassesValue) {



Mime
View raw message