flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [14/50] [abbrv] git commit: [flex-sdk] [refs/heads/master] - Extract and add required license files to binary release
Date Mon, 02 Feb 2015 09:02:50 GMT
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/master
Commit: 53a7911f369ac5c81fb0a0621f73a9c3649ec96e
Parents: 662ef7f
Author: Justin Mclean <jmclean@apache.org>
Authored: Mon Jan 12 01:06:09 2015 +1100
Committer: Justin Mclean <jmclean@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*"/>


Mime
View raw message