You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by pn...@apache.org on 2004/09/16 21:39:58 UTC

cvs commit: jakarta-slide/proposals/wvcm Build.xml

pnever      2004/09/16 12:39:58

  Modified:    proposals/wvcm Build.xml
  Log:
  Enhanced 'dist' target
  
  Revision  Changes    Path
  1.5       +19 -12    jakarta-slide/proposals/wvcm/Build.xml
  
  Index: Build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/proposals/wvcm/Build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Build.xml	26 May 2003 13:24:14 -0000	1.4
  +++ Build.xml	16 Sep 2004 19:39:58 -0000	1.5
  @@ -128,21 +128,28 @@
           <jar jarfile="${build.lib}/${component.name}.jar" basedir="${classes}"/>
       </target>
       <!-- =============================================================== -->
  -    <target name="dist" depends="jar" description="Create binary distribution">
  +    <target name="dist" depends="jar,javadoc" description="Create binary distribution">
           <delete dir="${dist}"/>
  -        <mkdir dir="${dist}"/>
  -        <copy todir="${dist}">
  +        <mkdir dir="${dist}/wvcm/lib"/>
  +        <copy todir="${dist}/wvcm//lib">
               <fileset dir="${build.lib}"/>
           </copy>
  -        <copy todir="${dist}" file="${commons-httpclient.jar}"/>
  -        <copy todir="${dist}" file="${commons-logging.jar}"/>
  -        <copy todir="${dist}" file="${xercesImpl.jar}"/>
  -        <copy todir="${dist}" file="${xmlParserAPIs.jar}"/>
  -        <copy todir="${dist}" file="${jdom.jar}"/>
  -        <copy todir="${dist}" file="${jaxen-full.jar}"/>
  -        <copy todir="${dist}" file="${saxpath.jar}"/>
  -        <zip destfile="${dist}/src.zip" basedir="${src}" excludes="**/CVS/**/*"/>
  -        <zip destfile="${dist}/testsrc.zip" basedir="${test.src}" excludes="**/CVS/**/*"/>
  +        <copy todir="${dist}/wvcm/lib" file="${commons-httpclient.jar}"/>
  +        <copy todir="${dist}/wvcm/lib" file="${commons-logging.jar}"/>
  +        <copy todir="${dist}/wvcm/lib" file="${xercesImpl.jar}"/>
  +        <copy todir="${dist}/wvcm/lib" file="${xmlParserAPIs.jar}"/>
  +        <copy todir="${dist}/wvcm/lib" file="${jdom.jar}"/>
  +        <copy todir="${dist}/wvcm/lib" file="${jaxen-full.jar}"/>
  +        <copy todir="${dist}/wvcm/lib" file="${saxpath.jar}"/>
  +        <zip destfile="${dist}/wvcm/src.zip" basedir="${src}" excludes="**/CVS/**/*"/>
  +        <zip destfile="${dist}/wvcm/testsrc.zip" basedir="${test.src}" excludes="**/CVS/**/*"/>
  +        <copy todir="${dist}/wvcm/bin">
  +            <fileset dir="${basedir}/bin"/>
  +        </copy>
  +        <copy todir="${dist}/wvcm/javadoc">
  +            <fileset dir="${javadoc}"/>
  +        </copy>
  +        <zip destfile="${dist}/wvcm.zip" basedir="${dist}" includes="wvcm/**"/>
       </target>
       <!-- =============================================================== -->
       <target name="clean" depends="init" description="Clean build and distribution directories">
  
  
  

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