<?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="samples-spring.war/build.xml" default="main" basedir="../../../../../"> | |
<property environment="env" /> | |
<property file="${basedir}/build.properties"/> | |
<property name="samples-spring.war" value="${basedir}/apps/samples-spring"/> | |
<property name="context.root" value="samples-spring" /> | |
<property name="application.name" value="insync02" /> | |
<property name="application.file" value="insync02" /> | |
<property name="application.bin.dir" value="${samples-spring.war}/insync02" /> | |
<property name="application.src.dir" value="${samples-spring.war}/WEB-INF/flex-src/insync02/src" /> | |
<target name="main" depends="clean,compile-swf" /> | |
<target name="compile-swf"> | |
<taskdef resource="flexTasks.tasks" classpath="${basedir}/ant/lib/flexTasks.jar" /> | |
<property name="FLEX_HOME" value="${basedir}"/> | |
<mxmlc file="${application.src.dir}/${application.file}.mxml" | |
output="${application.bin.dir}/${application.file}.swf" | |
actionscript-file-encoding="UTF-8" | |
keep-generated-actionscript="false" | |
incremental="false" | |
services="${samples-spring.war}/WEB-INF/flex/services-config.xml" | |
context-root="${context.root}" | |
locale="en_US"> | |
<load-config filename="${basedir}/frameworks/flex-config.xml"/> | |
<license product="flexbuilder3" serial-number="${env.fb3_license}"/> | |
<source-path path-element="${basedir}/frameworks"/> | |
<external-library-path/> | |
<metadata> | |
<publisher name="${manifest.Implementation-Vendor}" /> | |
<creator name="${manifest.Implementation-Vendor}" /> | |
</metadata> | |
</mxmlc> | |
<html-wrapper title="${application.name}" | |
height="100%" | |
width="100%" | |
application="app" | |
swf="${application.file}" | |
version-major="10" | |
version-minor="0" | |
version-revision="0" | |
output="${application.bin.dir}"/> | |
</target> | |
<target name="clean" description="--> Removes jars and classes"> | |
<delete quiet="true" includeemptydirs="true"> | |
<fileset dir="${application.bin.dir}" includes="*.swf,index.html"/> | |
<fileset dir="${application.bin.dir}/history" /> | |
</delete> | |
</target> | |
</project> |