incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bbuff...@apache.org
Subject svn commit: r498223 - in /incubator/xap/trunk/buildsystem: ./ seed/ seed/src-js/ seed/xap/ seed/xap/config/
Date Sun, 21 Jan 2007 00:59:57 GMT
Author: bbuffone
Date: Sat Jan 20 16:59:56 2007
New Revision: 498223

URL: http://svn.apache.org/viewvc?view=rev&rev=498223
Log:
Added seed file and manufacturing to prepare fo upcoming
release.

Added:
    incubator/xap/trunk/buildsystem/build-manufacturing.xml
    incubator/xap/trunk/buildsystem/seed/
    incubator/xap/trunk/buildsystem/seed/ajax-index.html
    incubator/xap/trunk/buildsystem/seed/ajax-index.xal
    incubator/xap/trunk/buildsystem/seed/src-js/
    incubator/xap/trunk/buildsystem/seed/src-js/DisplayUIDocument.js
    incubator/xap/trunk/buildsystem/seed/xap/
    incubator/xap/trunk/buildsystem/seed/xap/config/
    incubator/xap/trunk/buildsystem/seed/xap/config/XapConfig-Min.js
    incubator/xap/trunk/buildsystem/seed/xap/config/XapConfig.js

Added: incubator/xap/trunk/buildsystem/build-manufacturing.xml
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/buildsystem/build-manufacturing.xml?view=auto&rev=498223
==============================================================================
--- incubator/xap/trunk/buildsystem/build-manufacturing.xml (added)
+++ incubator/xap/trunk/buildsystem/build-manufacturing.xml Sat Jan 20 16:59:56 2007
@@ -0,0 +1,273 @@
+<project name="Xap-Manufucturing" default="build">
+    
+    <property name="svn_root" value="http://svn.apache.org/repos/asf/incubator/xap/trunk/"/>
+    <property name="svn_revision" value="HEAD"/>	
+    <taskdef classname="org.tigris.subversion.svnant.SvnTask" name="svn"/>
+       
+	<tstamp>
+		<format property="today" pattern="MM-dd-yyyy" locale="en"/>
+	</tstamp>
+	
+    <!--  
+    TODO
+    We need to produce something simple they can unzip and use, but also 
+    something more full that includes the docs, the ability to build profiles
+    yourself, etc.
+    
+    Right now we only build the simple zips for studio use, you can't build your own
+    profiles
+    
+    Move manufacturing into a separate project??
+           
+    -->    
+    <property name="xapTrunk" value="../.dist/.temp/xap/trunk" />
+    <property name="XapStaging" value="../.dist/.temp/.staging"/>
+	<property name="ajax-prefix" value="nxAjax"/>
+	<property name="zap-prefix" value="xap"/>
+    
+    <property name="dist.location" value="../.dist"/>
+    <property name="package.output.location" value="${dist.location}/package/"/>
+	<property name="zap-framework" value="xap-ajax-framework-${today}.zip"/>
+	<property name="zap-framework-tar" value="xap-ajax-framework-${today}.tar"/>
+	
+    <property name="browserFileNames" value="C:\Program Files\mozilla.org\Mozilla\mozilla.exe,C:\Program
Files\Internet Explorer\iexplore.exe"/>    
+    
+    <!-- checks out a fresh copy of xap trunk from the repository -->
+    <target name="-checkout-xap"> 
+        <delete dir="${xapTrunk}"/>
+        <mkdir dir="${xapTrunk}"/>
+        <svn javahl="false">
+            <checkout revision="HEAD" url="${svn_root}" destPath="${xapTrunk}"/>  
+        </svn>      
+    </target>
+    
+    <!-- in a real build this should check out xap instead of copying it from local disk
-->
+    <target name="-copy-xap" description="Copy XAP to staging area">
+
+        <delete dir="${XapStaging}"/>
+        <mkdir dir="${XapStaging}"/>
+
+        <copy todir="${XapStaging}" overwrite="false">
+            <fileset dir="${xapTrunk}" includes="*/**"/>
+        </copy> 
+    </target>
+           
+    <target name="-tests" if="run.test">
+        <delete dir="${XapStaging}/logs"/>
+        <mkdir dir="${XapStaging}/logs"/>
+        
+        <exec dir="${XapStaging}" executable="ant.bat">
+            <arg value="tests"/>
+            <arg value="-DcloseBrowsersAfterTestRuns"/>
+            <arg value="true"/>
+            <arg value="-DbrowserFileNames"/>
+            <arg value="${browserFileNames}"/>
+            <arg value="-Dport"/>
+            <arg value="9999"/>
+            <arg value="-Durl"/>
+            <arg value="&quot;http://localhost:9999/jsunit/jsunit/testRunner.html?testPage=http://localhost:9999/jsunit/testsrc/${testPage}&quot;"/>
+        </exec>
+        
+        <!-- combine all log files into one -->
+        <copy todir="${XapStaging}/logs">
+            <fileset dir="${XapStaging}/logs">
+                <include name="**/*.xml"/>
+            </fileset>
+            <mapper type="merge" to="testErrors.txt"/>
+        </copy>
+        
+        <!-- load the file ONLY if it contains an error in it -->
+        <loadfile
+            property="testResults"
+            srcFile="${XapStaging}/logs/testErrors.txt"
+            failonerror="true">
+            <filterChain>
+                <linecontainsregexp>
+  					<regexp pattern="(&lt;error&gt;|&lt;failure&gt;)"/>
+				</linecontainsregexp>
+            </filterChain>
+        </loadfile>
+        
+        <fail message="Failure running unit tests, check logs for details. Errors: ${testResults}"
if="testResults"/>
+        
+        <!--  <exec dir="${XapStaging}/logs" executable="notepad.exe" failonerror="true">
+            <arg value="testErrors.txt"/>
+        </exec>    -->      
+        
+    </target>
+        
+    <target name="-doc">
+        <!-- IMPORTANT fail on error? -->
+        <!-- using 'ant' task here doesn't work -->
+        <exec dir="${XapStaging}" executable="ant.bat" failonerror="true">
+            <arg value="doc"/>
+        </exec>
+    </target>
+    
+    <!-- 
+    	Build a zip file of the redistruable files for the project
+    -->
+    <target name="-build-dist-zip" description="builds platform zip">
+      <mkdir dir="${zipDir}"/>        
+    	<zip destfile="${zipDir}/${zipName}">
+        	<zipfileset dir="${XapStaging}" prefix="${dir-prefix}" includes="src/**"/>
+        	<zipfileset dir="${XapStaging}" prefix="${dir-prefix}" includes="css/**"/>
+        </zip> 
+        
+        <zip destfile="${zipDir}/${zipName}" update="true">
+        	<zipfileset dir="${XapStaging}/dist" prefix="${dir-prefix}/lib" includes="**/*"/>
+        </zip> 
+            	        
+    	<zip destfile="${zipDir}/${zipName}" update="true">
+    		<zipfileset dir="${seed-dir}" includes="**"/>
+    	</zip> 
+    	
+    </target>
+    
+    <target name="-build-profile">
+        <!-- IMPORTANT fail on error? -->
+        <!-- using 'ant' task here doesn't work -->
+        <exec dir="${XapStaging}" executable="ant.bat">
+            <arg value="build-profile"/>
+            <arg value="-Dprofile=${profile}"/>
+        </exec>    
+    </target>
+    
+	<!-- 
+		Build a tar file of the redistruable files for the project
+	-->
+	<target name="-build-dist-tar" description="builds platform zip">		
+		<mkdir dir="${zipDir}"/>        
+		<tar destfile="${zipDir}/${zipName}">
+			<tarfileset dir="${XapStaging}" prefix="${dir-prefix}" includes="src/**"/>
+			<tarfileset dir="${XapStaging}" prefix="${dir-prefix}" includes="css/**"/>
+			<tarfileset dir="${XapStaging}/dist" prefix="${dir-prefix}/lib" includes="**/*"/>
+			<tarfileset dir="${seed-dir}" includes="**"/>
+		</tar> 
+				
+	</target>
+	    
+    <target name="build-xap" description="build xap">
+    	<!-- delete the dist directory in staging. -->
+    	<delete dir="${XapStaging}/dist"/>
+
+    	<antcall target="-copy-xap"/>
+        <antcall target="-tests">
+            <param name="testPage" value="XapUnitTestSuite.html"/>
+        </antcall>
+        <antcall target="-doc"/>   
+          
+        <antcall target="-build-profile">
+        	<param name="profile" value="xapcore-razorfish"/>
+        </antcall>
+        
+        <!-- 
+        	Profiles are built to have the name xapcore.js.  Change the name to xapcore-min.js.

