openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dick <michael.d.d...@gmail.com>
Subject Re: About generated source in openjpa-kernel
Date Thu, 07 Jan 2010 20:56:49 GMT
Hi Ravi,

Adding the version is the right way to go, thanks for finding it.

-mike

On Thu, Jan 7, 2010 at 2:42 PM, Ravi P Palacherla <
ravi.palacherla@oracle.com> wrote:

>
> Hi All,
>
> I checked out svn branch 0.9.7-r547073 revision 724510.
>
> When I try to do "mvn package -DskipTests" I get the following exception :
>
> C:\openJPA\0.9.7-r547073_r724510\openjpa-kernel\target\generated-source
>
> s\javacc\org\apache\openjpa\kernel\jpql\org\apache\openjpa\kernel\jpql\JPQL.java
> :[9262,24] generics are not supported in -source 1.4
> (try -source 1.5 to enable generics)
>  private java.util.List<int[]> jj_expentries = new
> java.util.ArrayList<int[]>()
> ;
>
> Looks like javacc-maven-plugin inside openjpa-kernel/pom.xml is getting the
> latest javacc plugin which is using generics to generate the source code.
>
> To resolve the issue, I had to add "<version>2.5</version>" for
> javacc-maven-plugin to openjpa-kernel/pom.xml.
>
> Should I open a JIRA and check in the above change (or) is there a better
> solution for this issue ?
>
> Regards,
> Ravi.
> --
> View this message in context:
> http://n2.nabble.com/About-generated-source-in-openjpa-kernel-tp4268662p4268662.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message