Anyone successfully build James 2.2.0 from source?  I downloaded the source 
(with phoenix) just now from the Playboy mirror and got the following 
compilation error when I ran the build.sh script...

[EMAIL PROTECTED] james]# ./build.sh

James Build System
-------------------
Buildfile: build.xml

prepare-common:
Preparing code
Created dir: /tmp/james/dist/james-2.2.0
Copying 2 files to /tmp/james/dist/james-2.2.0
Created dir: /tmp/james/build/src
Copying 2 files to /tmp/james/build/src

prepare-phoenix:
Phoenix distribution present - adjusting linefeeds and permissions, copying 
files
Copying 40 files to /tmp/james/dist/james-2.2.0

prepare-jdbc3:
JDBC v3 in classpath - making code JDBC 3.0 compliant

prepare-mxinfo:
Running <mxinfo/>
Generating MxInfo file: org/apache/james/remotemanager/RemoteManagerMBean.mxinfo
Generating MxInfo file: org/apache/james/smtpserver/SMTPServerMBean.mxinfo
Generating MxInfo file: org/apache/james/fetchpop/FetchSchedulerMBean.mxinfo
Generating MxInfo file: org/apache/james/dnsserver/DNSServerMBean.mxinfo
Generating MxInfo file: org/apache/james/fetchmail/FetchSchedulerMBean.mxinfo
Generating MxInfo file: org/apache/james/pop3server/POP3ServerMBean.mxinfo
Generating MxInfo file: org/apache/james/nntpserver/NNTPServerMBean.mxinfo
Generating MxInfo file: org/apache/james/JamesMBean.mxinfo

prepare-metainf:
Copying 1 file to /tmp/james/build/meta-inf

prepare:

compile:
Compiling James Java sources
Compiling 268 source files to /tmp/james/build/classes
/tmp/james/src/java/org/apache/james/core/MailImpl.java:174: cannot resolve 
symbol
symbol  : constructor InternetAddress (java.lang.String,boolean)
location: class javax.mail.internet.InternetAddress
                    recipients.add(new MailAddress(new 
InternetAddress(addresses[i].toString(), false)));
                                                   ^
/tmp/james/src/java/org/apache/james/core/MailImpl.java:206: cannot resolve 
symbol
symbol  : constructor InternetAddress (java.lang.String,boolean)
location: class javax.mail.internet.InternetAddress
                        mailAddress = new MailAddress(new 
InternetAddress(returnPathHeader, false));
                                                      ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
2 errors

BUILD FAILED
file:/tmp/james/build.xml:293: Compile failed; see the compiler error output 
for details.

Total time: 10 seconds


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to