In the gadgets module Maven adds extra source folders based on the jdk version. There are profiles for Java 5 and Java 6, but not for other versions. I added a patch for trunk to https://issues.apache.org/jira/browse/SHINDIG-1829 that activates the java6 profile for jdk 1.6 and up (instead of just jdk 1.6).
On 27 July 2012 18:13, Stanton Sievers <ssiev...@us.ibm.com> wrote: > Hi Bob, > > This is most likely an issue with the version of Java you are using to > build with. I'm going to take a stab at it and say you are using Java 7. > Is that right? There are issues with Java 7, so please try to build with > Java 6 when you can. > > Thanks, > -Stanton > > > > From: Robert Brehm <rpbr...@gmail.com> > To: dev@shindig.apache.org, > Date: 07/27/2012 12:06 > Subject: Getting build errors building sshindig-project-2.5.0-beta3 > > > > Hi List, > > I am buiding shindig-project-2.5.0-beta3 on a Windows 7 64 bit machine. I > am following the instructions in > > https://cwiki.apache.org/confluence/display/SHINDIG/Setting+Up+An+Eclipse+Development+Environment+For+Shindig+%28Java%29 > . > Step 55. The result is as follows: > > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 32.713s > [INFO] Finished at: Fri Jul 27 09:04:04 PDT 2012 > [INFO] Final Memory: 45M/322M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile > (default-compile) on project shindig-gadgets: Compilation failure: > Compilation failure: > [ERROR] > > \Users\Bob\workspace\shindig-project-2.5.0-beta3\shindig-project\java\gadgets\src\main\java\org\apache\shindig\gadgets\DefaultGuiceModule.java:[38,36] > error: cannot find symbol > [ERROR] > > \Users\Bob\workspace\shindig-project-2.5.0-beta3\shindig-project\java\gadgets\src\main\java\org\apache\shindig\gadgets\DefaultGuiceModule.java:[86,16] > error: cannot find symbol > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :shindig-gadgets > > Same result when I try to build trunk. > > Thanks, > > Bob > >