You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by Rick Curtis <cu...@gmail.com> on 2010/08/11 16:02:10 UTC

Build error

I was trying to package openjpa this morning and I seem to be having some
issues.... Is anyone else seeing this behavior?

*C:\jpa\trunk\openjpa-parent>java -version*
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
*
C:\jpa\trunk\openjpa-parent>mvn package -Dmaven.test.skip=true*
...
[INFO] Executing tasks
     [echo] Running OpenBooks Generate Source

info:
     [echo]
     [echo]                     Builds OpenBooks demo application.
     [echo]                     OpenJPA Library: C:\Documents and
Settings\Administrator\.m2\repository/org/apache/openjpa/openjpa-all/2.1.0-SNAPSHOT
     [echo]                     Build mode     : jse
     [echo]                     Deploy Location:
C:\jpa\clean\trunk\openjpa-parent\openjpa-examples\openbooks/target/openbooks
     [echo]

check-env:

generate-source:
   [delete] Deleting directory
C:\jpa\clean\trunk\openjpa-parent\openjpa-examples\openbooks\target\generated-html
    [mkdir] Created dir:
C:\jpa\clean\trunk\openjpa-parent\openjpa-examples\openbooks\target\generated-html
     [copy] Copying 1 file to
C:\jpa\clean\trunk\openjpa-parent\openjpa-examples\openbooks\target\generated-html

generate-source-with-options:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while
executing this line:
C:\jpa\clean\trunk\openjpa-parent\openjpa-examples\openbooks\build.xml:229:
The following error occurred while executing this line:
C:\jpa\clean\trunk\openjpa-parent\openjpa-examples\openbooks\build.jse.xml:94:
java.lang.Error: Unresolved compilation problem:
        The method render(int, Token) of type HTMLTokenRenderer must
override a superclass method

Re: Build error

Posted by Jeremy Bauer <te...@gmail.com>.
It works for me as well.  Latest trunk code, JDK 1.6.0_20, Maven 2.2.1,
Windows 32-bit.

-Jeremy

On Wed, Aug 11, 2010 at 10:15 AM, Donald Woods <dw...@apache.org> wrote:

> No idea.  It's working for me on 1.6.0_20 and Maven 2.2.1 when using -
>        mvn clean install
>
> Maybe it's the older Java level you're using.... (latest is 1.6.0_21)?
>
>
> -Donald
>
>
> On 8/11/10 10:02 AM, Rick Curtis wrote:
> > I was trying to package openjpa this morning and I seem to be having some
> > issues.... Is anyone else seeing this behavior?
> >
> > *C:\jpa\trunk\openjpa-parent>java -version*
> > java version "1.6.0_11"
> > Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
> > Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
> > *
> > C:\jpa\trunk\openjpa-parent>mvn package -Dmaven.test.skip=true*
> > ...
> > [INFO] Executing tasks
> >      [echo] Running OpenBooks Generate Source
> >
> > info:
> >      [echo]
> >      [echo]                     Builds OpenBooks demo application.
> >      [echo]                     OpenJPA Library: C:\Documents and
> >
> Settings\Administrator\.m2\repository/org/apache/openjpa/openjpa-all/2.1.0-SNAPSHOT
> >      [echo]                     Build mode     : jse
> >      [echo]                     Deploy Location:
> >
> C:\jpa\clean\trunk\openjpa-parent\openjpa-examples\openbooks/target/openbooks
> >      [echo]
> >
> > check-env:
> >
> > generate-source:
> >    [delete] Deleting directory
> >
> C:\jpa\clean\trunk\openjpa-parent\openjpa-examples\openbooks\target\generated-html
> >     [mkdir] Created dir:
> >
> C:\jpa\clean\trunk\openjpa-parent\openjpa-examples\openbooks\target\generated-html
> >      [copy] Copying 1 file to
> >
> C:\jpa\clean\trunk\openjpa-parent\openjpa-examples\openbooks\target\generated-html
> >
> > generate-source-with-options:
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] An Ant BuildException has occured: The following error occurred
> while
> > executing this line:
> >
> C:\jpa\clean\trunk\openjpa-parent\openjpa-examples\openbooks\build.xml:229:
> > The following error occurred while executing this line:
> >
> C:\jpa\clean\trunk\openjpa-parent\openjpa-examples\openbooks\build.jse.xml:94:
> > java.lang.Error: Unresolved compilation problem:
> >         The method render(int, Token) of type HTMLTokenRenderer must
> > override a superclass method
> >
>

Re: Build error

Posted by Donald Woods <dw...@apache.org>.
No idea.  It's working for me on 1.6.0_20 and Maven 2.2.1 when using -
	mvn clean install

Maybe it's the older Java level you're using.... (latest is 1.6.0_21)?


-Donald


On 8/11/10 10:02 AM, Rick Curtis wrote:
> I was trying to package openjpa this morning and I seem to be having some
> issues.... Is anyone else seeing this behavior?
> 
> *C:\jpa\trunk\openjpa-parent>java -version*
> java version "1.6.0_11"
> Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
> Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
> *
> C:\jpa\trunk\openjpa-parent>mvn package -Dmaven.test.skip=true*
> ...
> [INFO] Executing tasks
>      [echo] Running OpenBooks Generate Source
> 
> info:
>      [echo]
>      [echo]                     Builds OpenBooks demo application.
>      [echo]                     OpenJPA Library: C:\Documents and
> Settings\Administrator\.m2\repository/org/apache/openjpa/openjpa-all/2.1.0-SNAPSHOT
>      [echo]                     Build mode     : jse
>      [echo]                     Deploy Location:
> C:\jpa\clean\trunk\openjpa-parent\openjpa-examples\openbooks/target/openbooks
>      [echo]
> 
> check-env:
> 
> generate-source:
>    [delete] Deleting directory
> C:\jpa\clean\trunk\openjpa-parent\openjpa-examples\openbooks\target\generated-html
>     [mkdir] Created dir:
> C:\jpa\clean\trunk\openjpa-parent\openjpa-examples\openbooks\target\generated-html
>      [copy] Copying 1 file to
> C:\jpa\clean\trunk\openjpa-parent\openjpa-examples\openbooks\target\generated-html
> 
> generate-source-with-options:
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: The following error occurred while
> executing this line:
> C:\jpa\clean\trunk\openjpa-parent\openjpa-examples\openbooks\build.xml:229:
> The following error occurred while executing this line:
> C:\jpa\clean\trunk\openjpa-parent\openjpa-examples\openbooks\build.jse.xml:94:
> java.lang.Error: Unresolved compilation problem:
>         The method render(int, Token) of type HTMLTokenRenderer must
> override a superclass method
>