Thanks for catching this Marc. I couldn't find a way to configure around the
problem so I reverted the changes. It might just be a "new" bug in the
2.2version of the plugin.

-Mike

On 10/24/07, Marc Prud'hommeaux <[EMAIL PROTECTED]> wrote:
>
> Michael-
>
> Your plugin version change worked OK on my Mac, but on Windows, it
> fails:
>
>
> $ mvn compile
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   OpenJPA
> [INFO]   OpenJPA Utilities
> [INFO]   OpenJPA Kernel
> [INFO]   OpenJPA JDBC
> [INFO]   OpenJPA XML Store
> [INFO]   OpenJPA Utilities 1.5
> [INFO]   OpenJPA Kernel 1.5
> [INFO]   OpenJPA JDBC 1.5
> [INFO]   OpenJPA JPA
> [INFO]   OpenJPA JPA JDBC
> [INFO]   OpenJPA Aggregate Jar
> [INFO]   OpenJPA Distribution
> [INFO]   OpenJPA Integration Tests
> [INFO]   OpenJPA Examples Integration Tests
> [INFO]   OpenJPA JPA TCK Integration Tests
> [INFO]   OpenJPA Persistence Examples
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] Building OpenJPA
> [INFO]    task-segment: [compile]
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] No goals needed for project - skipping
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] Building OpenJPA Utilities
> [INFO]    task-segment: [compile]
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [antrun:run {execution: set subversion revision}]
> [INFO] Executing tasks
>       [echo] Revision: 420667:587782
>       [echo] OpenJPA version: 1.1.0-SNAPSHOT
> [INFO] Executed tasks
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] Building OpenJPA Kernel
> [INFO]    task-segment: [compile]
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] [javacc:jjtree {execution: jjtree-jpql}]
> Java Compiler Compiler Version 4.0 (Tree Builder)
> (type "jjtree" with no arguments for help)
> Reading from file C:\cygwin\home\mprudhom\java\openjpa\trunk\openjpa-
> kernel\src\main\jjtree\org\apache\openjpa\kernel\jpql\JPQL.jjt . . .
> Annotated grammar generated successfully in C:\cygwin\home\mprudhom
> \java\openjpa\trunk\openjpa-kernel\target\generated-sources\jjtree\org
> \apache\openjpa\kernel\jpql\JPQL.jj
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] JJTree execution failed
>
> Embedded error: C:\cygwin\home\mprudhom\java\openjpa\trunk\openjpa-
> kernel\target\generated-sources\jjtree-timestamp\C:\cygwin\home
> \mprudhom\java\openjpa\trunk\openjpa-kernel\src\main\jjtree\org\apache
> \openjpa\kernel\jpql\JPQL.jjt (The filename, directory name, or
> volume label syntax is incorrect)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Tue Oct 23 22:46:20 PDT 2007
> [INFO] Final Memory: 6M/12M
> [INFO]
> ------------------------------------------------------------------------
>
>
>
>
>
> On Oct 23, 2007, at 9:53 PM, Michael Dick wrote:
>
> > Looks like Patrick is right, I trimmed the packages from the source
> > and
> > output directories and it worked for me. The changes passed on
> > Patrick's
> > TeamCity server too so I committed the changes.
> >
> > I updated the version tag to 2.2, so that it forces the new version
> > to be
> > downloaded the next time you do a build. We'll probably want to
> > remove that
> > in the future, once most of us have the latest version.
> >
> > -Mike
> >
> > On 10/23/07, Marc Prud'hommeaux <[EMAIL PROTECTED]> wrote:
> >>
> >> Patrick-
> >>
> >> On Oct 23, 2007, at 8:56 PM, Patrick Linskey wrote:
> >>
> >>> Might this mean that the new version doesn't have the bug that
> >>> the old
> >>> one exhibited, where package names were seemingly ignored?
> >>
> >> I think that is a possibility. I did tinker with the newer version
> >> briefly, but I couldn't get it to work. However, I didn't try all the
> >> possible configuration permutations that might have gotten it
> >> working.
> >>
> >> It would be nice to get the new version working, because then we
> >> might be able to get past the current issue we have were "mvn
> >> compile" recompiles 9 of the generated files each time it is run,
> >> even when nothing has changed. Not a huge deal, but if it were fixed,
> >> then it might speed up the build in some cases.
> >>
> >>
> >>
> >>> -Patrick
> >>>
> >>> On 10/23/07, Marc Prud'hommeaux <[EMAIL PROTECTED]> wrote:
> >>>>
> >>>> I think Michael is right. After I clobber my ~/.m2/ directory
> >>>> and try
> >>>> to re-build on Windows, I get the same error.
> >>>>
> >>>> I've checked in his suggested fix (by forcing the version of the
> >>>> plugin to be 2.1). Can you update and try to build again, and
> >>>> let us
> >>>> know if you get an error?
> >>>>
> >>>>
> >>>> On Oct 23, 2007, at 1:32 PM, Michael Dick wrote:
> >>>>
> >>
> >
> > <snip>
>
>

Reply via email to