On 28 March 2012 11:00, Scott Wilson <[email protected]> wrote:
> On 28 Mar 2012, at 09:49, Jasha Joachimsthal wrote: > > > I wanted to deploy Apache Rave on my server for a demo. In [1] we have > > documented how the portal makes calls to Shindig on a different location > > than localhost:8080 and how to configure Shindig to let the gadgets make > > calls to its external host. For the W3C widgets we bundle a war of the > > Wookie server that is configured for localhost:8080. > > For Wookie I changed the settings > > in WEB-INF/classes/widgetserver.properties of the exploded war (ugh) to > > make the W3C widgets render. Is there a cleaner way to do this by adding > a > > properties file to the classpath or should be put some effort in making > our > > own Wookie war file instead of bundling the default war file? > > Wookie will look for a "local.widgetserver.properties" in the servlet > container's /bin directory and merge this to override the defaults > Thanks, I'll try that and update the documentation. I managed to let the widgets render in my portal, but when I retrieve their metadata, the URL returned for the thumbnail or preview contains localhost:8080. Before submitting the form for a new widget in the portal widget store I correct that host name. Is that also a setting in the local.widgetserver.properties or is that a part of the widget metadata of the default bundled widgets? > > > > > [1] http://rave.apache.org/documentation/host-configuration.html > > > > Jasha Joachimsthal > > > > Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522 4466 > > US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll > free) > > > > www.onehippo.com > >
