clean rat after release packaging without AIR_HOME
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/7de98aa4 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7de98aa4 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7de98aa4 Branch: refs/heads/packaging Commit: 7de98aa4375c3c08f2845b15c98508bacf3650c4 Parents: 4dd1dab Author: Alex Harui <aha...@apache.org> Authored: Thu Sep 21 18:00:59 2017 -0700 Committer: Alex Harui <aha...@apache.org> Committed: Thu Sep 21 18:00:59 2017 -0700 ---------------------------------------------------------------------- build.xml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7de98aa4/build.xml ---------------------------------------------------------------------- diff --git a/build.xml b/build.xml index d10fc8e..f0387c8 100644 --- a/build.xml +++ b/build.xml @@ -375,7 +375,25 @@ <ant dir="${basedir}/frameworks" target="node-config" /> <!-- hack to keep compiler happy --> <mkdir dir="${FLEXJS_HOME}/frameworks/themes/Spark" /> - <touch file="${FLEXJS_HOME}/frameworks/themes/Spark/spark.css" /> + <echo file="${FLEXJS_HOME}/frameworks/themes/Spark/spark.css">/* + * 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. + * + */ + /* generated by build script */ +</echo> </target> <target name="copy-externs" depends="check-typedefs-home" description="Copy extern swcs into this folder"> @@ -474,7 +492,7 @@ description="Full clean excluding thirdparty downloads"> <delete file="${basedir}/flex-sdk-description.xml" failonerror="false"/> - <delete file="${basedir}/rat*.report" failonerror="false"/> + <delete file="${basedir}/rat.report" failonerror="false"/> <delete dir="${basedir}/examples" failonerror="false"> <include name="**/*.swc"/> @@ -696,6 +714,7 @@ <exclude name="mustella/**"/> <exclude name="src/**"/> <exclude name="testsuite/**"/> + <exclude name="fxg2svg/**"/> <exclude name="vf2js/**"/> <exclude name="**/FlexJSTest_again/**" /> <exclude name="**/VanillaSDK_POC/**" /> @@ -1340,6 +1359,8 @@ <exclude name="frameworks/js/jshint.properties"/> <exclude name="frameworks/js/.jshintrc"/> <exclude name="**/META-INF/DEPENDENCIES" /> + <!-- ide files --> + <exclude name="**/.vscode/**"/> </fileset> </rat:report> </target>