cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Chestnut <dh...@virginia.edu>
Subject Re: error while building trunk
Date Mon, 06 Feb 2006 15:53:27 GMT
Hi simon, just noticed this as well.  This should fix it:

Index: C:/src/cocoon-2.1.x/tools/src/loader/Loader.java
===================================================================
--- C:/src/cocoon-2.1.x/tools/src/loader/Loader.java	(revision 375296)
+++ C:/src/cocoon-2.1.x/tools/src/loader/Loader.java	(working copy)
@@ -89,7 +89,7 @@

          String verboseProperty = System.getProperty(VERBOSE_PROPERTY);
          if (verboseProperty != null)
-            verbose = Boolean.parseBoolean(verboseProperty);
+            verbose = Boolean.valueOf(verboseProperty).booleanValue();
          String classPath = System.getProperty(CLASSPATH_PROPERTY);

          if (verbose) System.out.println("-------------------- Loading 
--------------------");


simon wrote:
> hi devs
> 
> i checked out cocoon 2.1.x and get following build error.
> 
> init-tasks:
> Created dir: /home/simon/src/cocoon-2.1.x-test/tools/anttasks
> Compiling 5 source files
> to /home/simon/src/cocoon-2.1.x-test/tools/anttasks
> Created dir: /home/simon/src/cocoon-2.1.x-test/tools/loader
> Compiling 1 source file
> to /home/simon/src/cocoon-2.1.x-test/tools/loader
> /home/simon/src/cocoon-2.1.x-test/tools/src/loader/Loader.java:92:
> cannot resolve symbol
> symbol  : method parseBoolean (java.lang.String)
> location: class java.lang.Boolean
>             verbose = Boolean.parseBoolean(verboseProperty);
>                              ^
> 1 error
> 
> BUILD FAILED
> 
> is this my fault?
> 
> simon
> 

Mime
View raw message