It looks like the java in your path is a 1.4 version or gnu classpath, ensure that you get a proprietary 1.5+ java with "java -version" I'd say 1.6 should be ok. A number of linux platforms use the free java by default, not the proprietary VMs.
The joys of propietary platforms :) Regards Santiago El dom, 27-04-2008 a las 21:24 -0500, Jason Burgess escribió: > Ian, > > Here's the result: > > [INFO] Compilation failure > > no more tokens - could not parse error message: ---------- > 1. ERROR in > /usr/local/src/shindig/java/common/src/main/java/GenericTest.java (at line > 7) > public List<String> stringList = new ArrayList<String>(); > ^^^^ > > no more tokens - could not parse error message: The type List is not > generic; it cannot be parameterized with arguments <String> > ---------- > 2. ERROR in > /usr/local/src/shindig/java/common/src/main/java/GenericTest.java (at line > 7) > public List<String> stringList = new ArrayList<String>(); > ^^^^^^^^^ > > Sorry it took me so long to respond, I didn't have a chance to try it on > Friday between other projects. > > Jason > > -----Original Message----- > From: Ian Boston [mailto:[EMAIL PROTECTED] On Behalf Of Ian Boston > Sent: Thursday, April 24, 2008 6:05 PM > To: [email protected] > Subject: Re: Unable to build trunk > > Can you try dropping > > ----------------------------------------------------------------- > import java.util.ArrayList; > import java.util.List; > > > public class GenericTest { > > public List<String> stringList = new ArrayList<String>(); > > } > ---------------------------------------------------------------- > > into java/common/src/main/java/GenericTest.java > > and doing a mvn clean install > > > Ian > > > > On 24 Apr 2008, at 23:51, Jason Burgess wrote: > > > There shouldn't be. I have also tried deleting ~/.m2, deleting the > > shiding > > directory and checking it out again. > > > > Prior to trying to run shindig, I didn't have the JDK or Maven on > > this box. > > > > Jason > > > > -----Original Message----- > > From: Ian Boston [mailto:[EMAIL PROTECTED] On Behalf Of Ian > > Boston > > Sent: Thursday, April 24, 2008 5:05 PM > > To: [email protected] > > Subject: Re: Unable to build trunk > > > > Do you have anything that could be overriding the <source>1.5</ > > source> or <target>1.5</target> in the maven-compiler-plugin plugin > > settings > > > > Is there a settings.xml in ~/.m2 > > > > > > Ian > > > -- Santiago Gala http://memojo.com/~sgala/blog/

