james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Created: (JAMES-245) Deprecated in imap2
Date Fri, 02 Apr 2004 10:29:43 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-245

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-245
    Summary: Deprecated in imap2
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: James
 Components: 
             IMAPServer & Mailboxes
   Versions:
             3.0

   Assignee: 
   Reporter: Mauro Braggio

    Created: Fri, 2 Apr 2004 2:29 AM
    Updated: Fri, 2 Apr 2004 2:29 AM
Environment: Linux Suse 8.2. VM 1.4.2_02

Description:
Compiling james with imap2 i've many errors of deprecation: see below
Then james doesn't work.


compile-main:
     [echo] Compiling James Java sources
    [javac] Compiling 212 source files to /home/anna/CVS/james-server/proposals/imap2/build/classes
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/core/AbstractJamesService.java:425:
warning: org.apache.avalon.excalibur.thread.ThreadPool in org.apache.avalon.excalibur.thread
has been deprecated
    [javac]                     (org.apache.avalon.excalibur.thread.ThreadPool)threadPool);
    [javac]                                                        ^
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java:504:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]         User user = users.getUserByName(username);
    [javac]                          ^
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java:680:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]         JamesUser user = (JamesUser) users.getUserByName(username);
    [javac]                                           ^
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java:685:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]         JamesUser aliasUser = (JamesUser) users.getUserByName(alias);
    [javac]                                                ^
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java:733:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]         User baseuser = users.getUserByName(username);
    [javac]                              ^
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java:785:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]         JamesUser user = (JamesUser) users.getUserByName(username);
    [javac]                                           ^
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java:818:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]         JamesUser user = (JamesUser) users.getUserByName(username);
    [javac]                                           ^
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/transport/mailets/LocalDelivery.java:132:
warning: storeMail(org.apache.mailet.MailAddress,org.apache.mailet.MailAddress,javax.mail.internet.MimeMessage)
in org.apache.mailet.MailetContext has been deprecated
    [javac]                     getMailetContext().storeMail(
    [javac]                                     ^
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/transport/mailets/LocalDelivery.java:154:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]                 if ((JamesUser) localusers.getUserByName(username)
    [javac]                                           ^
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/transport/mailets/LocalDelivery.java:157:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]                         (JamesUser) localusers.getUserByName(username);
    [javac]                                               ^
    [javac] 10 warnings
     [copy] Copying 14 files to /home/anna/CVS/james-server/proposals/imap2/build/classes

compile-proposal:
     [echo] Compiling the imap2 proposal.
    [javac] Compiling 62 source files to /home/anna/CVS/james-server/proposals/imap2/build/classes
    [javac] /home/anna/CVS/james-server/proposals/imap2/java/org/apache/james/JamesImap.java:95:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]                 user = ( JamesUser ) getLocalusers().getUserByName( username );
    [javac]                                                   ^
    [javac] /home/anna/CVS/james-server/proposals/imap2/java/org/apache/james/imapserver/store/SimpleMessageAttributes.java:107:
warning: toString(java.util.Date) in org.apache.mailet.dates.RFC822DateFormat has been deprecated
    [javac]         internalDateString = RFC822DateFormat.toString(internalDate); // not right
format
    [javac]                                              ^
    [javac] /home/anna/CVS/james-server/proposals/imap2/java/org/apache/james/imapserver/ImapServer.java:110:
warning: ServiceException(java.lang.String) in org.apache.avalon.framework.service.ServiceException
has been deprecated
    [javac]             throw new ServiceException( "The user repository could not be found."
);
    [javac]                   ^
    [javac] /home/anna/CVS/james-server/proposals/imap2/java/org/apache/james/imapserver/commands/LoginCommand.java:49:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]             User user = session.getUsers().getUserByName( userid );
    [javac]                                         ^
    [javac] 4 warnings
     [copy] Copying 3 files to /home/anna/CVS/james-server/proposals/imap2/build/classes



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message