]> source.dussan.org Git - poi.git/commitdiff
Now dist targets work: src dist has all libs needed with examples and the bin dist...
authorNicola Ken Barozzi <nicolaken@apache.org>
Mon, 18 Mar 2002 12:42:54 +0000 (12:42 +0000)
committerNicola Ken Barozzi <nicolaken@apache.org>
Mon, 18 Mar 2002 12:42:54 +0000 (12:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352248 13f79535-47bb-0310-9956-ffa450edef68

tools/centipede/targets/dev.xtarget
tools/centipede/targets/init.xtarget

index ea6c997ffb1643f794ccfacc0f14602e695e3330..8df957cc51a31949d6c84f6e005273e588a20346 100644 (file)
@@ -7,6 +7,9 @@
     <mkdir dir="${dist.root}"/>
     <mkdir dir="${dist.src.dir}"/>
     <mkdir dir="${dist.src.dir}/lib"/>
+    <mkdir dir="${dist.src.dir}/lib/core"/>
+    <mkdir dir="${dist.src.dir}/lib/optional"/>
+    <mkdir dir="${dist.src.dir}/lib/endorsed"/>        
     <mkdir dir="${dist.src.dir}/src"/>
     <mkdir dir="${dist.src.dir}/src/java"/>
     <mkdir dir="${dist.src.dir}/src/documentation"/>
@@ -14,6 +17,7 @@
     <mkdir dir="${dist.src.dir}/src/scratchpad"/>
     <mkdir dir="${dist.src.dir}/src/testcases"/>
     <mkdir dir="${dist.src.dir}/src/contrib"/>
+    <mkdir dir="${dist.src.dir}/src/examples"/>
     <mkdir dir="${dist.src.dir}/src/targets"/>    
     <mkdir dir="${dist.src.dir}/docs"/>
     <mkdir dir="${dist.src.dir}/docs/apidocs"/>
@@ -34,7 +38,7 @@
     <copy todir="${dist.src.dir}/lib">
       <fileset dir="${lib.dir}"/>
     </copy>
-
+        
     <copy todir="${dist.src.dir}/src/resources" filtering="on">
       <fileset dir="${resource.dir}">
         <exclude name="**/*.gif"/>
       <fileset dir="${contrib.dir}"/>
     </copy>
 
+    <copy todir="${dist.src.dir}/src/examples" filtering="off">
+      <fileset dir="${examples.dir}"/>
+    </copy>
+    
     <copy todir="${dist.src.dir}/src/targets" filtering="off">
       <fileset dir="./src/targets"/>
     </copy>
     <mkdir dir="${dist.root}"/>
     <mkdir dir="${dist.bin.dir}"/>
     <mkdir dir="${dist.bin.dir}/lib"/>
+    <mkdir dir="${dist.src.dir}/lib/core"/>
+    <mkdir dir="${dist.src.dir}/lib/optional"/>    
     <mkdir dir="${dist.bin.dir}/docs"/>
     <mkdir dir="${dist.bin.dir}/docs/apidocs"/>
 
-    <copy file="${build.dir}/${name}.jar" tofile="${dist.bin.dir}/lib/${name}-${version}.jar"/>
+    <copy todir="${dist.bin.dir}/lib/core">
+      <fileset dir="${lib.dir}/core"/>
+    </copy>
+    
+    <copy todir="${dist.bin.dir}/lib/optional">
+      <fileset dir="${lib.dir}/optional"/>
+    </copy>
+    
+    <copy file="${build.dir}/${name}.jar" tofile="${dist.bin.dir}/lib/core/${name}-${version}.jar"/>
     
     <copy todir="${dist.bin.dir}/docs">
       <fileset dir="${build.docs}"/>
   <!-- =================================================================== -->
   <target name="distclean" depends="clean" description="* Cleans everything to the original state">
     <delete dir="${build.root}"/>
-    <delete file="${dist.target}/${Name}-${version}.tar.gz"/>
-    <delete file="${dist.target}/${Name}-${version}.tar"/>
-    <delete file="${dist.target}/${Name}-${version}.zip"/>
-    <delete file="${dist.target}/${Name}-${version}-src.tar.gz"/>
-    <delete file="${dist.target}/${Name}-${version}-src.tar"/>
-    <delete file="${dist.target}/${Name}-${version}-src.zip"/>
-    <delete file="${dist.target}/${Name}-${version}-bin.tar.gz"/>
-    <delete file="${dist.target}/${Name}-${version}-bin.tar"/>
-    <delete file="${dist.target}/${Name}-${version}-bin.zip"/>
+    <delete file="${dist.target}/core/${Name}-${version}.tar.gz"/>
+    <delete file="${dist.target}/core/${Name}-${version}.tar"/>
+    <delete file="${dist.target}/core/${Name}-${version}.zip"/>
+    <delete file="${dist.target}/core/${Name}-${version}-src.tar.gz"/>
+    <delete file="${dist.target}/core/${Name}-${version}-src.tar"/>
+    <delete file="${dist.target}/core/${Name}-${version}-src.zip"/>
+    <delete file="${dist.target}/core/${Name}-${version}-bin.tar.gz"/>
+    <delete file="${dist.target}/core/${Name}-${version}-bin.tar"/>
+    <delete file="${dist.target}/core/${Name}-${version}-bin.zip"/>
     <delete dir="${dist.root}"/>
   </target>
   
index 7d51f57639103ba12274a740c50c310667d39d3f..8826a08cb3eb9a3506dc96b5ff3b219cf6533db7 100644 (file)
@@ -54,7 +54,7 @@
     <property name="fullname"      value="${xml.project.name}"/>
     <property name="name"          value="${xml.project.info.module}"/>
     <property name="Name"          value="${xml.project.name}"/>
-    <property name="packages"      value="${xml.project.info.packages}"/>
+    <property name="packages"      value="${xml.project.module.project.package}.*"/>
     <property name="short.version" value="${xml.project.info.version}"/>
     <property name="version.tag"   value="${xml.project.info.tag}"/>
     <property name="version"       value="${short.version}-${version.tag}"/>