db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r539998 - in /db/ddlutils/trunk: build.properties build.xml
Date Mon, 21 May 2007 02:29:26 GMT
Author: tomdz
Date: Sun May 20 19:29:25 2007
New Revision: 539998

URL: http://svn.apache.org/viewvc?view=rev&rev=539998
Log:
Added src-archive 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=539998&r1=539997&r2=539998
==============================================================================
--- db/ddlutils/trunk/build.properties (original)
+++ db/ddlutils/trunk/build.properties Sun May 20 19:29:25 2007
@@ -41,6 +41,11 @@
 dist.vendor=Apache Software Foundation
 dist.version=1.0-RC2
 dist.filename.prefix=${dist.name}-${dist.version}
+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.excludes=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=539998&r1=539997&r2=539998
==============================================================================
--- db/ddlutils/trunk/build.xml (original)
+++ db/ddlutils/trunk/build.xml Sun May 20 19:29:25 2007
@@ -260,12 +260,23 @@
   <!-- ================================================================== -->
   <target name="doc-archive" depends="doc"
           description="Builds the complete documentation archive.">
-    <zip zipfile="${dist.dir}/${dist.filename.prefix}-doc.zip"
+    <zip zipfile="${dist.dir}/${dist.doc.filename.prefix}.zip"
          basedir="."
-         includes="doc/**"/>
+         includes="${dist.doc.includes}"/>
   </target>
 
   <!-- ================================================================== -->
+  <!-- Build the src archive                                              -->
+  <!-- ================================================================== -->
+  <target name="src-archive"
+          description="Builds the source distribution archive.">
+    <zip zipfile="${dist.dir}/${dist.src.filename.prefix}.zip"
+         basedir="."
+         includes="${dist.src.includes}"
+  	     excludes="${dist.src.excludes}"/>
+  </target>
+
+	<!-- ================================================================== -->
   <!-- Creates the DdlUtils distribution                                  -->
   <!-- ================================================================== -->
   <target name="dist"



Mime
View raw message