+        	Need to gzip the file so it will be really small.
+        -->
+    	<copyfile src="${XapStaging}/dist/xapcore.js" dest="${XapStaging}/dist/xapcore-min.js"/>
+    	<copyfile src="${XapStaging}/dist/xapcore.js.uncompressed.js" dest="${XapStaging}/dist/xapcore-min.js.uncompressed.js"/>
+    	<gzip src="${XapStaging}/dist/xapcore-min.js" destfile="${XapStaging}/dist/xapcore-min.js.gz"/>
+    	
+    	<antcall target="-build-profile">
+    		<param name="profile" value="xap"/>
+    	</antcall>
+    	<gzip src="${XapStaging}/dist/xapcore.js" destfile="${XapStaging}/dist/xapcore.js.gz"/>
+    	
+    	<antcall target="-build-dist-zip">
+        	<param name="zipName" value="${zap-framework}"/>
+        	<param name="dir-prefix" value="${zap-prefix}"/>
+    	    <param name="zipDir" value="${package.output.location}"/>
+        	<param name="seed-dir" value="seed"/>        	
+        </antcall>
+        
+    	<antcall target="-build-dist-tar">
+    		<param name="zipName" value="${zap-framework-tar}"/>
+    		<param name="dir-prefix" value="${zap-prefix}"/>
+    	    <param name="zipDir" value="${package.output.location}"/>
+    		<param name="seed-dir" value="seed"/>        	
+    	</antcall>
+    	
+        <gzip src="${dist.location}/${zap-framework-tar}" destfile="${package.output.location}/${zap-framework-tar}.gz"/>
+    	
+    	<!-- create the checksum's for the distribution files -->
+    	
+    	<!-- MD5 versions of the check sum -->
+        <checksum file="${package.output.location}/${zap-framework}" forceOverwrite="yes"
fileext=".md5"/>
+        <checksum file="${package.output.location/${zap-framework-tar}.gz" forceOverwrite="yes"
fileext=".md5"/>              
+    </target>
+    
+    <!-- ======================================================================
+          Builds XAP source code jsdoc. 
+          These docs will be used on the XAP website. 
+          ================================================================= -->
+    <target name="doc-site" description="Builds JSDoc">
+        <echo message="Building docs"/>
+        <delete dir="doc/xap-site"/>
+        
+        <!-- replace the main.tmpl in the jsdoc.pl to main-site.tmpl -->
+        <replace file="JSDoc-1.9.9.2/jsdoc.pl"
+            token="main.tmpl" value="main-site.tmpl"/>
+        
+        <exec executable="perl">
+            <arg value="JSDoc-1.9.9.2/jsdoc.pl" />
+            <arg value="-r" />
+            <arg value="--package-naming" />
+            <arg value="--no-lexical-privates" />
+            <arg value="--project-name" />
+            <arg value="XAP source" />
+            <arg value="--logo" />
+            <arg value="doc/header_logo.gif" />
+            <arg value="--directory" />
+            <arg value="../.staging/doc/xap-site" />
+            <arg value="codebase/src/xap" />
+        </exec>
+        
+        <!-- Change back the  main.tmpl in the jsdoc.pl -->
+        <replace file="JSDoc-1.9.9.2/jsdoc.pl"
+            token="main-site.tmpl" value="main.tmpl"/>
+               
+        <zip destfile="doc/xap-site/site.zip" > 
+            <fileset dir="doc/xap-site/">
+                <include name="xap.Xap.html"/>
+                <include name="xap.application.Application.html"/>
+                <include name="xap.session.ClientSession.html"/>
+                <include name="xap.xml.dom.XapElement.html"/>
+                <include name="xap.xml.dom.Document.html"/>
+                <include name="xap.requestservice.RequestService.html"/>
+                <include name="xap.requestservice.HttpRequest.html"/>
+                <include name="xap.requestservice.NetServiceListener.html"/>
+                <include name="xap.session.ClientEvent.html"/>
+                <include name="xap.session.Container.html"/>
+                <include name="xap.xml.DocumentContainer.html"/>
+                <include name="xap.macro.Macro.html"/>
+                <include name="xap.util.LogFactory.html"/>
+                <include name="xap.util.LogFactory.ConsoleLog.html"/>
+                
+                <!-- -->
+                <include name="overview-summary-Xap.js.html"/>
+                <include name="overview-summary-application_Application.js.html"/>
+                <include name="overview-summary-session_ClientSession.js.html"/>
+                <include name="overview-summary-xml_dom_XapElement.js.html"/>
+                <include name="overview-summary-xml_dom_Document.js.html"/>
+                <include name="overview-summary-xml_requestservice_RequestService.js.html"/>
+                <include name="overview-summary-xml_requestservice_HttpRequest.js.html"/>
+                <include name="overview-summary-xml_requestservice_NetServiceListener.js.html"/>
+                <include name="overview-summary-session_ClientEvent.js.html"/>
+                <include name="overview-summary-session_Container.js.html"/>
+                <include name="overview-summary-xml_DocumentContainer.js.html"/>
+                <include name="overview-summary-macro_Macro.js.html"/>
+                <include name="overview-summary-util_LogFactory.js.html"/>
+                <include name="stylesheet.css"/>
+                
+            </fileset>
+        </zip>
+        
+    </target>
+    
+
+    <!--=======================================================================
+        Build and manufacture a distibution zip file
+      ======================================================================-->
+    <target name="manufacture" description="checkout and build" depends="-checkout-xap,build-xap"/>

