You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by "nurularesya ;p" <nu...@yahoo.com> on 2006/01/26 07:16:46 UTC

help error while run build.bat svn trunk

here i attach this error..could anyone help me out of this...im looking 4 bayesian filter 4 my james project..please help me...
   
  ----------------------------------Error while run build.bat----------------------------
   
  Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
  C:\Documents and Settings\Admin>cd C:\JamesTrunk
  C:\JamesTrunk>build.bat
  James Build System
-------------------
Buildfile: build.xml
  setup-dependencies:
  javamail-check:
  missing-dependency-noauto:
          ************************************************************************
*
        Classes needed for compiling James Mail Server against the mail-1.3.2 AP
I
        are not available. The build may fail or some functionality may
        not be available.
          Resource: mail-1.3.2.jar
          Recovery:
        Get the mail-1.3.2 jar from the mail-1.3.2 distribution at
        http://java.sun.com/products/javamail/
        and place it in C:\JamesTrunk/lib.
          Please note that mail-1.3.2 is licensed under the Sun Binary Code Licens
e
        and that by downloading it you are agreeing to that license. You can rea
d
        this license at
        http://java.sun.com/products/javamail/
        ************************************************************************
*
   
  activation-check:
  missing-dependency-noauto:
          ************************************************************************
*
        Classes needed for compiling James Mail Server against the activation AP
I
        are not available. The build may fail or some functionality may
        not be available.
          Resource: activation.jar
          Recovery:
        Get the activation jar from the activation distribution at
        http://java.sun.com/products/javabeans/glasgow/jaf.html
        and place it in C:\JamesTrunk/lib.
          Please note that activation is licensed under the Sun Binary Code Licens
e
        and that by downloading it you are agreeing to that license. You can rea
d
        this license at
        http://java.sun.com/products/javabeans/glasgow/jaf.html
        ************************************************************************
*
   
  check-dependencies:
  prepare-common:
Preparing code
  prepare-phoenix:
Phoenix distribution present - adjusting linefeeds and permissions, copying file
s
  prepare-jdbc3:
  prepare-mxinfo:
Writing Info descriptors as legacy xml.
  prepare-metainf:
  prepare:
  compile-main:
Compiling James Java sources
Compiling 308 source files to C:\JamesTrunk\build\classes
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MailStoreSpoolRepository.
java:32: package javax.mail does not exist
import javax.mail.MessagingException;
                  ^
C:\JamesTrunk\src\java\org\apache\james\services\MailRepository.java:22: package
 javax.mail does not exist
import javax.mail.MessagingException;
                  ^
C:\JamesTrunk\src\java\org\apache\mailet\Mail.java:19: package javax.mail does n
ot exist
import javax.mail.MessagingException;
                  ^
C:\JamesTrunk\src\java\org\apache\mailet\Mail.java:20: package javax.mail.intern
et does not exist
import javax.mail.internet.MimeMessage;
                           ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MailStoreSpoolRepository.
