abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r427176 - in /incubator/abdera/java: branches/0.1.0/build/build.xml trunk/build/build.xml
Date Mon, 31 Jul 2006 17:14:59 GMT
Author: jmsnell
Date: Mon Jul 31 10:14:58 2006
New Revision: 427176

URL: http://svn.apache.org/viewvc?rev=427176&view=rev
Log:
Adding license/notice files to the built jars as suggested by Robert Burrell Donkin...

  * there are no license or notice files in the jars distributed in the
    binary. though this is not necessarily a blocking issue, these
    artifacts cannot be distributed as raw jars without them. therefore
    these jars cannot be distributed through maven. if you want to do
    this, you must include LICENSE and NOTICE files in the jars.

Modified:
    incubator/abdera/java/branches/0.1.0/build/build.xml
    incubator/abdera/java/trunk/build/build.xml

Modified: incubator/abdera/java/branches/0.1.0/build/build.xml
URL: http://svn.apache.org/viewvc/incubator/abdera/java/branches/0.1.0/build/build.xml?rev=427176&r1=427175&r2=427176&view=diff
==============================================================================
--- incubator/abdera/java/branches/0.1.0/build/build.xml (original)
+++ incubator/abdera/java/branches/0.1.0/build/build.xml Mon Jul 31 10:14:58 2006
@@ -159,6 +159,13 @@
            destdir="${test}" 
            classpathref="jar.dependencies"
            classpath="${core.work}"/>
+    <mkdir dir="${core.work}/META-INF" />
+    <copy todir="${core.work}/META-INF">
+      <fileset dir="${basedir}">
+        <include name="LICENSE" />
+        <include name="NOTICE" />
+      </fileset>
+    </copy>
   </target>
   
   <target name="compile.parser" depends="init,compile.core">
@@ -171,6 +178,13 @@
            destdir="${test}"
            classpathref="jar.dependencies"
            classpath="${core.work};${parser.work}" />
+    <mkdir dir="${parser.work}/META-INF" />
+    <copy todir="${parser.work}/META-INF">
+      <fileset dir="${basedir}">
+        <include name="LICENSE" />
+        <include name="NOTICE" />
+      </fileset>
+    </copy>
     <copy todir="${test}">
       <fileset dir="${parser.test.resources}">
         <include name="**"/>
@@ -188,6 +202,13 @@
            destdir="${test}"
            classpathref="jar.dependencies"
            classpath="${core.work};${parser.work};${extensions.work}" />
+    <mkdir dir="${extensions.work}/META-INF" />
+    <copy todir="${extensions.work}/META-INF">
+      <fileset dir="${basedir}">
+        <include name="LICENSE" />
+        <include name="NOTICE" />
+      </fileset>
+    </copy>
     <copy todir="${extensions.work}">
       <fileset dir="${extensions.resources}" includes="**/*" />
     </copy>
@@ -202,6 +223,13 @@
            destdir="${server.work}"
            classpathref="jar.dependencies"
            classpath="${core.work}" />
+    <mkdir dir="${server.work}/META-INF" />
+    <copy todir="${server.work}/META-INF">
+      <fileset dir="${basedir}">
+        <include name="LICENSE" />
+        <include name="NOTICE" />
+      </fileset>
+    </copy>
   </target>  
   
   <target name="compile.security" depends="init, compile.core" if="do.security">
@@ -210,6 +238,13 @@
            destdir="${security.work}"
            classpathref="jar.dependencies"
            classpath="${core.work}" />    
+    <mkdir dir="${security.work}/META-INF" />
+    <copy todir="${security.work}/META-INF">
+      <fileset dir="${basedir}">
+        <include name="LICENSE" />
+        <include name="NOTICE" />
+      </fileset>
+    </copy>
   </target>
 
   <target name="build" depends="init,compile.core,compile.parser,compile.server,compile.extensions,compile.security"></target>

Modified: incubator/abdera/java/trunk/build/build.xml
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/build/build.xml?rev=427176&r1=427175&r2=427176&view=diff
==============================================================================
--- incubator/abdera/java/trunk/build/build.xml (original)
+++ incubator/abdera/java/trunk/build/build.xml Mon Jul 31 10:14:58 2006
@@ -159,6 +159,13 @@
            destdir="${test}" 
            classpathref="jar.dependencies"
            classpath="${core.work}"/>
+    <mkdir dir="${core.work}/META-INF" />
+    <copy todir="${core.work}/META-INF">
+      <fileset dir="${basedir}">
+        <include name="LICENSE" />
+        <include name="NOTICE" />
+      </fileset>
+    </copy>
   </target>
   
   <target name="compile.parser" depends="init,compile.core">
@@ -171,6 +178,13 @@
            destdir="${test}"
            classpathref="jar.dependencies"
            classpath="${core.work};${parser.work}" />
+    <mkdir dir="${parser.work}/META-INF" />
+    <copy todir="${parser.work}/META-INF">
+      <fileset dir="${basedir}">
+        <include name="LICENSE" />
+        <include name="NOTICE" />
+      </fileset>
+    </copy>
     <copy todir="${test}">
       <fileset dir="${parser.test.resources}">
         <include name="**"/>
@@ -188,6 +202,13 @@
            destdir="${test}"
            classpathref="jar.dependencies"
            classpath="${core.work};${parser.work};${extensions.work}" />
+    <mkdir dir="${extensions.work}/META-INF" />
+    <copy todir="${extensions.work}/META-INF">
+      <fileset dir="${basedir}">
+        <include name="LICENSE" />
+        <include name="NOTICE" />
+      </fileset>
+    </copy>
     <copy todir="${extensions.work}">
       <fileset dir="${extensions.resources}" includes="**/*" />
     </copy>
@@ -202,6 +223,13 @@
            destdir="${server.work}"
            classpathref="jar.dependencies"
            classpath="${core.work}" />
+    <mkdir dir="${server.work}/META-INF" />
+    <copy todir="${server.work}/META-INF">
+      <fileset dir="${basedir}">
+        <include name="LICENSE" />
+        <include name="NOTICE" />
+      </fileset>
+    </copy>
   </target>  
   
   <target name="compile.security" depends="init, compile.core" if="do.security">
@@ -210,6 +238,13 @@
            destdir="${security.work}"
            classpathref="jar.dependencies"
            classpath="${core.work}" />    
+    <mkdir dir="${security.work}/META-INF" />
+    <copy todir="${security.work}/META-INF">
+      <fileset dir="${basedir}">
+        <include name="LICENSE" />
+        <include name="NOTICE" />
+      </fileset>
+    </copy>
   </target>
 
   <target name="build" depends="init,compile.core,compile.parser,compile.server,compile.extensions,compile.security"></target>



Mime
View raw message