flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject flex-blazeds git commit: add LICENSE and NOTICE to flex-messaging-common
Date Fri, 02 Jan 2015 16:33:55 GMT
Repository: flex-blazeds
Updated Branches:
  refs/heads/master 27a6e8b12 -> 4430e8900


add LICENSE and NOTICE to flex-messaging-common


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

Branch: refs/heads/master
Commit: 4430e8900c72a9b95d046dc9158581eefc4e4cd8
Parents: 27a6e8b
Author: Alex Harui <aharui@apache.org>
Authored: Fri Jan 2 08:33:02 2015 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Jan 2 08:33:44 2015 -0800

----------------------------------------------------------------------
 modules/common/build.xml | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/4430e890/modules/common/build.xml
----------------------------------------------------------------------
diff --git a/modules/common/build.xml b/modules/common/build.xml
index 6644d33..dee8c33 100755
--- a/modules/common/build.xml
+++ b/modules/common/build.xml
@@ -28,7 +28,9 @@
     <property name="module.src" value="${module.dir}/src"/>
     <property name="module.classes" value="${module.dir}/classes"/>
     <property name="module.jar" value="${lib.dir}/flex-messaging-common.jar"/>
-
+    <property name="license.file" value="${basedir}/LICENSE" />
+    <property name="notice.file" value="${basedir}/NOTICE" />
+    
     <property name="build.number" value=""/>
     
     <!-- j2ee apis required to compile -->
@@ -60,7 +62,15 @@
         <copy todir="${module.classes}/flex/messaging" overwrite="true">
             <fileset dir="${module.src}/flex/messaging" includes="*.properties"/>
         </copy>
+        <delete dir="${module.classes}/meta-inf" quiet="true"/>
+        
+        <mkdir dir="${module.classes}/META-INF"/>
+        <copy file="${license.file}" tofile="${module.classes}/META-INF/LICENSE"/>
+        <copy file="${notice.file}" tofile="${module.classes}/META-INF/NOTICE"/>
+        
         <jar destfile="${module.jar}" basedir="${module.classes}">
+            <include name="META-INF/LICENSE"/>
+            <include name="META-INF/NOTICE"/>
             <include name="flex/**"/>
             <exclude name=".dependency-info/**"/>
         	<manifest>
@@ -73,6 +83,7 @@
         <delete failonerror="false">
             <fileset dir="${module.classes}/flex/messaging" includes="*.properties"/>
         </delete>
+        <delete dir="${module.classes}/META-INF"/>
     </target>
 
     <target name="clean" description="clean">


Mime
View raw message