You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Antonio Gallardo <ag...@agssa.net> on 2005/03/19 08:33:47 UTC

[2.2] build failed in Core.java (o.a.c.util.ClassUtils unknown).

Hi:

The problem seems to be introduced in r158127 (using java 1.4.2_07):

http://marc.theaimsgroup.com/?l=xml-cocoon-cvs&m=111117281104914&w=2

Looks like the needed o.a.c.util.ClassUtils is not part of the current
compile task and was not compiled before.

Here is the output of compile-core task:

compile-core:
Copying 18 files to /home/agallardo/svn/cocoon-2.2/build/cocoon/classes
Copied 63 empty directories to 33 empty directories under
/home/agallardo/svn/cocoon-2.2/build/cocoon/classes
Copying 1 file to /home/agallardo/svn/cocoon-2.2/build/cocoon/classes
Copied 6 empty directories to 4 empty directories under
/home/agallardo/svn/cocoon-2.2/build/cocoon/classes
Compiling Cocoon Core
Compiling 30 source files to
/home/agallardo/svn/cocoon-2.2/build/cocoon/classes
/home/agallardo/svn/cocoon-2.2/src/core/java/org/apache/cocoon/core/Core.java:38:
cannot resolve symbol
symbol  : class ClassUtils
location: package util
import org.apache.cocoon.util.ClassUtils;
                              ^
/home/agallardo/svn/cocoon-2.2/src/core/java/org/apache/cocoon/core/Core.java:288:
cannot resolve symbol
symbol  : variable ClassUtils
location: class org.apache.cocoon.core.Core
                Class pcm = ClassUtils.loadClass(parentServiceManagerClass);
                            ^
2 errors

BUILD FAILED
/home/agallardo/svn/cocoon-2.2/tools/targets/compile-build.xml:66: Compile
failed; see the compiler error output for details


Re: [2.2] build failed in Core.java (o.a.c.util.ClassUtils unknown).

Posted by Antonio Gallardo <ag...@agssa.net>.
On Sab, 19 de Marzo de 2005, 1:40, Bertrand Delacretaz dijo:
> Le 19 mars 05, à 08:33, Antonio Gallardo a écrit :
>
>> ...Looks like the needed o.a.c.util.ClassUtils is not part of the
>> current
>> compile task and was not compiled before...
>
> Should be fixed now, I have moved
>    src/java/org/apache/cocoon/util/ClassUtils.java
> to
>    src/core/java/org/apache/cocoon/util/
>
> as this class is used in the core

Yep, I saw your post! :-)

I am compiling right now and the core now compiles. I was not sure if what
you did was the correct fix for this. Thanks for fixing it.

Best Regards,

Antonio Gallardo.


Re: [2.2] build failed in Core.java (o.a.c.util.ClassUtils unknown).

Posted by Carsten Ziegeler <cz...@apache.org>.
Bertrand Delacretaz wrote:
> Le 19 mars 05, à 08:33, Antonio Gallardo a écrit :
> 
> 
>>...Looks like the needed o.a.c.util.ClassUtils is not part of the 
>>current
>>compile task and was not compiled before...
> 
> 
> Should be fixed now, I have moved
>    src/java/org/apache/cocoon/util/ClassUtils.java
> to
>    src/core/java/org/apache/cocoon/util/
> 
> as this class is used in the core
> 
Thanks Bertrand for fixing this - it was my fault :( (I'm just wondering
why it did build on my machine without problems)

Carsten

-- 
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Re: [2.2] build failed in Core.java (o.a.c.util.ClassUtils unknown).

Posted by Bertrand Delacretaz <bd...@apache.org>.
Le 19 mars 05, à 08:33, Antonio Gallardo a écrit :

> ...Looks like the needed o.a.c.util.ClassUtils is not part of the 
> current
> compile task and was not compiled before...

Should be fixed now, I have moved
   src/java/org/apache/cocoon/util/ClassUtils.java
to
   src/core/java/org/apache/cocoon/util/

as this class is used in the core

-Bertrand