Are you following this process exactly?
cd <shindig>
cd java
mvn package
cd gadgets
mvn jetty:run-war


- Cassie


On Thu, Apr 24, 2008 at 1:48 AM, Jason Burgess <[EMAIL PROTECTED]> wrote:

> I've been trying to get the trunk to build when running mvn package for the
> last few days.  It will build inside of /java/common, but not under
> /java/gadgets (either from mvn package in /java or after running mvn
> install
> on /java/common).
>
> I've tried clearing out my repository, and I've tried trunk at several
> different points in time from the last several days.
>
> The message is sometimes different, depending on the revision, but it
> always
> takes the form of: (I'm including a full dump at the bottom of this email)
>
> [INFO] Compilation failure
>
> could not parse error message: incorrect classpath: /not_a_directory
> ----------
> 1. ERROR in
>
> /usr/local/src/shindig/java/gadgets/src/main/java/org/apache/shindig/gadgets
> /spec/View.java (at line 1)
>        /*
>        ^^
>
> Prior to trying to build this, I did not have a JDK or maven installed.
>  The
> system is Fedora Core 6 (2.6.20-1.2962.fc6).  I'm using JDK 1.6.0_06 and
> Maven 2.0.0.9.
>
> Please let me know if I'm just doing something wrong, or if you can point
> me
> a specific revision that's more stable (or should build properly).  I saw
> there has been quite a bit of flux in the tree lately.  Thanks for any help
> you can provide.
>
> Jason Burgess
> [EMAIL PROTECTED]
>
>
> [INFO] nothing to do,
>
> /usr/local/src/shindig/java/gadgets/target/classes/files/samplecontainer/sta
> te.opt.dtd is younger than original, use 'force' option or clean your
> target
> [INFO] nothing to do,
>
> /usr/local/src/shindig/java/gadgets/target/classes/files/container/cookiebas
> eduserprefstore.opt.js is younger than original, use 'force' option or
> clean
> your target
> [INFO] nothing to do,
>
> /usr/local/src/shindig/java/gadgets/target/classes/files/container/gadgets.o
> pt.js is younger than original, use 'force' option or clean your target
> [INFO] nothing to do,
>
> /usr/local/src/shindig/java/gadgets/target/classes/files/container/util.opt.
> js is younger than original, use 'force' option or clean your target
> [INFO] nothing to do,
>
> /usr/local/src/shindig/java/gadgets/target/classes/files/container/gadgets.o
> pt.css is younger than original, use 'force' option or clean your target
> [INFO] nothing to do,
>
> /usr/local/src/shindig/java/gadgets/target/classes/files/container/cookies.o
> pt.js is younger than original, use 'force' option or clean your target
> [INFO] nothing to do,
> /usr/local/src/shindig/java/gadgets/target/classes/config/oauth.opt.json is
> younger than original, use 'force' option or clean your target
> [INFO] nb warnings: 0, nb errors: 0
> [INFO] [compiler:compile]
> [INFO] Compiling 86 source files to
> /usr/local/src/shindig/java/gadgets/target/classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> could not parse error message: incorrect classpath: /not_a_directory
> ----------
> 1. ERROR in
>
> /usr/local/src/shindig/java/gadgets/src/main/java/org/apache/shindig/gadgets
> /spec/View.java (at line 1)
>        /*
>        ^^
>
> no more tokens - could not parse error message: The type Enum is not
> generic; it cannot be parameterized with arguments <View.ContentType>
> ----------
> ----------
> 2. ERROR in
>
> /usr/local/src/shindig/java/gadgets/src/main/java/org/apache/shindig/gadgets
> /http/JsonRpcHandler.java (at line 129)
>        private class Job implements Callable<JSONObject> {
>                                     ^^^^^^^^
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: Compilation failure
>        at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
> cycleExecutor.java:579)
>        at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> (DefaultLifecycleExecutor.java:499)
>        at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec
> ycleExecutor.java:478)
>        at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail
> ures(DefaultLifecycleExecutor.java:330)
>        at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa
> ultLifecycleExecutor.java:291)
>        at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
> Executor.java:142)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>        at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>        at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation
> failure
>        at
>
> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.ja
> va:516)
>        at
> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
>        at
>
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
> r.java:451)
>        at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
> cycleExecutor.java:558)
>        ... 16 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 10 seconds
> [INFO] Finished at: Wed Apr 23 16:33:12 MST 2008
> [INFO] Final Memory: 17M/30M
> [INFO]
> ------------------------------------------------------------------------
>
>

Reply via email to