You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by rg...@apache.org on 2012/01/20 15:26:43 UTC
svn commit: r1233923 - in /incubator/wookie/trunk/widgets/templates:
base/config.xml default.widget.properties
Author: rgardler
Date: Fri Jan 20 14:26:42 2012
New Revision: 1233923
URL: http://svn.apache.org/viewvc?rev=1233923&view=rev
Log:
parameterise the access.origin value so that subsequent builds don't overwrite changes - WOOKIE-300
Modified:
incubator/wookie/trunk/widgets/templates/base/config.xml
incubator/wookie/trunk/widgets/templates/default.widget.properties
Modified: incubator/wookie/trunk/widgets/templates/base/config.xml
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/templates/base/config.xml?rev=1233923&r1=1233922&r2=1233923&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/templates/base/config.xml (original)
+++ incubator/wookie/trunk/widgets/templates/base/config.xml Fri Jan 20 14:26:42 2012
@@ -25,7 +25,7 @@
<content src="index.html"/>
<icon src="images/icon.png"/>
<author>Apache Wookie (Incubating) Community</author>
- <access origin="*"/>
+ <access origin="${widget.access.origin}"/>
<license>
Copyright [yyyy] [name of copyright owner]
Modified: incubator/wookie/trunk/widgets/templates/default.widget.properties
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/templates/default.widget.properties?rev=1233923&r1=1233922&r2=1233923&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/templates/default.widget.properties (original)
+++ incubator/wookie/trunk/widgets/templates/default.widget.properties Fri Jan 20 14:26:42 2012
@@ -4,6 +4,9 @@ widget.name=Base Widget
widget.description=A simple widget that is derived from the base template and nothing more.
widget.help=<p>There is nothing much to do here, so little need of help.</p>
+// The default origins this widget will be allowed to access
+widget.access.origin=foo.bar
+
wookie.url=http://localhost:8080/wookie
# CSS3 media queries used to identify screen size