Re: Help with initial build following install
John Pollard <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
Sorry Pascal, you may not have seen my earlier post about the fact I was on WO5.4 instead of WO5.4.3 for some reason, so that explained the @Override thing that was all resolved. Many thanks for your prompt reply, will use Java 1.6. Cheers John On 12 Feb 2013, at 18:57, Pascal Robert <[email protected]> wrote: > Java 1.6 is the best for now. But even with Java 1.5, you shouldn't get the @Override errors. Wonder had some @Override on interfaces and this isn't allowed with Java 1.5 but I fixed those errors two weeks ago, so if your copy of Wonder is from a couple of days ago, it's not normal. > >> Further to the below, I have currently Eclipse configured to use Java 1.5, so you were right Pascal >> java -version was indicating 1.6 as mentioned below >> I have now installed Oracles JDK 1.7 and set JAVA_HOME to /usr/libexec/java_home >> java -version now tells me 1.7 >> What version of Java should I be using in Eclipse JRE preferences, 1.6 or Oracle's 1.7? I didn't notice that in the installation instructions. >> I tried 1.7 and I see quite a few errors in PW frameworks, so I'm guessing 1.6? >> Many thanks for your help >> John >> >> On 11 Feb 2013, at 15:16, Pascal Robert <[email protected]> wrote: >> >>> >>> Le 2013-02-11 à 10:13, John Pollard <[email protected]> a écrit : >>> >>>> Hi Pascal, >>>> java version "1.6.0_37" >>>> Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909) >>>> Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode) >>> >>> You shouldn't get this error with Java 1.6. If you open the ERExtensions project in Eclipse, do you get these errors too? >>> >>>> On 11 Feb 2013, at 15:09, Pascal Robert <[email protected]> wrote: >>>> >>>>> Hi John, >>>>> >>>>> Which version of Java do you use (you can run "java -version" to show it)? Looks like you either run on Java 1.5 or 1.4. >>>>> >>>>>> Hi List, >>>>>> >>>>>> I have been working with WebObjects apps for some time (eclipse/wolips 3.7.1). I am now trying to install Wonder for the first time. >>>>>> >>>>>> Following the wocommunity installation instructions to get the source code, I am failing to build following instructions here: http://wiki.wocommunity.org/display/documentation/Building+and+Installing+a+Framework+with+Ant >>>>>> >>>>>> Using the terminal command line build: >>>>>> >>>>>> ant frameworks >>>>>> >>>>>> I see errors such as: >>>>>> >>>>>> ... >>>>>> [wocompile] Compiling 524 source files to /Users/john/Roots/classes/ERExtensions >>>>>> [wocompile] /Users/john/WonderSource/Frameworks/Core/ERExtensions/Sources/com/webobjects/eoaccess/ERXEntity.java:83: method does not override or implement a method from a supertype >>>>>> [wocompile] @Override >>>>>> [wocompile] ^ >>>>>> [wocompile] /Users/john/WonderSource/Frameworks/Core/ERExtensions/Sources/er/extensions/components/ERXComponentUtilities.java:315: cannot find symbol >>>>>> [wocompile] symbol : method associationFactoryRegistry() >>>>>> ... >>>>>> >>>>>> The first error appears to indicate that EOEntity.java method hasExternalName() isn't present to be overridden. >>>>>> >>>>>> My WebObjects installation is not in a Versions subdirectory, I kept my working installation in /Library/WebObjects and my WOLips preferences for System Frameworks is set to /System/Library/Frameworks (I am ok building / running / deploying WO apps). >>>>>> >>>>>> Thank you for any pointers. >>>>>> >>>>>> John >>>>>> ------------------------------------------------------------------------------ >>>>>> Free Next-Gen Firewall Hardware Offer >>>>>> Buy your Sophos next-gen firewall before the end March 2013 >>>>>> and get the hardware for free! Learn more. >>>>>> http://p.sf.net/sfu/sophos-d2d-feb >>>>>> _______________________________________________ >>>>>> Wonder-disc mailing list >>>>>> [email protected] >>>>>> https://lists.sourceforge.net/lists/listinfo/wonder-disc >>>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Free Next-Gen Firewall Hardware Offer >>>> Buy your Sophos next-gen firewall before the end March 2013 >>>> and get the hardware for free! Learn more. >>>> http://p.sf.net/sfu/sophos-d2d-feb >>>> _______________________________________________ >>>> Wonder-disc mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/wonder-disc >>> >> >> >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> http://p.sf.net/sfu/sophos-d2d-feb >> _______________________________________________ >> Wonder-disc mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/wonder-disc > ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb