cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leo Simons <lsim...@jicarilla.org>
Subject [Fwd: Re: changes to instrument packages break cocoon]
Date Sun, 24 Oct 2004 11:23:36 GMT
Hi cocooners,

there's some backwards-incompatible changes being introduced in 
excalibur land (discussion on that is in ML archives for people 
interested). We're sorta planning to release soonish, so that will make 
it possible for y'all to upgrade (just some really small changes 
required; see below). In the meantime, you might want to have the cocoon 
gump build depend on a jarred-up version.

cheers,

- Leo

PS: besides the change Leif describes below, I'd also recommend 
decoupling from the lifecycle interfaces a little more, ie change

   instrumentManager.configure(conf);

to

   ContainerUtil.configure( instrumentManager, conf );

etc etc.

-------- Original Message --------
Subject: Re: changes to instrument packages break cocoon
Date: Sun, 24 Oct 2004 19:33:03 +0900
From: Leif Mortenson <leiflists@tanukisoftware.com>
Reply-To: Excalibur Developers List <dev@excalibur.apache.org>
To: Excalibur Developers List <dev@excalibur.apache.org>
References: <417B77C4.1000600@jicarilla.org>

Leo,
To clean up the API, a few changes were made to the package names of the
Instrument Manager implementation.   These changes should only affect
containers,
and will be much better in the long run for users.

To fix the particular problems you are having in Cocoon below,
org.apache.excalibur.instrument.manager.DefaultInstrumentManager
needs to be changed to:
org.apache.excalibur.instrument.manager.impl.DefaultInstrumentManagerImpl

The altrmi code and related interfaces were all torn out or restructured
as well.   Everything is
still possible, but a few packages will need to be changed to get things
compiling again.

Let me know if you have any questions or concerns.

Cheers,
Leif

Leo Simons wrote:

> Hi gang,
>
> gump just said:
>
> ---
> prepare:
>      [echo]                  Apache Cocoon 23102004 [1999-2004]
> <snip/>
> compile-core:
>      [copy] Copying 18 files to 
> /usr/local/gump/public/workspace/cocoon/build/cocoon-23102004/classes
>      [copy] Copied 62 empty directories to 32 empty directories under 
> /usr/local/gump/public/workspace/cocoon/build/cocoon-23102004/classes
>      [echo] Compiling Cocoon Core
>     [javac] Compiling 10 source files to 
> /usr/local/gump/public/workspace/cocoon/build/cocoon-23102004/classes
>     [mkdir] Created dir: 
> /usr/local/gump/public/workspace/cocoon/build/cocoon-23102004/mocks
>     [javac] Compiling 1 source file to 
> /usr/local/gump/public/workspace/cocoon/build/cocoon-23102004/mocks
>     [javac] Compiling 520 source files to 
> /usr/local/gump/public/workspace/cocoon/build/cocoon-23102004/classes
>     [javac] 
> /usr/local/gump/public/workspace/cocoon/src/java/org/apache/cocoon/servlet/CocoonServlet.java:503:

> cannot resolve symbol
>     [javac] symbol  : method dispose ()
>     [javac] location: interface 
> org.apache.excalibur.instrument.manager.DefaultInstrumentManager
>     [javac]             this.instrumentManager.dispose();
>     [javac]             ^
>     [javac] 
> /usr/local/gump/public/workspace/cocoon/src/java/org/apache/cocoon/servlet/CocoonServlet.java:1425:

> org.apache.excalibur.instrument.manager.DefaultInstrumentManager is 
> abstract; cannot be instantiated
>     [javac]         DefaultInstrumentManager instrumentManager = new 
> DefaultInstrumentManager();
>     [javac]                                                      ^
>     [javac] 
> /usr/local/gump/public/workspace/cocoon/src/java/org/apache/cocoon/servlet/CocoonServlet.java:1426:

> cannot resolve symbol
>     [javac] symbol  : method enableLogging 
> (org.apache.avalon.framework.logger.Logger)
>     [javac] location: interface 
> org.apache.excalibur.instrument.manager.DefaultInstrumentManager
>     [javac]         instrumentManager.enableLogging(imLogger);
>     [javac]                          ^
>     [javac] 
> /usr/local/gump/public/workspace/cocoon/src/java/org/apache/cocoon/servlet/CocoonServlet.java:1427:

> cannot resolve symbol
>     [javac] symbol  : method configure 
> (org.apache.avalon.framework.configuration.Configuration)
>     [javac] location: interface 
> org.apache.excalibur.instrument.manager.DefaultInstrumentManager
>     [javac]         instrumentManager.configure(conf);
>     [javac]                          ^
>     [javac] 
> /usr/local/gump/public/workspace/cocoon/src/java/org/apache/cocoon/servlet/CocoonServlet.java:1428:

> cannot resolve symbol
>     [javac] symbol  : method initialize ()
>     [javac] location: interface 
> org.apache.excalibur.instrument.manager.DefaultInstrumentManager
>     [javac]         instrumentManager.initialize();
>     [javac]                          ^
>     [javac] 5 errors
>
> BUILD FAILED
> /usr/local/gump/public/workspace/cocoon/tools/targets/compile-build.xml:75: 
> Compile failed; see the compiler error output for details.
> <snip/>
> ---
>
> :(
>
> - Leo


Mime
View raw message