+</project>

Added: incubator/xap/trunk/buildsystem/seed/ajax-index.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/buildsystem/seed/ajax-index.html?view=auto&rev=498223
==============================================================================
--- incubator/xap/trunk/buildsystem/seed/ajax-index.html (added)
+++ incubator/xap/trunk/buildsystem/seed/ajax-index.html Sat Jan 20 16:59:56 2007
@@ -0,0 +1,35 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+        <title>Sample Button</title>
+
+	<style type="text/css">
+		<!--
+		@import url(xap/css/xapDefault.css);
+		-->
+		body { margin: 5px; }
+        </style>
+    
+	  	<!-- Keep dojo from trying to scan this whole page for dojoType'd tags: -->
+	  	<script type="text/javascript">
+            djConfig = {
+                parseWidgets: false,
+                baseRelativePath: "xap/src/dojo/"
+            };
+        </script>    
+	
+        <script language="JavaScript" type="text/javascript" src="xap/lib/xapcore.js"></script>
+        <script language="JavaScript" type="text/javascript" src="src-js/DisplayUIDocument.js"></script>
+        
+        <script language="JavaScript" type="text/javascript">
+        	function onLoad(){
+        		Xap.createEmbeddedApplications();
+        	}    	
+        </script>
+    </head>
+  
+    <body onload="onLoad();">
+       <div applicationName="SampleButton" startPage="ajax-index.xal" configFilePath="xap/config/XapConfig.js"></div>
+    </body>
+</html>
\ No newline at end of file

