Yes, it said "build is successful" for all profiles (samples, all, reporting)

[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------ [INFO] Apache Shindig Project ................................ SUCCESS [2.878s] [INFO] Apache Shindig Features ............................... SUCCESS [9.644s] [INFO] Apache Shindig Common Code ............................ SUCCESS [2.800s] [INFO] Apache Shindig Gadget Renderer ........................ SUCCESS [4.293s] [INFO] Apache Shindig Social API ............................. SUCCESS [3.195s] [INFO] Apache Shindig Sample SPI and API Implementations ..... SUCCESS [2.238s] [INFO] Apache Shindig Extra Modules .......................... SUCCESS [1.981s] [INFO] Apache Shindig Web App ................................ SUCCESS [5.269s] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32 seconds
[INFO] Finished at: Mon Jul 12 13:43:16 CEST 2010
[INFO] Final Memory: 62M/122M


On 12.07.10 13:02, franck tankoua wrote:
were you able to successfully run mvn at /java/samples level?

On Mon, Jul 12, 2010 at 12:57 PM, Evgeny Bogdanov
<[email protected]>wrote:

Sorry for spamming but I still can't get a working version.

This is what I did based on the suggestions here.

1) I've checked out a latest shindig version.
2) I added a Guice module
"org.apache.shindig.social.opensocial.jpa.spi.JPASocialModule:"
into java/server/src/main/webapp/WEB-INF/web.xml
3) I added java/samples into shindig/pom.xml for profile "all"
<profile>
<id>all</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>features</module>
<module>java/common</module>
<module>java/gadgets</module>
<module>java/social-api</module>
<module>java/samples</module>
<module>java/server</module>
<module>extras</module>
</modules>
</profile>

4) I compile the code with command
mvn package -Dmaven.test.skip

5) Than I go to the java/server and run "mvn jetty:run"

However it can't find a class
org.apache.shindig.social.opensocial.jpa.spi.JPASocialModule

java.lang.RuntimeException: java.lang.ClassNotFoundException:
org.apache.shindig.social.opensocial.jpa.spi.JPASocialModule
        at
org.apache.shindig.common.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:63)

I would be very happy if somebody could help or give a hint on what I am
doing wrong

Thanks in advance
Evgeny



Reply via email to