I'm working on socialsite-mavenized
(http://code.google.com/p/socialsite-mavenized/source/browse/trunk)
After some days of studying shindig and socialsite i still have some questions:

1) In order to test socialsite and run the "sample application" i
tried to run ant in the directory of sampleauthweb with:
ant 
-Dj2ee.platform.classpath=/home/nic/Desktop/tesi/servers/apache-tomcat-5.5.28
It creates the war but it fail with:
BUILD FAILED
/home/nic/Desktop/tesi/socialpro/simpleauthweb/nbproject/build-impl.xml:684:
No source files and no packages have been specified.
If i try to deploy the generated war all i get is:
HTTP Status 403 - Access to the requested resource has been denied

1b)is there another simple way of creating a new user?

2)In order to test socialsite rest api i need to set in the client the
CONSUMER_SECRET and CONSUMER_KEY.
I know in Shindig i would have to install an oauth-provider. In
socialsite it seems to be implemented in
com.sun.socialsite.web.rest.opensocialoauth.
Where can i set CONSUMER_SECRET and CONSUMER_KEY?

3)In order to test gadget functionality in socialsite I copied the
samplecontainer example dir of shindig in a web application
If i try to run it when socialsite is working i get:
gadgets.rpc is undefined
http://localhost:8080/SimpleWebApp/samplecontainer/samplecontainer.js
Line 110
gadgets.container is undefined
http://localhost:8080/SimpleWebApp/samplecontainer/samplecontainer.js
Line 110
and all the buttons of samplecontainer.html give:
shindig.samplecontainer.initSampleContainer is not a function
http://localhost:8080/SimpleWebApp/samplecontainer/samplecontainer.html/event/seq/1
Line 2
It also give an error about not finding
http://localhost:8080/js/core:rpc:pubsub?c=1&debug=1. I suppose i miss
the socialsite folder after localhost
and i think it is set in consumer.js but i don't see any errors there.

Reply via email to