db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r540003 - in /db/ddlutils/trunk: build.properties build.xml
Date Mon, 21 May 2007 03:04:55 GMT
Author: tomdz
Date: Sun May 20 20:04:54 2007
New Revision: 540003

URL: http://svn.apache.org/viewvc?view=rev&rev=540003
Log:
Added binary distribution target

Modified:
    db/ddlutils/trunk/build.properties
    db/ddlutils/trunk/build.xml

Modified: db/ddlutils/trunk/build.properties
URL: http://svn.apache.org/viewvc/db/ddlutils/trunk/build.properties?view=diff&rev=540003&r1=540002&r2=540003
==============================================================================
--- db/ddlutils/trunk/build.properties (original)
+++ db/ddlutils/trunk/build.properties Sun May 20 20:04:54 2007
@@ -44,8 +44,11 @@
 dist.doc.filename.prefix=${dist.name}-${dist.version}-doc
 dist.doc.includes=doc/**
 dist.src.filename.prefix=${dist.name}-${dist.version}-src
-dist.src.includes=.classpath,.project,build*.*,dump-metadata.xml,*.txt,pom.xml,src/**,lib/*,lib/build-only/ant-*.jar,lib/build-only/junit*.jar
+dist.src.includes=.classpath,.project,build*.*,dump-metadata.xml,*.txt,pom.xml,src/**,lib/*,lib/build-only/ant-*.jar,lib/build-only/junit*.jar,doc/**
 dist.src.excludes=lib/drivers/**,lib/driver-alternatives/**
+dist.bin.filename.prefix=${dist.name}-${dist.version}-bin
+dist.bin.includes=.classpath,.project,build*.*,dump-metadata.xml,*.txt,pom.xml,dist/${dist.filename.prefix}.jar,lib/*,doc/**
+dist.bin.excludes=lib/build-only/**,lib/drivers/**,lib/driver-alternatives/**
 
 checkstyle.version.pattern=\\$Revision.*\\$
 checkstyle.author.pattern=\\S

Modified: db/ddlutils/trunk/build.xml
URL: http://svn.apache.org/viewvc/db/ddlutils/trunk/build.xml?view=diff&rev=540003&r1=540002&r2=540003
==============================================================================
--- db/ddlutils/trunk/build.xml (original)
+++ db/ddlutils/trunk/build.xml Sun May 20 20:04:54 2007
@@ -268,7 +268,7 @@
   <!-- ================================================================== -->
   <!-- Build the src archive                                              -->
   <!-- ================================================================== -->
-  <target name="src-archive"
+  <target name="src-archive" depends="doc"
           description="Builds the source distribution archive.">
     <zip zipfile="${dist.dir}/${dist.src.filename.prefix}.zip"
          basedir="."
@@ -276,12 +276,24 @@
   	     excludes="${dist.src.excludes}"/>
   </target>
 
-	<!-- ================================================================== -->
+
+  <!-- ================================================================== -->
+  <!-- Build the bin archive                                              -->
+  <!-- ================================================================== -->
+  <target name="bin-archive" depends="jar,doc"
+          description="Builds the binary distribution archive.">
+    <zip zipfile="${dist.dir}/${dist.bin.filename.prefix}.zip"
+         basedir="."
+         includes="${dist.bin.includes}"
+         excludes="${dist.bin.excludes}"/>
+  </target>
+
+  <!-- ================================================================== -->
   <!-- Creates the DdlUtils distribution                                  -->
   <!-- ================================================================== -->
   <target name="dist"
           description="Creates the distribution"
-          depends="jar, doc-archive"/>
+          depends="jar, doc-archive, src-archive"/>
 
   <target name="compile-tests"
           description="Compiles the unit tests"



Mime
View raw message