Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 31557 invoked from network); 20 Aug 2010 02:03:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Aug 2010 02:03:39 -0000 Received: (qmail 70453 invoked by uid 500); 20 Aug 2010 02:03:39 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 70298 invoked by uid 500); 20 Aug 2010 02:03:38 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 70291 invoked by uid 99); 20 Aug 2010 02:03:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Aug 2010 02:03:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Aug 2010 02:03:35 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id AFF0E23889E1; Fri, 20 Aug 2010 02:02:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r987364 - in /commons/sandbox/gsoc/2010/scxml-js/trunk: .gitignore doc/ doc/build.dot test/ant-rhino-integration/ test/ant-rhino-integration/helloWorld/ test/ant-rhino-integration/helloWorld/hello.xml Date: Fri, 20 Aug 2010 02:02:17 -0000 To: commits@commons.apache.org From: jbeard@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100820020217.AFF0E23889E1@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jbeard Date: Fri Aug 20 02:02:17 2010 New Revision: 987364 URL: http://svn.apache.org/viewvc?rev=987364&view=rev Log: Have begun investigation into migrating build system from javascript build script to maven or ant. Added: commons/sandbox/gsoc/2010/scxml-js/trunk/doc/ commons/sandbox/gsoc/2010/scxml-js/trunk/doc/build.dot (with props) commons/sandbox/gsoc/2010/scxml-js/trunk/test/ant-rhino-integration/ commons/sandbox/gsoc/2010/scxml-js/trunk/test/ant-rhino-integration/helloWorld/ commons/sandbox/gsoc/2010/scxml-js/trunk/test/ant-rhino-integration/helloWorld/hello.xml (with props) Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/.gitignore Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/.gitignore URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/.gitignore?rev=987364&r1=987363&r2=987364&view=diff ============================================================================== --- commons/sandbox/gsoc/2010/scxml-js/trunk/.gitignore (original) +++ commons/sandbox/gsoc/2010/scxml-js/trunk/.gitignore Fri Aug 20 02:02:17 2010 @@ -19,3 +19,4 @@ demo/drawing-tool/lib/* *~ test/rhino-jsc/*/*.class test/rhino-jsc/*/*-built.js +doc/*.pdf Added: commons/sandbox/gsoc/2010/scxml-js/trunk/doc/build.dot URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/doc/build.dot?rev=987364&view=auto ============================================================================== --- commons/sandbox/gsoc/2010/scxml-js/trunk/doc/build.dot (added) +++ commons/sandbox/gsoc/2010/scxml-js/trunk/doc/build.dot Fri Aug 20 02:02:17 2010 @@ -0,0 +1,183 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +digraph build { + + compound=true; + + clean + + init + + subgraph cluster_preprocess_stylesheets { + + preprocess_stylesheets [color=blue] + built_stylesheets [shape=box,style=rounded] + + stylesheets -> preprocess_stylesheets + preprocess_stylesheets -> built_stylesheets + + label="Preprocess Stylesheets" + } + + + subgraph cluster_test_cases { + test_case_xml + unit_test_script + performance_test_script + test_case_xml -> unit_test_script[label="1 to 1", style=dashed, dir=both] + unit_test_script -> performance_test_script [label="1 to 1", style=dashed, dir=both] + label="SCXML Test Cases" + style="rounded" + } + + subgraph cluster_backends { + state + table + switch + label="Backends" + style="rounded" + } + + subgraph cluster_browsers { + ie [label="Internet Explorer"] + ff [label="Mozilla Firefox"] + gc [label="Google Chrome"] + + label="Web Browsers" + style="rounded" + } + + + subgraph cluster_gen_javascript { + + cross_1 [ label="x",color=red ] + ie_js_statechart_impl + non_ie_js_statechart_impl + compile [shape=box,color=blue] + + test_case_xml -> cross_1 + state -> cross_1 [ltail=cluster_backends] + cross_1 ->compile + compile -> ie_js_statechart_impl [lhead=cluster_generated_javascript_artifacts] + + subgraph cluster_generated_javascript_artifacts { + ie_js_statechart_impl + non_ie_js_statechart_impl + + style="rounded" + label="Generated JavaScript" + } + + label = "Generate JavaScript"; + } + + subgraph cluster_run_unit_and_performance_tests_in_rhino { + + filter_1 [ label="filter",color=red ] + run_tests_in_rhino [shape=box,color=blue] + + ie_js_statechart_impl -> filter_1 [ltail=cluster_generated_javascript_artifacts] + unit_test_script -> filter_1 + filter_1 -> run_tests_in_rhino + + label = "Run Unit Tests In Rhino" + } + + subgraph cluster_run_unit_and_performance_tests_in_browser_aot { + + cross_2 [ label="x",color=red ] + filter_2 [ label="filter",color=red ] + run_ahead_of_time_tests_in_browsers [shape=box,color=blue] + generate_aot_html_from_template [shape=box,color=blue] + + ie_js_statechart_impl -> filter_2 [ltail=cluster_generated_javascript_artifacts] + unit_test_script -> filter_2 + + filter_2 -> cross_2 + ff -> cross_2 [ltail=cluster_browsers] + + cross_2 -> generate_aot_html_from_template + generate_aot_html_from_template -> aot_html + aot_html -> run_ahead_of_time_tests_in_browsers + + label="Run Unit Tests Ahead-of-Time in the Browser" + } + + subgraph cluster_run_unit_and_performance_tests_in_browser_jit{ + + cross_3 [ label="x",color=red ] + run_just_in_time_tests_in_browsers [shape=box,color=blue] + generate_jit_html_from_template [shape=box,color=blue] + + + ff -> cross_3 [ltail=cluster_browsers] + test_case_xml -> cross_3 [ltail=cluster_test_cases] + state -> cross_3 [ltail=cluster_backends] + + cross_3 -> generate_jit_html_from_template + generate_jit_html_from_template -> jit_html + jit_html -> run_just_in_time_tests_in_browsers + + label="Run Unit Tests Just-in-Time in the Browser" + } + + subgraph cluster_run_performance_tests { + + cross_4 [ label="x",color=red ] + filter_3 [ label="filter",color=red ] + run_performance_tests_in_browsers [shape=box,color=blue] + generate_performance_html_from_template [shape=box,color=blue] + + ie_js_statechart_impl -> filter_3 [ltail=cluster_generated_javascript_artifacts] + performance_test_script -> filter_3 + + filter_3 -> cross_4 + ff -> cross_4 [ltail=cluster_browsers] + + cross_4 -> generate_performance_html_from_template + generate_performance_html_from_template -> performance_html + performance_html -> run_performance_tests_in_browsers + + label="Run Performance Tests" + } + + subgraph cluster_build_standalone_executable { + require_js_build [shape=box,color=blue] + javac [shape=box,color=blue] + + + rhino_js_build_module -> require_js_build + + require_js_build -> compiler_standalone_js + compiler_standalone_js -> javac + + javac -> compiler_standalone_class + + label="Build Standalone Executable" + } + + built_stylesheets -> cross_1 [ltail=cluster_preprocess_stylesheets,lhead=cluster_gen_javascript] + built_stylesheets -> rhino_js_build_module [ltail=cluster_preprocess_stylesheets,lhead=cluster_build_standalone_executable] + init -> stylesheets [lhead=cluster_preprocess_stylesheets] + compiler_standalone_class -> compiled_standalone_tests [label="Rerun generate JavaScript and all tests that depend on it against compiled compiler..."] + + do_performance_analysis [shape=box] + run_performance_tests_in_browsers -> do_performance_analysis + +} + Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/doc/build.dot ------------------------------------------------------------------------------ svn:eol-style = native Added: commons/sandbox/gsoc/2010/scxml-js/trunk/test/ant-rhino-integration/helloWorld/hello.xml URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/test/ant-rhino-integration/helloWorld/hello.xml?rev=987364&view=auto ============================================================================== --- commons/sandbox/gsoc/2010/scxml-js/trunk/test/ant-rhino-integration/helloWorld/hello.xml (added) +++ commons/sandbox/gsoc/2010/scxml-js/trunk/test/ant-rhino-integration/helloWorld/hello.xml Fri Aug 20 02:02:17 2010 @@ -0,0 +1,26 @@ + + + + + + + + + Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/test/ant-rhino-integration/helloWorld/hello.xml ------------------------------------------------------------------------------ svn:eol-style = native