Personally I think limiting to building on 1.6 is very annoying. I use my Mac OS X box quite a bit and would rather use the default 1.5. I would argue that we should remove the @Overide that are causing the problem and are only used in the one interface. Small change for a big win IMHO.
Martin 2008/12/1 Hiram Chirino <[EMAIL PROTECTED]>: > Yep. You guys might want to add a readme type deal to avoid folks > having these problems. > > On Mon, Dec 1, 2008 at 4:39 PM, Rafael Schloming <[EMAIL PROTECTED]> wrote: >> Hiram Chirino wrote: >>> >>> Ah thanks.. I just tried that and got: >>> >>> compile: >>> [echo] Targeting : 1.5 >>> [javac] Compiling 268 source files to >>> /Users/chirino/sandbox/qpid-trunk/java/build/broker/classes >>> [javac] >>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/ExtractResendAndRequeue.java:57: >>> method does not override a method from its superclass >>> [javac] @Override >>> [javac] ^ >>> [javac] >>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/ExtractResendAndRequeue.java:104: >>> method does not override a method from its superclass >>> [javac] @Override >>> [javac] ^ >>> [javac] >>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:82: >>> method does not override a method from its superclass >>> [javac] @Override >>> [javac] ^ >>> [javac] >>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:130: >>> method does not override a method from its superclass >>> [javac] @Override >>> [javac] ^ >>> [javac] >>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:200: >>> method does not override a method from its superclass >>> [javac] @Override >>> [javac] ^ >>> [javac] Note: Some input files use or override a deprecated API. >>> [javac] Note: Recompile with -Xlint:deprecation for details. >>> [javac] Note: Some input files use unchecked or unsafe operations. >>> [javac] Note: Recompile with -Xlint:unchecked for details. >>> [javac] 5 errors >> >> Are you building with Java 1.5? These days you need 1.6 or later to build >> the code. In particular @Override is being used on implementations of >> interface methods. This is permitted by Java 1.6 or later, but was illegal >> on Java 1.5. >> >> --Rafael >> >> > > > > -- > Regards, > Hiram > > Blog: http://hiramchirino.com > > Open Source SOA > http://open.iona.com > -- Martin Ritchie
