This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit 6c9e27abf6aa216a4ca5c2fc560cc1a4d19e9255 Author: Alex Harui <[email protected]> AuthorDate: Thu Feb 22 15:23:54 2018 -0800 ant build for MDLDynamicTabsExample --- examples/royale/MDLDynamicTabsExample/build.xml | 55 ++++++++++++++++++++++ .../src/main/config/compile-app-config.xml | 21 +++++++++ 2 files changed, 76 insertions(+) diff --git a/examples/royale/MDLDynamicTabsExample/build.xml b/examples/royale/MDLDynamicTabsExample/build.xml new file mode 100644 index 0000000..d7e1315 --- /dev/null +++ b/examples/royale/MDLDynamicTabsExample/build.xml @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<!-- + + 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. + +--> + + +<project name="mdldynamictabsexample" default="main" basedir="."> + <property name="ROYALE_HOME" location="../../.."/> + <property name="example" value="TabsExample" /> + + <property file="${ROYALE_HOME}/env.properties"/> + <property environment="env"/> + <property file="${ROYALE_HOME}/build.properties"/> + <property name="ROYALE_HOME" value="${ROYALE_HOME}"/> + <property name="opt1_arg" value="-js-output-optimization=skipAsCoercions" /> + + <include file="${basedir}/../../build_example.xml" /> + + <target name="main" depends="clean,build_example.compile" description="Clean build of ${example}"> + </target> + + <target name="clean"> + <delete dir="${basedir}/bin" failonerror="false" /> + <delete dir="${basedir}/bin-debug" failonerror="false" /> + <delete dir="${basedir}/bin-release" failonerror="false" /> + <delete dir="${basedir}/target" failonerror="false" /> + </target> + + <target name="examine" depends="build_example.get.browser"> + <property name="which" value="debug" /> + <echo message="Choose from dropdown, get quote, click on checkbox to see if TextArea appears and disappears, click on radio buttons to see if other labels change via data binding"/> + <exec executable="${browser}" dir="${basedir}/bin-${which}" failonerror="true"> + <arg value="${basedir}/bin-${which}/${example}.html"/> + </exec> + <exec executable="${browser}" dir="${basedir}/bin/js-${which}" failonerror="true"> + <arg value="${basedir}/bin/js-${which}/index.html"/> + </exec> + </target> + +</project> diff --git a/examples/royale/MDLDynamicTabsExample/src/main/config/compile-app-config.xml b/examples/royale/MDLDynamicTabsExample/src/main/config/compile-app-config.xml new file mode 100644 index 0000000..7baec50 --- /dev/null +++ b/examples/royale/MDLDynamicTabsExample/src/main/config/compile-app-config.xml @@ -0,0 +1,21 @@ +<!-- + + 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. + +--> +<royale-config> + <html-template>../resources/mdl-js-index-template.html</html-template> +</royale-config> -- To stop receiving notification emails like this one, please contact [email protected].
