Guest User

build.xml

a guest
Jan 29th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <project name="test_project" default="main" basedir=".">
  17. <property environment="env"/>
  18. <property name="FLEXJS_HOME" value="/FlexSDK/FlexJSNightly"/>
  19. <property name="example" value="test_project" />
  20.  
  21. <property file="${FLEXJS_HOME}/env.properties"/>
  22. <property environment="env"/>
  23. <property file="${FLEXJS_HOME}/build.properties"/>
  24. <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
  25. <property name="opt1_arg" value="-js-output-optimization=skipAsCoercions" />
  26. <property name="opt2_arg" value="-remove-circulars" />
  27. <include file="${basedir}/build_example.xml" />
  28.  
  29. <target name="main" depends="clean,build_example.compilejs" description="Clean build of ${example}">
  30. </target>
  31. <!-- <property name="extlib_arg" value="-external-library-path=typedefs"/> -->
  32. <!-- <property name="lib_arg" value="-library-path+=lib"/> -->
  33.  
  34. <target name="clean">
  35. <delete dir="${basedir}/bin" failonerror="false" />
  36. <delete dir="${basedir}/bin-debug" failonerror="false" />
  37. <delete dir="${basedir}/bin-release" failonerror="false" />
  38. <delete dir="${basedir}/target" failonerror="false" />
  39. </target>
  40. </project>
Add Comment
Please, Sign In to add comment