blob: 927377079bd7c166c638618e82efce27f26cc84b [file] [log] [blame]
<?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="mobilestocks" default="main" basedir=".">
<property name="ROYALE_HOME" location="../../.."/>
<property name="example" value="MobileStocks" />
<!-- this project needs AIR 3.4 FP 11.4 -->
<property name="swf.version" value="17" />
<property name="playerglobal.version" value="11.4" />
<property file="${ROYALE_HOME}/env.properties"/>
<property environment="env"/>
<property file="${ROYALE_HOME}/local.properties"/>
<property file="${ROYALE_HOME}/build.properties"/>
<property name="ROYALE_HOME" value="${ROYALE_HOME}"/>
<property name="AIR_HOME" value="${env.AIR_HOME}"/>
<property name="config_arg" value="air"/>
<include file="${basedir}/../../build_example.xml" />
<target name="main" depends="clean,build_example.compile,build_example.copy-js-resources,build_example.compile.cordova" 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="run">
<property name="which" value="debug" />
<antcall target="build_example.run.air.desktop" />
</target>
<target name="examine" depends="build_example.get.browser">
<property name="which" value="debug" />
<echo message="Click on Products tab. Hover over person to see buttons with tooltips. DragDrop a person to compare box. Click on Support tab."/>
<antcall target="build_example.run.air.desktop" />
<antcall target="build_example.run.cordova" />
</target>
</project>