You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@excalibur.apache.org by Leo Simons <ls...@jicarilla.org> on 2004/10/24 11:37:08 UTC

changes to instrument packages break cocoon

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@excalibur.apache.org
For additional commands, e-mail: dev-help@excalibur.apache.org
Apache Excalibur Project -- URL: http://excalibur.apache.org/


Re: changes to instrument packages break cocoon

Posted by Leif Mortenson <le...@tanukisoftware.com>.
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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@excalibur.apache.org
> For additional commands, e-mail: dev-help@excalibur.apache.org
> Apache Excalibur Project -- URL: http://excalibur.apache.org/
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@excalibur.apache.org
For additional commands, e-mail: dev-help@excalibur.apache.org
Apache Excalibur Project -- URL: http://excalibur.apache.org/