db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/metadata RepositoryPersistor.java
Date Wed, 28 May 2003 09:01:47 GMT
arminw      2003/05/28 02:01:47

  Modified:    src/java/org/apache/ojb/broker/metadata
                        RepositoryPersistor.java
  Log:
  fix bug, reading of repositroy file
  caused problems
  
  Revision  Changes    Path
  1.20      +8 -2      db-ojb/src/java/org/apache/ojb/broker/metadata/RepositoryPersistor.java
  
  Index: RepositoryPersistor.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/RepositoryPersistor.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- RepositoryPersistor.java	24 May 2003 01:03:44 -0000	1.19
  +++ RepositoryPersistor.java	28 May 2003 09:01:46 -0000	1.20
  @@ -290,7 +290,13 @@
               throws MalformedURLException, ParserConfigurationException, SAXException, IOException
       {
           URL url = buildURL(repositoryFileName);
  -        InputSource source = new InputSource(url.openStream());
  +        /*
  +        arminw:
  +        strange, when using 'url.openStream()' argument repository
  +        could not be parsed
  +        */
  +        // InputSource source = new InputSource(url.openStream());
  +        InputSource source = new InputSource(url.toString());
           return readMetadataFromXML(source, targetRepository);
       }
   
  
  
  

Mime
View raw message