cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Re: svn commit: rev 56438 - cocoon/trunk/src/blocks/javaflow/java/org/apache/cocoon/components/flow/javascript
Date Tue, 02 Nov 2004 23:22:23 GMT
reinhard@apache.org wrote:
> Author: reinhard
> Date: Tue Nov  2 15:20:30 2004
> New Revision: 56438
> 
> Modified:
>    cocoon/trunk/src/blocks/javaflow/java/org/apache/cocoon/components/flow/javascript/JavaScriptCompilingClassLoader.java
> Log:
> Because of switching to rhino-1.6 it doesn't compile any more - had to comment out two
lines to make code compile again. Due to Torsten the compiling classloader doesn't work anyway
> 
> Modified: cocoon/trunk/src/blocks/javaflow/java/org/apache/cocoon/components/flow/javascript/JavaScriptCompilingClassLoader.java
> ==============================================================================
> --- cocoon/trunk/src/blocks/javaflow/java/org/apache/cocoon/components/flow/javascript/JavaScriptCompilingClassLoader.java
(original)
> +++ cocoon/trunk/src/blocks/javaflow/java/org/apache/cocoon/components/flow/javascript/JavaScriptCompilingClassLoader.java
Tue Nov  2 15:20:30 2004
> @@ -104,7 +104,8 @@
>          cx.setErrorReporter(reporter);
>          
>          cx.setGeneratingSource(true);
> -        cx.setTargetPackage("");
> +        // doesn't compile with Rhino 1.6 
> +        // cx.setTargetPackage("");
>  
>          //ClassNameHelper nameHelper = ClassNameHelper.get(cx);
>          String filename = ((String) sources.get(classname))+".js";
> @@ -124,7 +125,9 @@
>          //String out = f.getParent() == null ? className : f.getParent() + File.separator
+ className;
>          String out = System.getProperty("java.io.tmpdir") + File.separator + className;
>          //nameHelper.setTargetClassFileName(out);*/
> -        cx.setTargetClassFileName(out);
> +        
> +        // doesn't compile with Rhino 1.6 
> +        // cx.setTargetClassFileName(out);
>  
>          System.out.println("out=" + out);
>  
> 

Torsten,

hope my comment is correct ...

-- 
Reinhard

Mime
View raw message