The ant build file is probably set to compile in pre-1.5 mode so generics are rejected.
Jeff On Wed, Jun 3, 2015 at 5:18 PM, sivanarayana ganesh <[email protected]> wrote: > Hi, > > I have been struggling to build my XText project with buckminister > generated build file(build.ant). This is what I have done. > Env : Eclipse Luna, Java 1.8 > > --> Create new Xtext project, and created some grammar > ---> Ran mwe workflows and xtext artifacts > --> Create buckminister project > ---> ant -f build.ant > > Errors: > > [java] Error: file > /home/vagrant/workspace/com.visa.ovn.rules.ui/src-gen/com/visa/ovn/ui/contentassist/antlr/PartialRulesContentAssistParser.java, > line 33: Syntax error, parameterized types are only available if source > level is 1.5 or greater > [java] Warning: file > /home/vagrant/workspace/com.visa.ovn.rules.ui/META-INF/MANIFEST.MF, line > 20: 'JavaSE-1.8' is not a valid Execution Environment > > Sorry if it is a basic question. Appreciate any help. > > Thanks. > > -Siva. > > > > > _______________________________________________ > xtext-dev mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/xtext-dev > -- Jeff MAURY "Legacy code" often differs from its suggested alternative by actually working and scaling. - Bjarne Stroustrup http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http://www.twitter.com/jeffmaury
_______________________________________________ xtext-dev mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/xtext-dev
