You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2007/03/11 02:57:41 UTC

svn commit: r516838 - /james/server/trunk/phoenix-deployment/build.xml

Author: noel
Date: Sat Mar 10 17:57:40 2007
New Revision: 516838

URL: http://svn.apache.org/viewvc?view=rev&rev=516838
Log:
preserve bin/ and src/ directories when moving to the master dist/ directory

Modified:
    james/server/trunk/phoenix-deployment/build.xml

Modified: james/server/trunk/phoenix-deployment/build.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/phoenix-deployment/build.xml?view=diff&rev=516838&r1=516837&r2=516838
==============================================================================
--- james/server/trunk/phoenix-deployment/build.xml (original)
+++ james/server/trunk/phoenix-deployment/build.xml Sat Mar 10 17:57:40 2007
@@ -597,6 +597,8 @@
  
     <target name='prepare-master-dist'>
         <mkdir dir='${dir.master.dist}'/> 
+        <mkdir dir='${dir.master.dist}/bin'/> 
+        <mkdir dir='${dir.master.dist}/src'/> 
     </target>   
 
     <!--
@@ -624,7 +626,7 @@
                 <include name="UPGRADE.txt"/>
             </fileset>
         </zip>
-        <copy todir='${dir.master.dist}' file='${dist.binary.file.zip}'/>   
+        <copy todir='${dir.master.dist}/bin' file='${dist.binary.file.zip}'/>   
         <property 
             name='dist.binary.file.tgz' 
             value='${dist.binary.dir}/${name}-binary-${version}.tar.gz'/>      
@@ -641,7 +643,7 @@
         <gzip zipfile="${dist.binary.file.tgz}" 
             src="${dist.binary.dir}/${name}-binary-${version}.tar"/>
         <delete file="${dist.binary.dir}/${name}-binary-${version}.tar"/>
-        <copy todir='${dir.master.dist}' file='${dist.binary.file.tgz}'/>   
+        <copy todir='${dir.master.dist}/bin' file='${dist.binary.file.tgz}'/>   
     </target>
 
     <!-- target name="dist-bin-common" depends="dist-lite,xdocs,javadocs" -->
@@ -682,7 +684,7 @@
                 <include name="*.ent" />
             </fileset>
         </zip>
-        <copy todir='${dir.master.dist}' file='${dist.src.file.zip}'/>  
+        <copy todir='${dir.master.dist}/src' file='${dist.src.file.zip}'/>  
         <property 
             name='dist.src.file.tgz' 
             value='${dist.source.dir}/${name}-with-phoenix-${version}-src.tar.gz'/>    
@@ -700,7 +702,7 @@
         </tar>
         <gzip zipfile="${dist.src.file.tgz}"
              src="${dist.source.dir}/${name}-with-phoenix-${version}-src.tar"/>
-        <copy todir='${dir.master.dist}' file='${dist.src.file.tgz}'/>   
+        <copy todir='${dir.master.dist}/src' file='${dist.src.file.tgz}'/>   
         <delete file="${dist.source.dir}/${name}-with-phoenix-${version}-src.tar"/>
     </target>
 
@@ -820,7 +822,7 @@
                 <exclude name="${name}-${version}/downloads/**"/>
             </fileset>
         </zip>
-        <copy todir='${dir.master.dist}' file='${dist.mailetsdk.file.zip}'/>   
+        <copy todir='${dir.master.dist}/bin' file='${dist.mailetsdk.file.zip}'/>   
         <property 
             name='dist.mailetsdk.file.tgz' 
             value='${dist.downloads.bin}/${sdk.stem}.tar.gz'/>     
@@ -833,7 +835,7 @@
         <gzip zipfile="${dist.mailetsdk.file.tgz}"
             src="${dist.downloads.bin}/${sdk.stem}.tar"/>
         <delete file="${dist.downloads.bin}/{sdk.stem}.tar"/>
-        <copy todir='${dir.master.dist}' file='${dist.mailetsdk.file.tgz}'/> 
+        <copy todir='${dir.master.dist}/bin' file='${dist.mailetsdk.file.tgz}'/> 
             
         <delete dir="${sdk.dir}"/>
     </target>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


RE: svn commit: r516838 - /james/server/trunk/phoenix-deployment/build.xml

Posted by "Noel J. Bergman" <no...@devtech.com>.
> preserve bin/ and src/ directories when moving to the master dist/ directory

Separately, this still needs some work, because not all of the files are being copied.

	--- Noel



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org