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

[2/3] git commit: [flex-sdk] [refs/heads/release4.14.0] - 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/53a7911f
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/53a7911f
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/53a7911f

Branch: refs/heads/release4.14.0
Commit: 53a7911f369ac5c81fb0a0621f73a9c3649ec96e
Parents: 662ef7f
Author: Justin Mclean <jm...@apache.org>
Authored: Mon Jan 12 01:06:09 2015 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Mon Jan 12 01:06:09 2015 +1100

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


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/53a7911f/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*"/>