commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbe...@apache.org
Subject svn commit: r1037488 - in /commons/sandbox/gsoc/2010/scxml-js/trunk: ./ src/javascript/scxml/cgf/ src/javascript/scxml/cgf/backends/js/ src/python/scxml/cgf/ src/python/scxml/cgf/backends/ src/xslt/util/language-frontend-module-generators/
Date Sun, 21 Nov 2010 16:05:01 GMT
Author: jbeard
Date: Sun Nov 21 16:05:00 2010
New Revision: 1037488

URL: http://svn.apache.org/viewvc?rev=1037488&view=rev
Log:
Intermediate commit. Python and JavaScript frontends should be connected with new dependency
resolution targets. Next step is to test it.

Added:
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/python/scxml/cgf/backends/js   (with props)
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/language-frontend-module-generators/py-from-topo-sort-list-generator.xsl
  (contents, props changed)
      - copied, changed from r1037485, commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/language-frontend-module-generators/python-from-topo-sort-list-generator.xsl
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/language-frontend-module-generators/sh-from-topo-sort-list-generator.xsl
  (contents, props changed)
      - copied, changed from r1037485, commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/language-frontend-module-generators/bash-xsltproc-from-topo-sort-list-generator.xsl
Removed:
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/backends/js/AbstractEnumeratedStatechartGenerator.js
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/backends/js/AbstractStatechartGenerator.js
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/backends/js/StatePatternStatechartGenerator.js
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/backends/js/StateTableStatechartGenerator.js
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/backends/js/SwitchyardStatechartGenerator.js
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/python/scxml/cgf/xsl
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/language-frontend-module-generators/bash-xsltproc-from-topo-sort-list-generator.xsl
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/language-frontend-module-generators/python-from-topo-sort-list-generator.xsl
Modified:
    commons/sandbox/gsoc/2010/scxml-js/trunk/build-common.xml
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/SCXMLCompiler.js

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/build-common.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/build-common.xml?rev=1037488&r1=1037487&r2=1037488&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/build-common.xml (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/build-common.xml Sun Nov 21 16:05:00 2010
@@ -43,7 +43,7 @@
 	<property name="is_for_ie" value="is-for-ie"/>
 	<property name="is_not_for_ie" value="is-not-for-ie"/>
 
-	<property name="language-frontends" value="js,python,bash-xsltproc"/>
+	<property name="language-frontends" value="js,py,sh"/>
 
 	<property name="backends" value="switch,table,state"/>
 	<!--
@@ -643,6 +643,15 @@
 
 							<param name="module-path" expression="target/language-frontend-modules/@{language-frontend}/${@{built-dep-list}-@{language-frontend}-require-js-module-basename}"/>
 						</xslt>
+
+						<!-- touch python module if needed -->
+						<if>
+							<equals arg1="@{language-frontend}" arg2="py" />
+							<then>
+								<touch file="${build-language-frontend-modules}/@{language-frontend}/__init__.py"/>
+							</then>
+
+						</if>
 					</sequential>
 				</for>
 			</sequential>

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/SCXMLCompiler.js
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/SCXMLCompiler.js?rev=1037488&r1=1037487&r2=1037488&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/SCXMLCompiler.js (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/SCXMLCompiler.js Sun
Nov 21 16:05:00 2010
@@ -71,15 +71,15 @@ require.def("src/javascript/scxml/cgf/SC
 
 			//this slightly clunky construction is used to accomodate RequireJS's builder
 			if(options.backend==="state"){
-				require(["src/javascript/scxml/cgf/backends/js/StatePatternStatechartGenerator"],function(backend){
+				require(["target/language-frontend-modules/js/StatePatternStatechartGenerator"],function(backend){
 					onModuleLoad(backend);
 				});
 			}else if(options.backend==="table"){
-				require(["src/javascript/scxml/cgf/backends/js/StateTableStatechartGenerator"],function(backend){
+				require(["target/language-frontend-modules/js/StateTableStatechartGenerator"],function(backend){
 					onModuleLoad(backend);
 				});
 			}else if(options.backend==="switch"){
-				require(["src/javascript/scxml/cgf/backends/js/SwitchyardStatechartGenerator"],function(backend){
+				require(["target/language-frontend-modules/js/SwitchyardStatechartGenerator"],function(backend){
 					onModuleLoad(backend);
 				});
 			}

Added: commons/sandbox/gsoc/2010/scxml-js/trunk/src/python/scxml/cgf/backends/js
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/python/scxml/cgf/backends/js?rev=1037488&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/python/scxml/cgf/backends/js (added)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/python/scxml/cgf/backends/js Sun Nov 21 16:05:00
2010
@@ -0,0 +1 @@
+link ../../../../../target/language-frontend-modules/python/
\ No newline at end of file

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/python/scxml/cgf/backends/js
------------------------------------------------------------------------------
    svn:special = *

Copied: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/language-frontend-module-generators/py-from-topo-sort-list-generator.xsl
(from r1037485, commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/language-frontend-module-generators/python-from-topo-sort-list-generator.xsl)
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/language-frontend-module-generators/py-from-topo-sort-list-generator.xsl?p2=commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/language-frontend-module-generators/py-from-topo-sort-list-generator.xsl&p1=commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/language-frontend-module-generators/python-from-topo-sort-list-generator.xsl&r1=1037485&r2=1037488&rev=1037488&view=diff
==============================================================================
    (empty)

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/language-frontend-module-generators/py-from-topo-sort-list-generator.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Copied: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/language-frontend-module-generators/sh-from-topo-sort-list-generator.xsl
(from r1037485, commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/language-frontend-module-generators/bash-xsltproc-from-topo-sort-list-generator.xsl)
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/language-frontend-module-generators/sh-from-topo-sort-list-generator.xsl?p2=commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/language-frontend-module-generators/sh-from-topo-sort-list-generator.xsl&p1=commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/language-frontend-module-generators/bash-xsltproc-from-topo-sort-list-generator.xsl&r1=1037485&r2=1037488&rev=1037488&view=diff
==============================================================================
    (empty)

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/language-frontend-module-generators/sh-from-topo-sort-list-generator.xsl
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message