Skip to content
Permalink
Browse files
add LICENSE and NOTICE to flex-messaging-common
  • Loading branch information
aharui committed Jan 2, 2015
1 parent 27a6e8b commit 4430e8900c72a9b95d046dc9158581eefc4e4cd8
Showing 1 changed file with 12 additions and 1 deletion.
@@ -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">

0 comments on commit 4430e89

Please sign in to comment.