db-ddlutils-dev mailing list archives

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

URL: http://svn.apache.org/viewvc?view=rev&rev=540018
Log:
Added license to generated jar file
Tweaked bin artifact

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=540018&r1=540017&r2=540018
==============================================================================
--- db/ddlutils/trunk/build.properties (original)
+++ db/ddlutils/trunk/build.properties Sun May 20 21:14:18 2007
@@ -47,7 +47,7 @@
 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.includes=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.*\\$

Modified: db/ddlutils/trunk/build.xml
URL: http://svn.apache.org/viewvc/db/ddlutils/trunk/build.xml?view=diff&rev=540018&r1=540017&r2=540018
==============================================================================
--- db/ddlutils/trunk/build.xml (original)
+++ db/ddlutils/trunk/build.xml Sun May 20 21:14:18 2007
@@ -69,6 +69,9 @@
       <fileset dir="${src.java.dir}"
                excludes="**/*.java"/>
     </copy>
+  	<mkdir dir="${build.java.dir}/META-INF"/>
+    <copy todir="${build.java.dir}/META-INF"
+  	      file="${basedir}/LICENSE.txt"/>
     <jar jarfile="${dist.dir}/${dist.filename.prefix}.jar"
          basedir="${build.java.dir}"
          excludes="**/package.html">
@@ -288,7 +291,7 @@
   <!-- ================================================================== -->
   <target name="dist"
           description="Creates the distribution"
-          depends="jar, doc-archive, src-archive"/>
+          depends="jar, doc-archive, src-archive, bin-archive"/>
 
   <target name="compile-tests"
           description="Compiles the unit tests"
@@ -297,8 +300,10 @@
     <javac srcdir="${src.test.dir}"
            destdir="${build.test.dir}"
            deprecation="true"
-           debug="true"
-           optimize="false">
+    	   debug="true"
+    	   source="1.2"
+    	   target="1.2"
+    	   optimize="false">
       <classpath refid="compilation-classpath"/>
     </javac>
   </target>



Mime
View raw message