db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject cvs commit: db-torque maven.xml
Date Mon, 18 Jul 2005 17:34:05 GMT
tfischer    2005/07/18 10:34:04

  Modified:    .        maven.xml
  Log:
  include the contents of the conf directory in the binary release
  do not include the contents of the src/generator directory in the source release
  
  Revision  Changes    Path
  1.25      +14 -3     db-torque/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/db-torque/maven.xml,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- maven.xml	18 Jul 2005 03:46:45 -0000	1.24
  +++ maven.xml	18 Jul 2005 17:33:40 -0000	1.25
  @@ -38,12 +38,18 @@
     <!-- ================================================================== -->
     <!-- D I S T : B U I L D _ B I N   P R E   G O A L                      -->
     <!-- ================================================================== -->
  -  <!-- copies jars, templates, ... to the ${maven.dist.bin.assembly.dir}  -->
  -  <!-- to include them in the binary dists                                -->
  +  <!-- copies jars, sample configuration ... to the                       -->
  +  <!-- ${maven.dist.bin.assembly.dir} to include them in the binary dists -->
     <!-- ================================================================== -->
     <preGoal name="dist:build-bin">
       <!-- include listed dependencies -->
       <deploy:copy-deps todir="${maven.dist.bin.assembly.dir}/lib" excludes="jndi:jndi,jdbc"
/>
  +
  +    <!-- copy the contents of the conf directory -->
  +    <!-- to the right place -->
  +    <copy todir="${maven.dist.bin.assembly.dir}">
  +      <fileset dir="${maven.src.dir}/conf" />
  +    </copy>
     </preGoal>
   
     <!-- ================================================================== -->
  @@ -52,6 +58,7 @@
     <!-- includes project-base.xml in the source distribution               -->
     <!-- This is necessary as long as maven does not resolves the extends   -->
     <!-- property of the pom upon generation of the source distribution     -->   
                                       
  +  <!-- Also, do not include src/generator in the source distribution      -->
     <!-- ================================================================== -->
     <preGoal name="dist:build-src">
       <!-- include project-base.xml                              -->
  @@ -59,6 +66,10 @@
       <!-- called from the generator where the project-base.xml  -->
       <!-- does not exist in the base directory                  -->
       <copy todir="${maven.dist.src.assembly.dir}" file="project-base.xml" failonerror="false"/>
  +    <!-- do not include src/generator in the source distribution -->
  +    <!-- The directory is deleted after copying, maybe one can find -->
  +    <!-- a better solution -->                                           
  +    <delete dir="${maven.dist.src.assembly.dir}/src/generator" />
     </preGoal>
   
     <!-- ================================================================== -->
  
  
  

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


Mime
View raw message