java:123: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.MailStoreSpoolRepository
    public void store(Mail mc) throws MessagingException {
                                      ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MailStoreSpoolRepository.
java:130: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.MailStoreSpoolRepository
    public Iterator list() throws MessagingException {
                                  ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MailStoreSpoolRepository.
java:137: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.MailStoreSpoolRepository
    public Mail retrieve(String key) throws MessagingException {
                                            ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MailStoreSpoolRepository.
java:144: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.MailStoreSpoolRepository
    public void remove(Mail mail) throws MessagingException {
                                         ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MailStoreSpoolRepository.
java:151: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.MailStoreSpoolRepository
    public void remove(Collection mails) throws MessagingException {
                                                ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MailStoreSpoolRepository.
java:158: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.MailStoreSpoolRepository
    public void remove(String key) throws MessagingException {
                                          ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MailStoreSpoolRepository.
java:165: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.MailStoreSpoolRepository
    public boolean lock(String key) throws MessagingException {
                                           ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MailStoreSpoolRepository.
java:172: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.MailStoreSpoolRepository
    public boolean unlock(String key) throws MessagingException {
                                             ^
C:\JamesTrunk\src\java\org\apache\james\services\MailRepository.java:46: cannot
resolve symbol
symbol  : class MessagingException
location: interface org.apache.james.services.MailRepository
    void store(Mail mc) throws MessagingException;
                               ^
C:\JamesTrunk\src\java\org\apache\james\services\MailRepository.java:54: cannot
resolve symbol
symbol  : class MessagingException
location: interface org.apache.james.services.MailRepository
    Iterator list() throws MessagingException;
                           ^
C:\JamesTrunk\src\java\org\apache\james\services\MailRepository.java:63: cannot
resolve symbol
symbol  : class MessagingException
location: interface org.apache.james.services.MailRepository
    Mail retrieve(String key) throws MessagingException;
                                     ^
C:\JamesTrunk\src\java\org\apache\james\services\MailRepository.java:70: cannot
resolve symbol
symbol  : class MessagingException
location: interface org.apache.james.services.MailRepository
    void remove(Mail mail) throws MessagingException;
                                  ^
C:\JamesTrunk\src\java\org\apache\james\services\MailRepository.java:78: cannot
resolve symbol
symbol  : class MessagingException
location: interface org.apache.james.services.MailRepository
     void remove(Collection mails) throws MessagingException;
                                          ^
C:\JamesTrunk\src\java\org\apache\james\services\MailRepository.java:85: cannot
resolve symbol
symbol  : class MessagingException
location: interface org.apache.james.services.MailRepository
    void remove(String key) throws MessagingException;
                                   ^
C:\JamesTrunk\src\java\org\apache\james\services\MailRepository.java:94: cannot
resolve symbol
symbol  : class MessagingException
location: interface org.apache.james.services.MailRepository
    boolean lock(String key) throws MessagingException;
                                    ^
C:\JamesTrunk\src\java\org\apache\james\services\MailRepository.java:103: cannot
 resolve symbol
symbol  : class MessagingException
location: interface org.apache.james.services.MailRepository
    boolean unlock(String key) throws MessagingException;
                                      ^
C:\JamesTrunk\src\java\org\apache\mailet\Mail.java:60: cannot resolve symbol
symbol  : class MimeMessage
location: interface org.apache.mailet.Mail
    MimeMessage getMessage() throws MessagingException;
    ^
C:\JamesTrunk\src\java\org\apache\mailet\Mail.java:60: cannot resolve symbol
symbol  : class MessagingException
location: interface org.apache.mailet.Mail
    MimeMessage getMessage() throws MessagingException;
                                    ^
C:\JamesTrunk\src\java\org\apache\mailet\MailAddress.java:21: package javax.mail
.internet does not exist
import javax.mail.internet.InternetAddress;
                           ^
C:\JamesTrunk\src\java\org\apache\mailet\MailAddress.java:22: package javax.mail
.internet does not exist
import javax.mail.internet.ParseException;
                           ^
C:\JamesTrunk\src\java\org\apache\mailet\Mail.java:114: cannot resolve symbol
symbol  : class MimeMessage
location: interface org.apache.mailet.Mail
    void setMessage(MimeMessage message);
                    ^
C:\JamesTrunk\src\java\org\apache\mailet\Mail.java:192: cannot resolve symbol
symbol  : class MessagingException
location: interface org.apache.mailet.Mail
    long getMessageSize() throws MessagingException;
                                 ^
C:\JamesTrunk\src\java\org\apache\mailet\MailAddress.java:77: cannot resolve sym
bol
symbol  : class ParseException
location: class org.apache.mailet.MailAddress
    private void stripSourceRoute(String address) throws ParseException {
                                                         ^
C:\JamesTrunk\src\java\org\apache\mailet\MailAddress.java:96: cannot resolve sym
bol
symbol  : class ParseException
location: class org.apache.mailet.MailAddress
    public MailAddress(String address) throws ParseException {
                                              ^
C:\JamesTrunk\src\java\org\apache\mailet\MailAddress.java:170: cannot resolve sy
mbol
symbol  : class ParseException
location: class org.apache.mailet.MailAddress
    public MailAddress(String newUser, String newHost) throws ParseException {
                                                              ^
C:\JamesTrunk\src\java\org\apache\mailet\MailAddress.java:180: cannot resolve sy
mbol
symbol  : class InternetAddress
location: class org.apache.mailet.MailAddress
    public MailAddress(InternetAddress address) throws ParseException {
                       ^
C:\JamesTrunk\src\java\org\apache\mailet\MailAddress.java:180: cannot resolve sy
mbol
symbol  : class ParseException
location: class org.apache.mailet.MailAddress
    public MailAddress(InternetAddress address) throws ParseException {
                                                       ^
C:\JamesTrunk\src\java\org\apache\mailet\MailAddress.java:180: MailAddress(java.
lang.String) is already defined in org.apache.mailet.MailAddress
    public MailAddress(InternetAddress address) throws ParseException {
           ^
C:\JamesTrunk\src\java\org\apache\mailet\MailAddress.java:219: cannot resolve sy
mbol
symbol  : class InternetAddress
location: class org.apache.mailet.MailAddress
    public InternetAddress toInternetAddress() {
           ^
C:\JamesTrunk\src\java\org\apache\mailet\MailAddress.java:254: cannot resolve sy
mbol
symbol  : class ParseException
location: class org.apache.mailet.MailAddress
    private String parseQuotedLocalPart(String address) throws ParseException {
                                                               ^
C:\JamesTrunk\src\java\org\apache\mailet\MailAddress.java:291: cannot resolve sy
mbol
symbol  : class ParseException
location: class org.apache.mailet.MailAddress
    private String parseUnquotedLocalPart(String address) throws ParseException
{
                                                                 ^
C:\JamesTrunk\src\java\org\apache\mailet\MailAddress.java:344: cannot resolve sy
mbol
symbol  : class ParseException
location: class org.apache.mailet.MailAddress
    private String parseNumber(String address) throws ParseException {
                                                      ^
C:\JamesTrunk\src\java\org\apache\mailet\MailAddress.java:367: cannot resolve sy
mbol
symbol  : class ParseException
location: class org.apache.mailet.MailAddress
    private String parseDotNum(String address) throws ParseException {
                                                      ^
C:\JamesTrunk\src\java\org\apache\mailet\MailAddress.java:430: cannot resolve sy
mbol
symbol  : class ParseException
location: class org.apache.mailet.MailAddress
    private String parseDomainName(String address) throws ParseException {
                                                          ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\JDBCMailRepository.java:4
8: package javax.mail does not exist
import javax.mail.MessagingException;
                  ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\JDBCMailRepository.java:4
9: package javax.mail.internet does not exist
import javax.mail.internet.MimeMessage;
                           ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\JDBCSpoolRepository.java:
234: package javax.mail does not exist
    public void store(Mail mc) throws javax.mail.MessagingException {
                                                ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\JDBCMailRepository.java:5
35: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.JDBCMailRepository
    public void store(Mail mc) throws MessagingException {
                                      ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\JDBCMailRepository.java:8
12: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.JDBCMailRepository
    public Mail retrieve(String key) throws MessagingException {
                                            ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\JDBCMailRepository.java:9
61: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.JDBCMailRepository
    public void remove(Mail mail) throws MessagingException {
                                         ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\JDBCMailRepository.java:9
71: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.JDBCMailRepository
    public void remove(Collection mails) throws MessagingException {
                                                ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\JDBCMailRepository.java:9
83: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.JDBCMailRepository
    public void remove(String key) throws MessagingException {
                                          ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\JDBCMailRepository.java:1
014: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.JDBCMailRepository
    public Iterator list() throws MessagingException {
                                  ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\AvalonMailRepository.java
:38: package javax.mail does not exist
import javax.mail.MessagingException;
                  ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\AvalonMailRepository.java
:39: package javax.mail.internet does not exist
import javax.mail.internet.MimeMessage;
                           ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\AvalonMailRepository.java
:246: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.AvalonMailRepository
    public void store(Mail mc) throws MessagingException {
                                      ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\AvalonMailRepository.java
:340: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.AvalonMailRepository
    public Mail retrieve(String key) throws MessagingException {
                                            ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\AvalonMailRepository.java
:378: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.AvalonMailRepository
    public void remove(Mail mail) throws MessagingException {
                                         ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\AvalonMailRepository.java
:389: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.AvalonMailRepository
    public void remove(Collection mails) throws MessagingException {
                                                ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\AvalonMailRepository.java
:401: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.AvalonMailRepository
    public void remove(String key) throws MessagingException {
                                          ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MBoxMailRepository.java:6
2: package javax.mail does not exist
import javax.mail.MessagingException;
                  ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MBoxMailRepository.java:6
3: package javax.mail does not exist
import javax.mail.Session;
                  ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MBoxMailRepository.java:6
4: package javax.mail.internet does not exist
import javax.mail.internet.MimeMessage;
                           ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MBoxMailRepository.java:6
5: package javax.mail.internet does not exist
import javax.mail.internet.InternetAddress;
                           ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MBoxMailRepository.java:1
63: cannot resolve symbol
symbol  : class MimeMessage
location: class org.apache.james.mailrepository.MBoxMailRepository
    private String getRawMessage(MimeMessage mc) throws IOException, MessagingEx
ception {
                                 ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MBoxMailRepository.java:1
63: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.MBoxMailRepository
    private String getRawMessage(MimeMessage mc) throws IOException, MessagingEx
ception {
                                                                     ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MBoxMailRepository.java:1
74: cannot resolve symbol
symbol  : class MimeMessage
location: class org.apache.james.mailrepository.MBoxMailRepository
    private MimeMessage convertTextToMimeMessage(String emailBody) {
            ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MBoxMailRepository.java:1
52: cannot resolve symbol
symbol  : class MimeMessage
location: interface org.apache.james.mailrepository.MBoxMailRepository.MessageAc
tion
        public MimeMessage messageAction(String messageSeparator, String bodyTex
t, long messageStart);
               ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MBoxMailRepository.java:2
43: cannot resolve symbol
symbol  : class MimeMessage
location: class org.apache.james.mailrepository.MBoxMailRepository
    private MimeMessage parseMboxFile(RandomAccessFile ins, MessageAction messAc
t) {
            ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MBoxMailRepository.java:3
57: cannot resolve symbol
symbol  : class MimeMessage
location: class org.apache.james.mailrepository.MBoxMailRepository
    private MimeMessage findMessage(String key) {
            ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MBoxMailRepository.java:3
78: cannot resolve symbol
symbol  : class MimeMessage
location: class org.apache.james.mailrepository.MBoxMailRepository
    private MimeMessage selectMessage(final String key) {
            ^
C:\JamesTrunk\src\java\org\apache\james\services\MatcherLoader.java:22: package
javax.mail does not exist
import javax.mail.MessagingException;
                  ^
C:\JamesTrunk\src\java\org\apache\mailet\MailetContext.java:23: package javax.ma
il does not exist
import javax.mail.MessagingException;
                  ^
C:\JamesTrunk\src\java\org\apache\mailet\MailetContext.java:24: package javax.ma
il.internet does not exist
import javax.mail.internet.MimeMessage;
                           ^
C:\JamesTrunk\src\java\org\apache\mailet\MailetContext.java:48: cannot resolve s
ymbol
symbol  : class MessagingException
location: interface org.apache.mailet.MailetContext
    void bounce(Mail mail, String message) throws MessagingException;
                                                  ^
C:\JamesTrunk\src\java\org\apache\mailet\MailetContext.java:58: cannot resolve s
ymbol
symbol  : class MessagingException
location: interface org.apache.mailet.MailetContext
    void bounce(Mail mail, String message, MailAddress bouncer) throws Messaging
Exception;
                                                                       ^
C:\JamesTrunk\src\java\org\apache\mailet\MailetContext.java:187: cannot resolve
symbol
symbol  : class MimeMessage
location: interface org.apache.mailet.MailetContext
    void sendMail(MimeMessage msg)
                  ^
C:\JamesTrunk\src\java\org\apache\mailet\MailetContext.java:188: cannot resolve
symbol
symbol  : class MessagingException
location: interface org.apache.mailet.MailetContext
        throws MessagingException;
               ^
C:\JamesTrunk\src\java\org\apache\mailet\MailetContext.java:199: cannot resolve
symbol
symbol  : class MimeMessage
location: interface org.apache.mailet.MailetContext
    void sendMail(MailAddress sender, Collection recipients, MimeMessage msg)
                                                             ^
C:\JamesTrunk\src\java\org\apache\mailet\MailetContext.java:200: cannot resolve
symbol
symbol  : class MessagingException
location: interface org.apache.mailet.MailetContext
        throws MessagingException;
               ^
C:\JamesTrunk\src\java\org\apache\mailet\MailetContext.java:213: cannot resolve
symbol
symbol  : class MimeMessage
location: interface org.apache.mailet.MailetContext
    void sendMail(MailAddress sender, Collection recipients, MimeMessage msg, St
ring state)
                                                             ^
C:\JamesTrunk\src\java\org\apache\mailet\MailetContext.java:214: cannot resolve
symbol
symbol  : class MessagingException
location: interface org.apache.mailet.MailetContext
        throws MessagingException;
               ^
C:\JamesTrunk\src\java\org\apache\mailet\MailetContext.java:225: cannot resolve
symbol
symbol  : class MessagingException
location: interface org.apache.mailet.MailetContext
            throws MessagingException;
                   ^
C:\JamesTrunk\src\java\org\apache\mailet\MailetContext.java:251: cannot resolve
symbol
symbol  : class MimeMessage
location: interface org.apache.mailet.MailetContext
    void storeMail(MailAddress sender, MailAddress recipient, MimeMessage msg)
                                                              ^
C:\JamesTrunk\src\java\org\apache\mailet\MailetContext.java:252: cannot resolve
symbol
symbol  : class MessagingException
location: interface org.apache.mailet.MailetContext
        throws MessagingException;
               ^
C:\JamesTrunk\src\java\org\apache\mailet\Matcher.java:115: package javax.mail do
es not exist
    void init( MatcherConfig config ) throws javax.mail.MessagingException;
                                                       ^
C:\JamesTrunk\src\java\org\apache\mailet\Matcher.java:136: package javax.mail do
es not exist
    Collection match( Mail mail ) throws javax.mail.MessagingException;
                                                   ^
C:\JamesTrunk\src\java\org\apache\james\services\MatcherLoader.java:35: cannot r
esolve symbol
symbol  : class MessagingException
location: interface org.apache.james.services.MatcherLoader
    public Matcher getMatcher(String matchName) throws MessagingException;
                                                       ^
C:\JamesTrunk\src\java\org\apache\james\services\MailetLoader.java:23: package j
avax.mail does not exist
import javax.mail.MessagingException;
                  ^
C:\JamesTrunk\src\java\org\apache\mailet\Mailet.java:98: package javax.mail does
 not exist
    void init(MailetConfig config) throws javax.mail.MessagingException;
                                                    ^
C:\JamesTrunk\src\java\org\apache\mailet\Mailet.java:118: package javax.mail doe
s not exist
    void service(Mail mail) throws javax.mail.MessagingException;
                                             ^
C:\JamesTrunk\src\java\org\apache\james\services\MailetLoader.java:37: cannot re
solve symbol
symbol  : class MessagingException
location: interface org.apache.james.services.MailetLoader
            throws MessagingException;
                   ^
C:\JamesTrunk\src\java\org\apache\james\services\MailServer.java:23: package jav
ax.mail does not exist
import javax.mail.MessagingException;
                  ^
C:\JamesTrunk\src\java\org\apache\james\services\MailServer.java:24: package jav
ax.mail.internet does not exist
import javax.mail.internet.MimeMessage;
                           ^
C:\JamesTrunk\src\java\org\apache\james\services\MailServer.java:62: cannot reso
lve symbol
symbol  : class MimeMessage
location: interface org.apache.james.services.MailServer
    void sendMail(MailAddress sender, Collection recipients, MimeMessage msg)
                                                             ^
C:\JamesTrunk\src\java\org\apache\james\services\MailServer.java:63: cannot reso
lve symbol
symbol  : class MessagingException
location: interface org.apache.james.services.MailServer
        throws MessagingException;
               ^
C:\JamesTrunk\src\java\org\apache\james\services\MailServer.java:77: cannot reso
lve symbol
symbol  : class MessagingException
location: interface org.apache.james.services.MailServer
        throws MessagingException;
               ^
C:\JamesTrunk\src\java\org\apache\james\services\MailServer.java:85: cannot reso
lve symbol
symbol  : class MessagingException
location: interface org.apache.james.services.MailServer
        throws MessagingException;
               ^
C:\JamesTrunk\src\java\org\apache\james\services\MailServer.java:94: cannot reso
lve symbol
symbol  : class MimeMessage
location: interface org.apache.james.services.MailServer
    void sendMail(MimeMessage message)
                  ^
C:\JamesTrunk\src\java\org\apache\james\services\MailServer.java:95: cannot reso
lve symbol
symbol  : class MessagingException
location: interface org.apache.james.services.MailServer
        throws MessagingException;
               ^
C:\JamesTrunk\src\java\org\apache\james\services\MailServer.java:94: sendMail(or
g.apache.mailet.Mail) is already defined in org.apache.james.services.MailServer
      void sendMail(MimeMessage message)
         ^
C:\JamesTrunk\src\java\org\apache\james\remotemanager\RemoteManagerHandler.java:
33: package javax.mail.internet does not exist
import javax.mail.internet.ParseException;
                           ^
C:\JamesTrunk\src\java\org\apache\james\core\MimeMessageCopyOnWriteProxy.java:22
: package javax.activation does not exist
import javax.activation.DataHandler;
                        ^
C:\JamesTrunk\src\java\org\apache\james\core\MimeMessageCopyOnWriteProxy.java:23
: package javax.mail does not exist
import javax.mail.Address;
                  ^
C:\JamesTrunk\src\java\org\apache\james\core\MimeMessageCopyOnWriteProxy.java:24
: package javax.mail does not exist
import javax.mail.Flags;
                  ^
C:\JamesTrunk\src\java\org\apache\james\core\MimeMessageCopyOnWriteProxy.java:25
: package javax.mail does not exist
import javax.mail.Folder;
                  ^
100 errors
  BUILD FAILED
file:C:/JamesTrunk/build.xml:276: Compile failed; see the compiler error output
for details.
  Total time: 22 seconds
C:\JamesTrunk>

  ---------------------------------end of error---------------------------
   
  i have to implement spam filtering with james..and propose to use bayesian filter 4 spam filtering...then when i try to run build.bat downloading file from svn trunk...where the james-praxis was located now...please help me out of this...
   
  thanks,
  nurularesya

		
---------------------------------
Do you Yahoo!?
 With a free 1 GB, there's more in store with Yahoo! Mail.

Re: help error while run build.bat svn trunk

Posted by Stefano Bagnara <ap...@bago.org>.
nurularesya ;p wrote:
> here i attach this error..could anyone help me out of this...im looking 4 bayesian filter 4 my james project..please help me...

You have to manually download javamail 1.3.2 and activation (jaf) from 
the java.sun.com website and add the 2 jars to your lib dir.

We cannot redistribute the 2 files in a source distribution.

Stefano


>   ----------------------------------Error while run build.bat----------------------------
>    
>   Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>   C:\Documents and Settings\Admin>cd C:\JamesTrunk
>   C:\JamesTrunk>build.bat
>   James Build System
> -------------------
> Buildfile: build.xml
>   setup-dependencies:
>   javamail-check:
>   missing-dependency-noauto:
>           ************************************************************************
> *
>         Classes needed for compiling James Mail Server against the mail-1.3.2 AP
> I
>         are not available. The build may fail or some functionality may
>         not be available.
>           Resource: mail-1.3.2.jar
>           Recovery:
>         Get the mail-1.3.2 jar from the mail-1.3.2 distribution at
>         http://java.sun.com/products/javamail/
>         and place it in C:\JamesTrunk/lib.
>           Please note that mail-1.3.2 is licensed under the Sun Binary Code Licens
> e
>         and that by downloading it you are agreeing to that license. You can rea
> d
>         this license at
>         http://java.sun.com/products/javamail/
>         ************************************************************************
> *
>    
>   activation-check:
>   missing-dependency-noauto:
>           ************************************************************************
> *
>         Classes needed for compiling James Mail Server against the activation AP
> I
>         are not available. The build may fail or some functionality may
>         not be available.
>           Resource: activation.jar
>           Recovery:
>         Get the activation jar from the activation distribution at
>         http://java.sun.com/products/javabeans/glasgow/jaf.html
>         and place it in C:\JamesTrunk/lib.
>           Please note that activation is licensed under the Sun Binary Code Licens
> e
>         and that by downloading it you are agreeing to that license. You can rea
> d
>         this license at
>         http://java.sun.com/products/javabeans/glasgow/jaf.html
>         ************************************************************************
> *
>    
>   check-dependencies:
>   prepare-common:
> Preparing code
>   prepare-phoenix:
> Phoenix distribution present - adjusting linefeeds and permissions, copying file
> s
>   prepare-jdbc3:
>   prepare-mxinfo:
> Writing Info descriptors as legacy xml.
>   prepare-metainf:
>   prepare:
>   compile-main:
> Compiling James Java sources
> Compiling 308 source files to C:\JamesTrunk\build\classes
> C:\JamesTrunk\src\java\org\apache\james\mailrepository\MailStoreSpoolRepository.
> java:32: package javax.mail does not exist
> import javax.mail.MessagingException;
>                   ^
> C:\JamesTrunk\src\java\org\apache\james\services\MailRepository.java:22: package
>  [...]

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