jakarta-regexp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r518160 - in /jakarta/regexp/trunk: build.xml doap_Regexp.rdf
Date Wed, 14 Mar 2007 14:48:16 GMT
Author: vgritsenko
Date: Wed Mar 14 07:48:15 2007
New Revision: 518160

URL: http://svn.apache.org/viewvc?view=rev&rev=518160
Log:
include license, notice into jar file.
include notice into release files.

Modified:
    jakarta/regexp/trunk/build.xml
    jakarta/regexp/trunk/doap_Regexp.rdf

Modified: jakarta/regexp/trunk/build.xml
URL: http://svn.apache.org/viewvc/jakarta/regexp/trunk/build.xml?view=diff&rev=518160&r1=518159&r2=518160
==============================================================================
--- jakarta/regexp/trunk/build.xml (original)
+++ jakarta/regexp/trunk/build.xml Wed Mar 14 07:48:15 2007
@@ -26,11 +26,11 @@
 
     <!-- Allow the user to have multiple configuration files and
          specify them using -Dconfiguration.file=filename -->
-    <property name="configuration.file" value="build.properties"/> 
+    <property name="configuration.file" value="build.properties"/>
 
     <!-- Give user a chance to override without editing this file
          (and without using -D arguments each time they build) -->
-    <property file="${user.home}/jakarta-regexp.build.properties" /> 
+    <property file="${user.home}/jakarta-regexp.build.properties" />
     <property file="${user.home}/build.properties" />
     <property file="${basedir}/${configuration.file}" />
     <property file="${basedir}/default.properties" />
@@ -103,7 +103,9 @@
     <target name="jar" depends="compile">
         <jar jarfile="${build.dir}/${final.name}.jar"
              basedir="${build.dest}"
-             excludes="**/package.html"/>
+             excludes="**/package.html">
+          <metainf dir="." includes="LICENSE,NOTICE"/>
+        </jar>
     </target>
 
     <!-- =================================================================== -->
@@ -121,8 +123,7 @@
             use="true"
             windowtitle="${Name} ${version} API"
             doctitle="${Name} ${version} API"
-            bottom="Copyright &amp;copy; ${year} Apache Software Foundation. All Rights
Reserved."
-            >
+            bottom="Copyright &amp;copy; ${year} Apache Software Foundation. All Rights
Reserved.">
       </javadoc>
     </target>
 
@@ -145,6 +146,7 @@
         </copy>
         <copy file="build.xml" tofile="${final.dir}/build.xml"/>
         <copy file="LICENSE" tofile="${final.dir}/LICENSE"/>
+        <copy file="NOTICE" tofile="${final.dir}/NOTICE"/>
         <copy file="README" tofile="${final.dir}/README"/>
         <copy file="${build.dir}/${final.name}.jar" tofile="${final.dir}/${final.name}.jar"/>
     </target>
@@ -176,7 +178,7 @@
     <!-- ================================================================== -->
     <!-- I N S T A L L  J A R                                               -->
     <!-- ================================================================== -->
-    <target name="install-jar" depends="jar" 
+    <target name="install-jar" depends="jar"
             description="--> Installs .jar file in ${lib.repo}">
       <copy todir="${lib.repo}" filtering="no">
         <fileset dir="${build.dir}">

Modified: jakarta/regexp/trunk/doap_Regexp.rdf
URL: http://svn.apache.org/viewvc/jakarta/regexp/trunk/doap_Regexp.rdf?view=diff&rev=518160&r1=518159&r2=518160
==============================================================================
--- jakarta/regexp/trunk/doap_Regexp.rdf (original)
+++ jakarta/regexp/trunk/doap_Regexp.rdf Wed Mar 14 07:48:15 2007
@@ -1,4 +1,20 @@
 <?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
 <?xml-stylesheet type="text/xsl" href="../xsl/p2.xsl"?>
 <rdf:RDF xml:lang="en"
          xmlns="http://usefulinc.com/ns/doap#" 



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


Mime
View raw message