On 10 Jun, To: [EMAIL PROTECTED] wrote:
> I am having trouble trying to build and run James 2.1.3 with Phoenix
> 4.0.4.

FYI: James 2.2.0a4 has the same problem. Only now I get the error at
compile-time:

compile:
     [echo] Compiling James Java sources
    [mkdir] Created dir: /home/gtf/java-apps/James/build/classes
    [javac] Compiling 206 source files to /home/gtf/java-apps/James/build/classes
    [javac] 
/home/gtf/java-apps/James/src/java/org/apache/james/util/thread/DefaultThreadPool.java:73:
 org.apache.james.util.thread.DefaultThreadPool should be declared abstract; it does 
not define execute(org.apache.excalibur.thread.Executable) in 
org.apache.james.util.thread.DefaultThreadPool
    [javac] public class DefaultThreadPool
    [javac]        ^
    [javac] 
/home/gtf/java-apps/James/src/java/org/apache/james/util/thread/DefaultThreadPool.java:196:
 execute(org.apache.avalon.framework.activity.Executable) in 
org.apache.james.util.thread.DefaultThreadPool cannot implement 
execute(org.apache.avalon.framework.activity.Executable) in 
org.apache.avalon.excalibur.thread.ThreadPool; attempting to use incompatible return 
type
    [javac] found   : org.apache.avalon.excalibur.thread.ThreadControl
    [javac] required: org.apache.excalibur.thread.ThreadControl
    [javac]        public ThreadControl execute( final Executable work )
    [javac]                             ^
    [javac] 
/home/gtf/java-apps/James/src/java/org/apache/james/util/thread/DefaultThreadPool.java:184:
 execute(java.lang.Runnable) in org.apache.james.util.thread.DefaultThreadPool cannot 
implement execute(java.lang.Runnable) in org.apache.excalibur.thread.ThreadPool; 
attempting to use incompatible return type
    [javac] found   : org.apache.avalon.excalibur.thread.ThreadControl
    [javac] required: org.apache.excalibur.thread.ThreadControl
    [javac]        public ThreadControl execute( final Runnable work )
    [javac]                             ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 3 errors

BUILD FAILED


Thanks
Geoffrey



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

Reply via email to