You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pi...@apache.org on 2017/05/27 21:30:47 UTC

git commit: [flex-asjs] [refs/heads/release0.8.0] - Add targets for ant build which copying Maven distribution and archetypes folders to final binary package which is

Repository: flex-asjs
Updated Branches:
  refs/heads/release0.8.0 2be5163b6 -> e0f73fdcd


Add targets for ant build which copying Maven distribution and archetypes folders to final binary package which is


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

Branch: refs/heads/release0.8.0
Commit: e0f73fdcdf20c648971a97086b6bbc00208f08ba
Parents: 2be5163
Author: piotrz <pi...@apache.org>
Authored: Sat May 27 23:30:43 2017 +0200
Committer: piotrz <pi...@apache.org>
Committed: Sat May 27 23:30:43 2017 +0200

----------------------------------------------------------------------
 build.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e0f73fdc/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 43b4085..2346a13 100644
--- a/build.xml
+++ b/build.xml
@@ -763,6 +763,25 @@
         <copy todir="${basedir}/temp" file="${basedir}/nightly.properties" />
     </target>
 
+    <target name="copy-maven-distribution" description="copying maven distribution folder for binary-package">
+        <echo message="Copying Maven distribution folder" />
+        <copy todir="${basedir}/temp/distribution">
+           <fileset dir="${basedir}/distribution">
+                <exclude name="**/target/**"/>
+           </fileset>
+        </copy>
+    </target>
+
+    <target name="copy-maven-archetypes" description="copying maven archetypes folder for binary-package">
+        <echo message="Copying Maven archetypes folder" />
+        <copy todir="${basedir}/temp/archetypes">
+            <fileset dir="${basedir}/archetypes">
+                <exclude name="**/target/**"/>
+                <exclude name="**/*.iml"/>
+            </fileset>
+        </copy>
+    </target>
+
     <target name="binary-package"
         description="Package binary files in zip and tar-gzip file.">
 
@@ -837,6 +856,8 @@
             </fileset>
         </copy>
 
+		<antcall target="copy-maven-distribution"/>
+        <antcall target="copy-maven-archetypes"/>
         <!-- swfobject templates except for downloaded files
         <copy todir="${basedir}/temp/templates/swfobject">
             <fileset dir="${basedir}/templates/swfobject">