Added: incubator/xap/trunk/buildsystem/seed/ajax-index.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/buildsystem/seed/ajax-index.xal?view=auto&rev=498223
==============================================================================
--- incubator/xap/trunk/buildsystem/seed/ajax-index.xal (added)
+++ incubator/xap/trunk/buildsystem/seed/ajax-index.xal Sat Jan 20 16:59:56 2007
@@ -0,0 +1,7 @@
+<xal xmlns="http://openxal.org/ui">
+  <mco xmlns="http://openxal.org/core/mco" id="testMCO" class="DisplayUIDocument"/>
+  <verticalBoxPane align="start" padding="3px" width="500px" height="500px" borderWidth="3px"
borderColor="blue" borderStyle="solid">
+    <label xmlns="http://openxal.org/ui/html" height="20px" text="Welcome to Apache XAP"
fontSize="12px"/>
+    <button text="Display UI Document" width="200px" height="24px" onCommand="mco:testMCO.displayAlert(event)"/>
+  </verticalBoxPane>
+</xal>
\ No newline at end of file

Added: incubator/xap/trunk/buildsystem/seed/src-js/DisplayUIDocument.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/buildsystem/seed/src-js/DisplayUIDocument.js?view=auto&rev=498223
==============================================================================
--- incubator/xap/trunk/buildsystem/seed/src-js/DisplayUIDocument.js (added)
+++ incubator/xap/trunk/buildsystem/seed/src-js/DisplayUIDocument.js Sat Jan 20 16:59:56 2007
@@ -0,0 +1,6 @@
+DisplayUIDocument = function() {
+};
+
+DisplayUIDocument.prototype.displayAlert = function(event, text ) {
+    alert(event.session.getDocumentContainer().getUiDocument().toString());
+};

