You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Kenny Smith <ke...@journalscape.com> on 2002/10/30 20:09:02 UTC

Build From CVS has Warnings?

Hey all,

Since I'm still new getting and building releases out of CVS I wanted to
check to see if it's ok that I got this and if you experienced it when you
built:

warning: ComponentException(java.lang.String,java.lang.Throwable) in
org.apache.avalon.framework.component.ComponentException has been deprecated
          throw new ComponentException( message, e );

I got it in 11 different places.

Kenny Smith
JournalScape.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Build From CVS has Warnings?

Posted by Stephen McConnell <mc...@apache.org>.

Kenny Smith wrote:

>Hey all,
>
>Since I'm still new getting and building releases out of CVS I wanted to
>check to see if it's ok that I got this and if you experienced it when you
>built:
>
>warning: ComponentException(java.lang.String,java.lang.Throwable) in
>org.apache.avalon.framework.component.ComponentException has been deprecated
>          throw new ComponentException( message, e );
>
>I got it in 11 different places.
>

This is correct.

The Component interface has been deprecated as of version 4.1.2 of the 
Avalon framework.  The reason that this interface has been deprectated 
is that it forces developers of now component to implement the interface 
even though the interface declares no operations.  This can be a real 
PITA for anyone dealing with legacy or Avalon independent components. 
 There is not replacement for component - instead the entire 
framework/component package is deprecated in favour of the 
framework/service package in which services and components are simply 
derived from java.lang.Object.

In terms of James there has been several message about this and the 
interest/need for James to migration from the component pacakge to the 
service package.  This seems to have been deferred for now as there are 
implications in the Mailet implemenation and (and potentially in the 
future the mailet interface).  In addition, there have been upgrades to 
the Avalon Cornerstone package to migrate towards the service package 
but this needs to synchronized with projects such as James.

I.e. the message are normal - and I think (as a non-committer) it is 
fair to say that resolution of this is on the James agenda.

Cheers, Steve.

>
>Kenny Smith
>JournalScape.com
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>  
>

-- 

Stephen J. McConnell

OSM SARL
digital products for a global economy
mailto:mcconnell@osm.net
http://www.osm.net




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Build From CVS has Warnings?

Posted by "Peter M. Goldstein" <pe...@yahoo.com>.
Kenny,

It's ok and expected.  The warnings will not go away unless we

i) Temporarily disable deprecation warnings, as we're likely to do with
the checkin of Phoenix 4.0.1 (the # of warnings grows to 200+)

or

ii) Upgrade to use ServiceManager and Serviceable, which is scheduled
for the next release.

--Peter

> -----Original Message-----
> From: Kenny Smith [mailto:kenny@journalscape.com]
> Sent: Wednesday, October 30, 2002 11:09 AM
> To: James Dev
> Subject: Build From CVS has Warnings?
> 
> Hey all,
> 
> Since I'm still new getting and building releases out of CVS I wanted
to
> check to see if it's ok that I got this and if you experienced it when
you
> built:
> 
> warning: ComponentException(java.lang.String,java.lang.Throwable) in
> org.apache.avalon.framework.component.ComponentException has been
> deprecated
>           throw new ComponentException( message, e );
> 
> I got it in 11 different places.
> 
> Kenny Smith
> JournalScape.com
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:james-dev-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:james-dev-
> help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>