cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/transformation I18nTransformer.java
Date Thu, 30 Aug 2001 11:44:45 GMT
dims        01/08/30 04:44:45

  Modified:    src/org/apache/cocoon/transformation I18nTransformer.java
  Log:
  Fixed broken internationalization samples.
  
  Revision  Changes    Path
  1.18      +4 -3      xml-cocoon2/src/org/apache/cocoon/transformation/I18nTransformer.java
  
  Index: I18nTransformer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/transformation/I18nTransformer.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- I18nTransformer.java	2001/08/25 19:40:32	1.17
  +++ I18nTransformer.java	2001/08/30 11:44:45	1.18
  @@ -460,14 +460,15 @@
                   XMLResourceBundleFactory.ConfigurationKeys.ROOT_DIRECTORY,
                   "location"
               );
  +
  +        debug("catalog location:" + catalogueLocation);
           Source source = resolver.resolve(catalogueLocation);
           String systemId = source.getSystemId();
           if (!systemId.startsWith(FILE)) {
             throw new ResourceNotFoundException(systemId + " does not denote a directory");
           }
  -        File file = new File(systemId);
  -        String cR = file.getCanonicalPath();
  -        dirConf.setValue(cR);
  +        debug("catalog directory:" + systemId);
  +        dirConf.setValue(systemId);
   
           configuration.addChild(dirConf);
           factory.configure(configuration);
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message