Added: incubator/xap/trunk/buildsystem/seed/xap/config/XapConfig-Min.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/buildsystem/seed/xap/config/XapConfig-Min.js?view=auto&rev=498223
==============================================================================
--- incubator/xap/trunk/buildsystem/seed/xap/config/XapConfig-Min.js (added)
+++ incubator/xap/trunk/buildsystem/seed/xap/config/XapConfig-Min.js Sat Jan 20 16:59:56 2007
@@ -0,0 +1,89 @@
+/**
+ * This is the default Xap configuration file that will be used to specified 
+ * different runtime settings of the Xap application. Xap application provide
+ * for paramenter overriding in the following way.
+ *
+ * The default values for an application come from this file. When an application is loaded
+ * the developer can specify a configuration object to the Xap.createApplication method.
+ * any value in that object will override these parameters (Array parameters will NOT be
merged).
+ * If the developer has specified page scaning then the Xap attributes on the HTML element
+ * will then override the values supplied to the Xap.createApplication. Each HTML element
that is
+ * found is treated as a seperate XAP application.
+ *
+ * Parameter Override workflow:
+ * 1) This configuration file.
+ * 2a) The config object specified to the Xap.createApplication method.
+ * 2b) Any xap parameters embeded in a html element found during page scanning.
+ *
+ * For more information on using the JSON format go to www.json.org.
+ */
+{
+    /**
+     * This is the default name for the application.  Users can access this
+     * application by using the Xap.applications["myApplicationName"]
+     *
+     * Accepted Values: can be null, undefined, or any String.
+     */
+	applicationName: "xapApplication",
+	/**
+	 * This is the default starting page for the application.  When the application is 
+	 * started it will load this page to create the applications user interface.
+     *
+     * Accepted Values: can be null, undefined, or any url the is an acceptable Xal document.
+	 */
+	startPage: "index.xal",
+	/**
+	 * This is the default context for the application. When resources are loaded either by
+	 * using the request service or as a event handler.
+     *
+     * Accepted Values: The root of the application as compared to the start web page.
+	 */
+	context: "./",
+	/**
+	 * This is the default srcPath for the application. When resources are loaded either by
+	 * using the request service or as a event handler.
+     *
+     * Accepted Values: The location of the xap src as compared to the start web page.
+	 */
+	srcPath: "./xap/",
+	/**
+	 * This is the default toolkit type.
+     *
+     * Accepted Values: any defined toolkit.
+	 */
+	toolkitType: "dojo",
+	/**
+	 * This is the default list of plugin classes that will be loaded.  Place any class that
needs
+	 * to be loaded into during initialization.
+     *
+     * Accepted Values: can be null, undefined, or any Array of class names.
+	 */
+    pluginClasses: [
+        "xap.xml.xmodify.XmodifyNamespaceHandler",
+        "xap.macro.MacroNamespaceHandler"
+        ],
+	/**
+	 * This is the default list of plugin classes that will be loaded.  Place any class that
needs
+	 * to be loaded into during initialization. Plugin classes need to implement the "pluginLoaded"
+	 * method.
+     *
+     * Accepted Values: can be null, undefined, or any Array of class names.
+	 */
+    pluginFiles: null,
+	/**
+	 * This is the default id of the html element that will host the Xap application.
+	 * If the element is null or undefined then the root is assumed to be the body.
+     *
+     * Accepted Values: can be null, undefined, or id of the element that will be the 
+     *                  root of the application.
+	 */
+    element: null,
+	/**
+	 * The loggingEnabled value determines whether or not logging is turned on in the Xap client.
+	 * if logging is enabled then a new window will open that has the log produced by the Xap
client
+	 * during runtime.  It is not recommended to close the logging window during execution.
+     *
+     * Accepted Values: can be null, undefined, or true / false.
+	 */
+	logging: false
+}

