Software As She’s Developed

Mahemoff’s Podcast/Blog – Web, Programming, Usability from the Author of ‘Ajax Design Patterns’ (AjaxPatterns.org)

Software As She’s Developed header image 2

Fixing nightly Shindig build

March 4th, 2008 · No Comments · SoftwareDev

Update: Instead of the following, which assumes you're running containers off the filesystem, you should really run them off the web server. So the recommended way to run Shindig's sample container is "jetty:run-war" (not documented in the README, but my alert colleague located it on the mailing list). Then point to http://localhost:8080/gadgets/files/container/sample2.html.

I checked out the latest version today (628639) and FWIW these are the changes I made to the sample container to get it running (same as a week or so earlier):

Add libraries to HTML (e.g. sample1.html):

HTML:
  1. <script type="text/javascript" src="../../features/core/core.js?c=1"></script>
  2. <script type="text/javascript" src="../../features/core/util.js?c=1"></script>


Edit rpc path (e.g. sample1.html):

HTML:
  1. <script type="text/javascript" src="../../features/rpc/rpc.js?c=1"></script>


Edit default server base in gadgets.js

JAVASCRIPT:
  1. // assumes you're running jetty gadget server locally.
  2. this.serverBase_ = "http://localhost:8080/gadgets/";
  3. // or if you're too lazy ;) to serve them yourself, Google is your friend ...
  4. this.serverBase_ = "http://www.gmodules.com/ig/";


Tags:

No Comments so far ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment