You can provide your own shindig.properties by putting it in a local classpath before the shindig jar. You might consider implementing a system property to override the path (look at how we did it with shindig.port)
On Wed, Jan 19, 2011 at 2:47 PM, Ryan J Baxter <rjbax...@us.ibm.com> wrote: > Hi Franck, > > The container.js is specified in the shindig.properties file, which lives > in the shindig-common jar. Since it's jarred up you cannot easily edit it > in the war. One option would be to replace the PropertiesModule guice > module and point it to your own shindig.properties file and in that file > point it to your modified container.js file. > > Another option would be to just modify the container.js file in > WEB-INF/classes/containers/default. > > -Ryan > > Email: rjbax...@us.ibm.com > Phone: 978-899-3041 > developerWorks Profile > > > > From: franck tankoua <ftank...@gmail.com> > To: dev@shindig.apache.org > Date: 01/19/2011 02:30 PM > Subject: Define container.js in a war project > > > > Hi All, > > Could someone help me on this. > I have thought it was possible through the WEB.xml or through the guice > module. > > I cannot do something like the following as it is throwing "A binding to > java.lang.String annotated with > @com.google.inject.name.Named(value=shindig.containers.default) was > already > configured" : > {{{ > bindConstant().annotatedWith(Names.named("shindig.containers.default")).to("shindig/container.js"); > }}} > > Thanks > > -- > Franck > > > > -- Paul Lindner -- lind...@inuus.com -- linkedin.com/in/plindner