Hello, If you're refering to: "could not parse error message: warning: [options] bootstrap class path not set in conjunction with -source 1.5"; I've read about that. When building with a certain source compatibility level; you also need to link to the right rt.jar; In Java 7 the rt.jar for Java 5 is not included (it wasn't in Java 6 either); but now Java 7 compiler detects this as an error.
I was looking for a website that explained it, but can't find it atm. Kind regards 2013/5/1 Jeremy Hughes <[email protected]> > Hi John, > > Yes, the compile problem with Java 7 is now fixed. I created ARIES-1060 > and put details in there. I fear my fix has just skirted an underlying > problem with using Java 7 but I don't quite know what at the moment. Please > let us know if you have other troubles using Java 7. > > To get the latest samples you'll need to checkout the latest from SVN. > > Thanks, > Jeremy > > > > On 1 May 2013 00:44, John Croucher <[email protected]> wrote: > >> Hi Jeremy, >> >> Thanks for the reply. I was using Java 7. >> >> When you mention you checked in a fix, does that mean you fixed the >> compile issue with Java 7? Also, would you still like me to a open a Jira >> issue? >> >> Thanks, >> >> John >> >> >> On Tue, Apr 30, 2013 at 5:36 PM, Jeremy Hughes <[email protected]>wrote: >> >>> Hi, I've checked in a fix under ARIES-1060 r1477840. >>> >>> Regards, >>> Jeremy >>> >>> >>> On 30 April 2013 16:45, Jeremy Hughes <[email protected]> wrote: >>> >>>> Hi John, I pulled down that the samples-1.0.0-source-release.zip and >>>> used a clean local maven repo. All built fine with Java 5 and 6 but not >>>> Java 7. Not sure why yet. Could you open a JIRA issue please? >>>> >>>> Thanks, >>>> Jeremy >>>> >>>> >>>> On 29 April 2013 22:59, John Croucher <[email protected]> wrote: >>>> >>>>> Hi, >>>>> >>>>> I am trying to follow a tutorial which is using the Aries "main" >>>>> sample. >>>>> >>>>> So I downloaded Aries Samples 1.0.0 (Source, ready to build) from >>>>> current releases but it is failing to build when I issue mvn install >>>>> command. >>>>> >>>>> The last of the several errors is: >>>>> >>>>> [ERROR] BUILD FAILURE >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> [INFO] Compilation failure >>>>> could not parse error message: warning: [options] bootstrap class path >>>>> not set in conjunction with -source 1.5 >>>>> C:\samples-1.0.0-source-release\samples-1.0.0\twitter\twitter-bundle\src\main\java\org\apache\aries\sample\twitter\TwitterQuery.java:45: >>>>> error: incompatible types >>>>> for (Tweet tweet : result.getTweets()) { >>>>> ^ >>>>> >>>>> The target directory has not jar files. I am new to this and am not >>>>> sure how to proceed to get a proper build. >>>>> >>>> >>>> >>> >> >
