cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/components/language/generator ProgramGeneratorImpl.java
Date Sun, 29 Jul 2001 04:17:48 GMT
vgritsenko    01/07/28 21:17:47

  Modified:    src/org/apache/cocoon/components/language/generator
                        ProgramGeneratorImpl.java
  Log:
  Fix bug 2737
  
  Revision  Changes    Path
  1.14      +6 -2      xml-cocoon2/src/org/apache/cocoon/components/language/generator/ProgramGeneratorImpl.java
  
  Index: ProgramGeneratorImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/components/language/generator/ProgramGeneratorImpl.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- ProgramGeneratorImpl.java	2001/07/24 17:21:25	1.13
  +++ ProgramGeneratorImpl.java	2001/07/29 04:17:47	1.14
  @@ -49,7 +49,7 @@
   /**
    * The default implementation of <code>ProgramGenerator</code>
    * @author <a href="mailto:ricardo@apache.org">Ricardo Rocha</a>
  - * @version CVS $Revision: 1.13 $ $Date: 2001/07/24 17:21:25 $
  + * @version CVS $Revision: 1.14 $ $Date: 2001/07/29 04:17:47 $
    */
   public class ProgramGeneratorImpl extends AbstractLoggable
       implements ProgramGenerator, Contextualizable, Composable, Configurable, ThreadSafe,
Disposable {
  @@ -143,7 +143,11 @@
           // Set filenames
           StringBuffer contextFilename = new StringBuffer(this.rootPackage.replace('.', File.separatorChar));
           contextFilename.append(File.separator);
  -        contextFilename.append(fileName);
  +        /*
  +         * VG: Filename here is relative to (sub)sitemap - cannot be used
  +         * to generate classname.
  +         */
  +        contextFilename.append(source.getSystemId());
           String normalizedName = IOUtils.normalizedFilename(contextFilename.toString());
   
           // Ensure no 2 requests for the same file overlap
  
  
  

----------------------------------------------------------------------
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