You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by bb...@apache.org on 2007/01/24 18:39:57 UTC

svn commit: r499522 - /incubator/xap/trunk/buildsystem/build-manufacturing.xml

Author: bbuffone
Date: Wed Jan 24 10:39:57 2007
New Revision: 499522

URL: http://svn.apache.org/viewvc?view=rev&rev=499522
Log:
checked in changes to the manufacturing process.

Modified:
    incubator/xap/trunk/buildsystem/build-manufacturing.xml

Modified: incubator/xap/trunk/buildsystem/build-manufacturing.xml
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/buildsystem/build-manufacturing.xml?view=diff&rev=499522&r1=499521&r2=499522
==============================================================================
--- incubator/xap/trunk/buildsystem/build-manufacturing.xml (original)
+++ incubator/xap/trunk/buildsystem/build-manufacturing.xml Wed Jan 24 10:39:57 2007
@@ -113,7 +113,7 @@
         <!-- using 'ant' task here doesn't work -->
         <exec dir="${staging.buildsystem.location}" executable="ant.bat">
             <arg value="build-profile"/>
-            <arg value="-Dprofile=${profile-name}"/>
+            <arg value="-Dprofile=${profile}"/>
         </exec>    
     </target>
 
@@ -121,34 +121,52 @@
     	Build a zip file of the redistruable files for the project
     -->
     <target name="-build-dist-zip" description="builds platform zip">
-      <mkdir dir="${zipDir}"/>        
+        <mkdir dir="${zipDir}"/>        
+      
     	<zip destfile="${zipDir}/${zipName}">
-    	    <zipfileset dir="${staging.codebase.location}" prefix="${dir-prefix}" includes="src/**"/>
-    	    <zipfileset dir="${staging.codebase.location}" prefix="${dir-prefix}" includes="css/**"/>
-        </zip> 
-        
-        <zip destfile="${zipDir}/${zipName}" update="true">
-            <zipfileset dir="${staging.dist.output.location}" prefix="${dir-prefix}/lib" includes="**/*"/>
-        </zip> 
-            	        
-    	<zip destfile="${zipDir}/${zipName}" update="true">
-    	    <zipfileset dir="${staging.buildsystem.seed.location}" includes="**"/>
+    	    
+    	    <!--
+    	      Add all the dist content.
+    	     -->
+    	    <zipfileset dir="${staging.codebase.location}" prefix="dist/${dir-prefix}" includes="src/**"/>
+    	    <zipfileset dir="${staging.codebase.location}" prefix="dist/${dir-prefix}" includes="css/**"/>
+            <zipfileset dir="${staging.dist.output.location}" prefix="dist/${dir-prefix}/lib" includes="**/*"/>
+    	    <zipfileset dir="${staging.buildsystem.seed.location}" prefix="dist/" includes="**"/>
+    	    
+    	    <!--
+    	        Add all the source.
+    	    -->
+    	    <zipfileset dir="${staging.buildsystem.seed.location}" prefix="source/" 
+    	                includes="${staging.codebase.location}/**"/>
+    	        	    
     	</zip> 
     	
+    	
+    	
     </target>
        
 	<!-- 
 		Build a tar file of the redistruable files for the project
 	-->
 	<target name="-build-dist-tar" description="builds platform zip">		
-		<mkdir dir="${zipDir}"/>        
+		<mkdir dir="${zipDir}"/>   
+		     
 		<tar destfile="${zipDir}/${zipName}">
-		    <tarfileset dir="${staging.codebase.location}" prefix="${dir-prefix}" includes="src/**"/>
-		    <tarfileset dir="${staging.codebase.location}" prefix="${dir-prefix}" includes="css/**"/>
-		    <tarfileset dir="${staging.dist.output.location}" prefix="${dir-prefix}/lib" includes="**/*"/>
-		    <tarfileset dir="${staging.buildsystem.seed.location}" includes="**"/>
-		</tar> 
-				
+		    <!--
+		        Add all the dist content.
+		    -->
+		    <tarfileset dir="${staging.codebase.location}" prefix="dist/${dir-prefix}" includes="src/**"/>
+		    <tarfileset dir="${staging.codebase.location}" prefix="dist/${dir-prefix}" includes="css/**"/>
+		    <tarfileset dir="${staging.dist.output.location}" prefix="dist/${dir-prefix}/lib" includes="**/*"/>
+		    <tarfileset dir="${staging.buildsystem.seed.location}" prefix="dist/" includes="**"/>
+		    
+		    <!--
+		        Add all the source.
+		    -->
+		    <tarfileset dir="${staging.buildsystem.seed.location}" prefix="source/" 
+		                includes="${staging.codebase.location}/**"/>
+		    
+		</tar> 				
 	</target>
 	    
     <target name="build-xap" description="build xap">
@@ -164,7 +182,7 @@
         <antcall target="-doc"/>   
           
         <antcall target="-build-profile">
-            <param name="profile-name" value="xapcore-razorfish"/>
+            <param name="profile" value="xapcore-razorfish"/>
         </antcall>
         
         <!-- 
@@ -176,7 +194,7 @@
         <gzip src="${staging.dist.output.location}/xapcore-min.js" destfile="${staging.dist.output.location}/xapcore-min.js.gz"/>
     	
     	<antcall target="-build-profile">
-    	    <param name="profile-name" value="xap"/>
+    	    <param name="profile" value="xap"/>
     	</antcall>
     	
         <copyfile src="${staging.dist.location}/lib/xapcore.js" dest="${staging.dist.output.location}/xapcore.js"/>