You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by sc...@apache.org on 2011/05/12 14:43:33 UTC

svn commit: r1102267 - /incubator/wookie/site/trunk/content/wookie/docs/developer/features.mdtext

Author: scottbw
Date: Thu May 12 12:43:33 2011
New Revision: 1102267

URL: http://svn.apache.org/viewvc?rev=1102267&view=rev
Log:
Added more doc on feature configuration

Modified:
    incubator/wookie/site/trunk/content/wookie/docs/developer/features.mdtext

Modified: incubator/wookie/site/trunk/content/wookie/docs/developer/features.mdtext
URL: http://svn.apache.org/viewvc/incubator/wookie/site/trunk/content/wookie/docs/developer/features.mdtext?rev=1102267&r1=1102266&r2=1102267&view=diff
==============================================================================
--- incubator/wookie/site/trunk/content/wookie/docs/developer/features.mdtext (original)
+++ incubator/wookie/site/trunk/content/wookie/docs/developer/features.mdtext Thu May 12 12:43:33 2011
@@ -33,12 +33,6 @@ The `<name>` element should contain an I
 
 The `<script>` and `<stylesheet>` elements should contain a `src` attribute with the filename to load. This must be relative to the folder for the feature - typically this is just the filename but you can also store CSS and JS files in subfolders within your feature directory if you wish.
 
-#Installing features
-
-By default Wookie will look in its /features directory on launch and load any features it finds.
-
-(There is currently no way to dynamically load a feature while Wookie is still running)
-
 #Example features.xml
 
 
@@ -49,3 +43,25 @@ By default Wookie will look in its /feat
     	<stylesheet src="shared/jquery.mobile-1.0a4.min.css"/>
     </feature>
 
+#Installing features
+
+By default Wookie will look in its /features directory on launch and load any features it finds.
+
+(There is currently no way to dynamically load a feature while Wookie is still running)
+
+#Configuring feature deployment
+
+When you build and deploy Wookie using Ant, the features that are deployed are determined by two properties set in your build.properties file.
+
+The default configuration looks like this:
+
+    # Uncomment to include Extra features
+    include.extra.features
+    # Uncomment to include Scratchpad features
+    #include.scratchpad.features
+
+If `include.extra.features` is not commented out, any features in the `features` directory of the working directory will be deployed. 
+
+If `include.scratchpad.features` is not commented out, any features in the `scratchpad/features` directory of the working directory will be deployed. 
+
+If both properties are commented out in build.properties then only the Google Wave Gadget API feature will be installed.
\ No newline at end of file