[seam-commits] Seam SVN: r13902 - branches/enterprise/JBPAPP_4_3_FP01.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Nov 4 14:00:44 EDT 2010


Author: manaRH
Date: 2010-11-04 14:00:43 -0400 (Thu, 04 Nov 2010)
New Revision: 13902

Modified:
   branches/enterprise/JBPAPP_4_3_FP01/build.xml
Log:
JBPAPP-5312

Modified: branches/enterprise/JBPAPP_4_3_FP01/build.xml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/build.xml	2010-11-04 15:12:18 UTC (rev 13901)
+++ branches/enterprise/JBPAPP_4_3_FP01/build.xml	2010-11-04 18:00:43 UTC (rev 13902)
@@ -517,7 +517,11 @@
 			<entry key="qualifier" value="${qualifier}" />
 		</propertyfile>
 		<copy file="build.xml" todir="${dist.dir}" />
-		<copy file="seam" todir="${dist.dir}" />
+        <!-- <copy file="seam" todir="${dist.dir}" /> -->
+        <exec executable="cp">
+                  <arg value="seam"/>
+                  <arg value="${dist.dir}/seam"/>
+        </exec>
 		<copy file="seam-text.g" todir="${dist.dir}" />
 		<copy file="seam.bat" todir="${dist.dir}" />
 		<copy file="seam2migration.txt" todir="${dist.dir}" />
@@ -534,10 +538,20 @@
 
 	<target name="dist" depends="cleandist,build,javadoc,copysource,copylib,copybuild,copyexamples,copyseamgen,refdoc,extras" description="Build everything and package">
 		<zip zipfile="${basedir}/${dist.name}.zip">
-			<zipfileset prefix="${dist.name}" dir="${dist.dir}" />
-		</zip>
+            <zipfileset prefix="${dist.name}" dir="${dist.dir}">
+                    <exclude name="seam"/>
+            </zipfileset>
+            <zipfileset prefix="${dist.name}" dir="${dist.dir}" filemode="755" >
+                    <include name="seam"/>
+            </zipfileset>			
+		</zip>		
 		<tar tarfile="${basedir}/${dist.name}.tar.gz" compression="gzip">
-			<tarfileset prefix="${dist.name}" dir="${dist.dir}" />
+            <tarfileset prefix="${dist.name}" dir="${dist.dir}">
+                    <exclude name="seam"/>
+            </tarfileset>
+            <tarfileset prefix="${dist.name}" dir="${dist.dir}" mode="755" >
+                    <include name="seam"/>
+            </tarfileset>
 		</tar>
 	</target>
 



More information about the seam-commits mailing list