Build of revisions after 1193 fail

View: New views
4 Messages — Rating Filter:   Alert me  

Build of revisions after 1193 fail

by MSanchez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I'm trying to build from source but all (tried) revisions after r1193 fail

(output from r1280 build)
$ ant
Buildfile: build.xml

clean:
   [delete] Deleting directory /home/marcos/jmock/trunk/jmock2/build

dir.build:
    [mkdir] Created dir: /home/marcos/jmock/trunk/jmock2/build

compile:
    [mkdir] Created dir: /home/marcos/jmock/trunk/jmock2/build/classes
    [javac] Compiling 175 source files to /home/marcos/jmock/trunk/jmock2/build/classes
    [javac] /home/marcos/jmock/trunk/jmock2/src/org/jmock/lib/concurrent/DeterministicScheduler.java:28: org.jmock.lib.concurrent.DeterministicScheduler is not abstract and does not override abstract method <T>invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>,long,java.util.concurrent.TimeUnit) in java.util.concurrent.ExecutorService
    [javac] public class DeterministicScheduler implements ScheduledExecutorService {
    [javac]        ^
    [javac] 1 error

BUILD FAILED
/home/marcos/jmock/trunk/jmock2/build.xml:60: Compile failed; see the compiler error output for details.

(output from r1194 build)
$ ant
Buildfile: build.xml

clean:
   [delete] Deleting directory /home/marcos/jmock/trunk/jmock2/build

dir.build:
    [mkdir] Created dir: /home/marcos/jmock/trunk/jmock2/build

compile:
    [mkdir] Created dir: /home/marcos/jmock/trunk/jmock2/build/classes
    [javac] Compiling 159 source files to /home/marcos/jmock/trunk/jmock2/build/classes
    [javac] /home/marcos/jmock/trunk/jmock2/src/org/jmock/lib/concurrent/SynchronousScheduledExecutor.java:23: org.jmock.lib.concurrent.SynchronousScheduledExecutor is not abstract and does not override abstract method <T>invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>,long,java.util.concurrent.TimeUnit) in java.util.concurrent.ExecutorService
    [javac] public class SynchronousScheduledExecutor implements ScheduledExecutorService {
    [javac]        ^
    [javac] 1 error

BUILD FAILED
/home/marcos/jmock/trunk/jmock2/build.xml:59: Compile failed; see the compiler error output for details.

Re: Build of revisions after 1193 fail

by Nat Pryce :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Build it with Java 1.5

--Nat

2008/8/4 MSanchez <tecopen@...>:

>
> Hi
>
> I'm trying to build from source but all (tried) revisions after r1193 fail
>
> (output from r1280 build)
> $ ant
> Buildfile: build.xml
>
> clean:
>   [delete] Deleting directory /home/marcos/jmock/trunk/jmock2/build
>
> dir.build:
>    [mkdir] Created dir: /home/marcos/jmock/trunk/jmock2/build
>
> compile:
>    [mkdir] Created dir: /home/marcos/jmock/trunk/jmock2/build/classes
>    [javac] Compiling 175 source files to
> /home/marcos/jmock/trunk/jmock2/build/classes
>    [javac]
> /home/marcos/jmock/trunk/jmock2/src/org/jmock/lib/concurrent/DeterministicScheduler.java:28:
> org.jmock.lib.concurrent.DeterministicScheduler is not abstract and does not
> override abstract method <T>invokeAny(java.util.Collection<? extends
> java.util.concurrent.Callable<T>>,long,java.util.concurrent.TimeUnit) in
> java.util.concurrent.ExecutorService
>    [javac] public class DeterministicScheduler implements
> ScheduledExecutorService {
>    [javac]        ^
>    [javac] 1 error
>
> BUILD FAILED
> /home/marcos/jmock/trunk/jmock2/build.xml:60: Compile failed; see the
> compiler error output for details.
>
> (output from r1194 build)
> $ ant
> Buildfile: build.xml
>
> clean:
>   [delete] Deleting directory /home/marcos/jmock/trunk/jmock2/build
>
> dir.build:
>    [mkdir] Created dir: /home/marcos/jmock/trunk/jmock2/build
>
> compile:
>    [mkdir] Created dir: /home/marcos/jmock/trunk/jmock2/build/classes
>    [javac] Compiling 159 source files to
> /home/marcos/jmock/trunk/jmock2/build/classes
>    [javac]
> /home/marcos/jmock/trunk/jmock2/src/org/jmock/lib/concurrent/SynchronousScheduledExecutor.java:23:
> org.jmock.lib.concurrent.SynchronousScheduledExecutor is not abstract and
> does not override abstract method <T>invokeAny(java.util.Collection<?
> extends
> java.util.concurrent.Callable<T>>,long,java.util.concurrent.TimeUnit) in
> java.util.concurrent.ExecutorService
>    [javac] public class SynchronousScheduledExecutor implements
> ScheduledExecutorService {
>    [javac]        ^
>    [javac] 1 error
>
> BUILD FAILED
> /home/marcos/jmock/trunk/jmock2/build.xml:59: Compile failed; see the
> compiler error output for details.
>
> --
> View this message in context: http://www.nabble.com/Build-of-revisions-after-1193-fail-tp18819994p18819994.html
> Sent from the jMock - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Build of revisions after 1193 fail

by MSanchez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nat Pryce wrote:
Build it with Java 1.5
I checked again because I was tired last night and I do have java-6-openjdk & java-6-sun installed on my Ubuntu Hardy but...

$ javac -version
javac 1.5.0_15
...

$ ant
Buildfile: build.xml

clean:
   [delete] Deleting directory /home/marcos/jmock2/build

dir.build:
    [mkdir] Created dir: /home/marcos/jmock2/build

compile:
    [mkdir] Created dir: /home/marcos/jmock2/build/classes
    [javac] Compiling 175 source files to /home/marcos/jmock2/build/classes
    [javac] /home/marcos/jmock2/src/org/jmock/lib/concurrent/DeterministicScheduler.java:28: org.jmock.lib.concurrent.DeterministicScheduler is not abstract and does not override abstract method <T>invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>,long,java.util.concurrent.TimeUnit) in java.util.concurrent.ExecutorService
    [javac] public class DeterministicScheduler implements ScheduledExecutorService {
    [javac]        ^
    [javac] 1 error

BUILD FAILED

Re: Build of revisions after 1193 fail

by Nat Pryce :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It doesn't matter what version of javac your shell runs, it matters
which version Ant runs.

What is your JAVA_HOME variable set to?  Make sure it points at JDK 1.5.

--Nat

2008/8/5 MSanchez <tecopen@...>:

>
>
> Nat Pryce wrote:
>>
>> Build it with Java 1.5
>>
>
> I checked again because I was tired last night and I do have java-6-openjdk
> & java-6-sun installed on my Ubuntu Hardy but...
>
> $ javac -version
> javac 1.5.0_15
> ...
>
> $ ant
> Buildfile: build.xml
>
> clean:
>   [delete] Deleting directory /home/marcos/jmock2/build
>
> dir.build:
>    [mkdir] Created dir: /home/marcos/jmock2/build
>
> compile:
>    [mkdir] Created dir: /home/marcos/jmock2/build/classes
>    [javac] Compiling 175 source files to /home/marcos/jmock2/build/classes
>    [javac]
> /home/marcos/jmock2/src/org/jmock/lib/concurrent/DeterministicScheduler.java:28:
> org.jmock.lib.concurrent.DeterministicScheduler is not abstract and does not
> override abstract method <T>invokeAny(java.util.Collection<? extends
> java.util.concurrent.Callable<T>>,long,java.util.concurrent.TimeUnit) in
> java.util.concurrent.ExecutorService
>    [javac] public class DeterministicScheduler implements
> ScheduledExecutorService {
>    [javac]        ^
>    [javac] 1 error
>
> BUILD FAILED
>
> --
> View this message in context: http://www.nabble.com/Build-of-revisions-after-1193-fail-tp18819994p18826566.html
> Sent from the jMock - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email