Added: incubator/xap/trunk/buildsystem/seed/xap/config/XapConfig.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/buildsystem/seed/xap/config/XapConfig.js?view=auto&rev=498223
==============================================================================
--- incubator/xap/trunk/buildsystem/seed/xap/config/XapConfig.js (added)
+++ incubator/xap/trunk/buildsystem/seed/xap/config/XapConfig.js Sat Jan 20 16:59:56 2007
@@ -0,0 +1,94 @@
+/**
+ * This is the default Xap configuration file that will be used to specified 
+ * different runtime settings of the Xap application. Xap application provide
+ * for paramenter overriding in the following way.
+ *
+ * The default values for an application come from this file. When an application is loaded
+ * the developer can specify a configuration object to the Xap.createApplication method.
+ * any value in that object will override these parameters (Array parameters will NOT be
merged).
+ * If the developer has specified page scaning then the Xap attributes on the HTML element
+ * will then override the values supplied to the Xap.createApplication. Each HTML element
that is
+ * found is treated as a seperate XAP application.
+ *
+ * Parameter Override workflow:
+ * 1) This configuration file.
+ * 2a) The config object specified to the Xap.createApplication method.
+ * 2b) Any xap parameters embeded in a html element found during page scanning.
+ *
+ * For more information on using the JSON format go to www.json.org.
+ */
+{
+    /**
+     * This is the default name for the application.  Users can access this
+     * application by using the Xap.applications["myApplicationName"]
+     *
+     * Accepted Values: can be null, undefined, or any String.
+     */
+	applicationName: "xapApplication",
+	/**
+	 * This is the default starting page for the application.  When the application is 
+	 * started it will load this page to create the applications user interface.
+     *
+     * Accepted Values: can be null, undefined, or any url the is an acceptable Xal document.
+	 */
+	startPage: "index.xal",
+	/**
+	 * This is the default context for the application. When resources are loaded either by
+	 * using the request service or as a event handler.
+     *
+     * Accepted Values: The root of the application as compared to the start web page.
+	 */
+	context: "./",
+	/**
+	 * This is the default srcPath for the application. When resources are loaded either by
+	 * using the request service or as a event handler.
+     *
+     * Accepted Values: The location of the xap src as compared to the start web page.
+	 */
+	srcPath: "./xap/",
+	/**
+	 * This is the default toolkit type.
+     *
+     * Accepted Values: any defined toolkit.
+	 */
+	toolkitType: "dojo",
+	/**
+	 * This is the default list of plugin classes that will be loaded.  Place any class that
needs
+	 * to be loaded into during initialization.
+     *
+     * Accepted Values: can be null, undefined, or any Array of class names.
+	 */
+    pluginClasses: [
+        "xap.mco.McoNamespaceHandler",
+        "xap.xml.xmodify.XmodifyNamespaceHandler",
+        "xap.macro.MacroNamespaceHandler",
+        "xap.xml.XalNamespaceHandler",
+        "xap.data.DataNamespaceHandler"
+        ],
+	/**
+	 * This is the default list of plugin classes that will be loaded.  Place any class that
needs
+	 * to be loaded into during initialization. Plugin classes need to implement the "pluginLoaded"
+	 * method.
+     *
+     * Accepted Values: can be null, undefined, or any Array of class names.
+	 */
+    pluginFiles: [
+        "xap/src/xap/taghandling/plugin.xml"
+        ],
+	/**
+	 * This is the default id of the html element that will host the Xap application.
+	 * If the element is null or undefined then the root is assumed to be the body.
+     *
+     * Accepted Values: can be null, undefined, or id of the element that will be the 
+     *                  root of the application.
+	 */
+    element: null,
+	/**
+	 * The loggingEnabled value determines whether or not logging is turned on in the Xap client.
+	 * if logging is enabled then a new window will open that has the log produced by the Xap
client
+	 * during runtime.  It is not recommended to close the logging window during execution.
+     *
+     * Accepted Values: can be null, undefined, or true / false.
+	 */
+	logging: false
+}



Mime
View raw message