cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simon <simon.lit...@wyona.com>
Subject Re: error while building trunk
Date Mon, 06 Feb 2006 16:12:54 GMT
thanks doug.


On Mon, 2006-02-06 at 10:53 -0500, Doug Chestnut wrote:
> 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
> > 
> 
-- 
Simon Litwan                               simon.litwan@wyona.com
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org


Mime
View raw message