[EMAIL PROTECTED] wrote:
Author: doll
Date: Mon Jan 28 18:31:42 2008
New Revision: 616143
URL: http://svn.apache.org/viewvc?rev=616143&view=rev
Log:
Updated the shindig opensocial reference files to support 0.7
This is not reflected in the sample container yet, I'll get there tomorrow.
Added:
incubator/shindig/trunk/features/opensocial-reference/address.js
incubator/shindig/trunk/features/opensocial-reference/bodytype.js
incubator/shindig/trunk/features/opensocial-reference/email.js
incubator/shindig/trunk/features/opensocial-reference/enum.js
incubator/shindig/trunk/features/opensocial-reference/message.js
incubator/shindig/trunk/features/opensocial-reference/name.js
incubator/shindig/trunk/features/opensocial-reference/organization.js
incubator/shindig/trunk/features/opensocial-reference/phone.js
incubator/shindig/trunk/features/opensocial-reference/url.js
Removed:
incubator/shindig/trunk/features/opensocial-reference/surface.js
Don't these changes need to be reflected in
opensocial-reference/feature.xml? (Something along the lines of the
attached diff?)
Otherwise, when I try to run the Java gadget server on GlassFish, I get
an exception saying that it can't find surface.js:
PWC1382: Allocate exception for servlet xml-to-html
java.lang.RuntimeException: Could not find resource
features/opensocial-reference/surface.js
at
org.apache.shindig.gadgets.JsLibrary.loadResource(JsLibrary.java:150)
...<snip>...
Thanks,
Jamey
Index: feature.xml
===================================================================
--- feature.xml (revision 616446)
+++ feature.xml (working copy)
@@ -28,6 +28,14 @@
<script src="environment.js"/>
<script src="person.js"/>
<script src="responseitem.js"/>
- <script src="surface.js"/>
+ <script src="address.js"/>
+ <script src="bodytype.js"/>
+ <script src="email.js"/>
+ <script src="enum.js"/>
+ <script src="message.js"/>
+ <script src="name.js"/>
+ <script src="organization.js"/>
+ <script src="phone.js"/>
+ <script src="url.js"/>
</gadget>
</feature>