You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by er...@apache.org on 2015/01/15 12:44:55 UTC

[05/19] git commit: [flex-sdk] [refs/heads/develop] - Extract and add required license files to binary release

Extract and add required license files to binary release


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/e3a81c0e
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/e3a81c0e
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/e3a81c0e

Branch: refs/heads/develop
Commit: e3a81c0e1e0f4608a2148a88e354ab17152f31c8
Parents: f6a5873
Author: Justin Mclean <jm...@apache.org>
Authored: Mon Jan 12 01:06:09 2015 +1100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Thu Jan 15 12:44:14 2015 +0100

----------------------------------------------------------------------
 modules/downloads.xml | 27 ++++++++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e3a81c0e/modules/downloads.xml
----------------------------------------------------------------------
diff --git a/modules/downloads.xml b/modules/downloads.xml
index 291b110..92cf276 100644
--- a/modules/downloads.xml
+++ b/modules/downloads.xml
@@ -277,6 +277,15 @@
                 <include name="README.xml-apis-ext*"/>
             </fileset>            
         </copy>
+        <unzip src="${lib.ext.dir}/xml-apis-ext.jar" dest="${lib.ext.dir}/xml-apis-ext-LICENSES">
+            <patternset>
+                <include name="license/**" />
+            </patternset>
+        </unzip>
+        <copy toDir="${lib.ext.dir}/xml-apis-ext-LICENSES/" flatten="true">
+            <fileset dir="${lib.ext.dir}/xml-apis-ext-LICENSES/license" />
+        </copy>
+        <delete dir="${lib.ext.dir}/xml-apis-ext-LICENSES/license" />
 
         <delete dir="${download.dir}/${batik.zip.dir}"/>
     </target>
@@ -514,6 +523,13 @@
           <param name="destJarFile" value="${lib.ext.dir}/xalan.jar"/>
         </antcall>
         
+        <unzip src="${lib.ext.dir}/xalan.jar" dest="${lib.ext.dir}/xalan-LICENSES">
+            <patternset>
+                <include name="*LICENSE*" />
+                <include name="*README*" />
+            </patternset>
+        </unzip>
+
         <copy todir="${lib.ext.dir}">
             <fileset dir="${download.dir}/xalan-j_2_6_0">
                 <include name="LICENSE"/>
@@ -549,7 +565,16 @@
         </antcall>
 
         <copy toDir="${lib.ext.dir}" file="${download.dir}/${xerces.dir}/xml-apis.jar" />
-        
+        <unzip src="${lib.ext.dir}/xml-apis.jar" dest="${lib.ext.dir}/xml-apis-LICENSES">
+            <patternset>
+                <include name="license/**" />
+            </patternset>
+        </unzip>
+        <copy toDir="${lib.ext.dir}/xml-apis-LICENSES/" flatten="true">
+            <fileset dir="${lib.ext.dir}/xml-apis-LICENSES/license" />
+        </copy>
+        <delete dir="${lib.ext.dir}/xml-apis-LICENSES/license" />
+
         <copy todir="${lib.ext.dir}">
             <fileset dir="${download.dir}/${xerces.dir}">
                 <include name="*NOTICE*"/>