geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/test/org/apache/geronimo/xml/deployment LocalEntityResolverTest.java
Date Thu, 22 Jan 2004 22:56:21 GMT
jboynes     2004/01/22 14:56:21

  Modified:    modules/core/src/test/org/apache/geronimo/xml/deployment
                        LocalEntityResolverTest.java
  Log:
  Handle URI correctly on Windows
  
  Revision  Changes    Path
  1.3       +2 -2      incubator-geronimo/modules/core/src/test/org/apache/geronimo/xml/deployment/LocalEntityResolverTest.java
  
  Index: LocalEntityResolverTest.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/test/org/apache/geronimo/xml/deployment/LocalEntityResolverTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LocalEntityResolverTest.java	22 Jan 2004 08:47:26 -0000	1.2
  +++ LocalEntityResolverTest.java	22 Jan 2004 22:56:21 -0000	1.3
  @@ -185,7 +185,7 @@
       public void testNotFoundWithLocalRepository() throws Exception {
   
           File repo = new File(docDir, "localresolverrepository");
  -        resolver.setLocalRepositoryURI(new URI(repo.getAbsolutePath()));
  +        resolver.setLocalRepositoryURI(repo.getAbsoluteFile().toURI());
   
           resolver.setFailOnUnresolvable(false);
           InputSource source = resolver.resolveEntity(NON_EXISTING_DTD, "http://incubator.apache.org/geronimo/geronimo.dtd");
  
  
  

Mime
View raw message