use file header as LICENSE for as3 simple untar
Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/d28cd533 Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/d28cd533 Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/d28cd533 Branch: refs/heads/develop Commit: d28cd5331d68b60afe0a9b0708b276969a0a0004 Parents: def7406 Author: Alex Harui <[email protected]> Authored: Thu Jun 18 10:55:44 2015 -0700 Committer: Alex Harui <[email protected]> Committed: Thu Jun 18 10:55:44 2015 -0700 ---------------------------------------------------------------------- flex-installer/binary_license/LICENSE | 5 +++-- flex-installer/build.xml | 12 ++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/d28cd533/flex-installer/binary_license/LICENSE ---------------------------------------------------------------------- diff --git a/flex-installer/binary_license/LICENSE b/flex-installer/binary_license/LICENSE index 51c0ab9..232c87a 100644 --- a/flex-installer/binary_license/LICENSE +++ b/flex-installer/binary_license/LICENSE @@ -211,8 +211,9 @@ separate copyright notices and license terms. Your use of the source code for the these subcomponents is subject to the terms and conditions of the following licenses. -This product bundles as3-simple-untar, which is available under a 3-clause BSD -license. For details, see http://opensource.org/licenses/BSD-3-Clause +This product bundles as3-simple-untar, which is available under a BSD +license. For details, see deps/as3-simple-untar which contains a source file +header extracted from one of the source files. This product bundles ascompress, which is available under the MIT license. For details, see http://www.opensource.org/licenses/mit-license.php http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/d28cd533/flex-installer/build.xml ---------------------------------------------------------------------- diff --git a/flex-installer/build.xml b/flex-installer/build.xml index 6112a0c..54e9195 100644 --- a/flex-installer/build.xml +++ b/flex-installer/build.xml @@ -364,6 +364,17 @@ </java> </target> + <target name="simple-untar-license" > + <mkdir dir="${DEPS_DIR}/as3-simple-untar" /> + <get src="https://raw.githubusercontent.com/thdtjsdn/as3-simple-untar/master/src/de/ketzler/utils/SimpleUntar.as" + dest="${DEPS_DIR}/as3-simple-untar/LICENSE" + /> + <replaceregexp file="${DEPS_DIR}/as3-simple-untar/LICENSE" + match="package .*" replace="" + flags="s" + /> + </target> + <target name="packageair" description="Packages the build SWF file from a temp directory to create an AIR file"> <echo message="Using cert ${KEYSTORE}" /> @@ -378,6 +389,7 @@ <get src="http://as3crypto.googlecode.com/svn/trunk/as3crypto/LICENSE.txt" dest="${DEPS_DIR}/as3crypto" /> + <antcall target="simple-untar-license" /> <java jar="${ADT}" fork="true" failonerror="true" maxmemory="512m">
