You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by cu...@apache.org on 2010/01/15 00:03:26 UTC
svn commit: r899455 - in /hadoop/avro/trunk: .eclipse_launchers/ NOTICE.txt
build.sh lang/java/.eclipse_launchers/
lang/java/.eclipse_launchers/AllTests.launch lang/java/build.xml
share/rat-excludes.txt
Author: cutting
Date: Thu Jan 14 23:03:26 2010
New Revision: 899455
URL: http://svn.apache.org/viewvc?rev=899455&view=rev
Log:
AVRO-335. Update RAT task, run it from top-level build, add a few missing licenses, update copyright year.
Added:
hadoop/avro/trunk/lang/java/.eclipse_launchers/
- copied from r899351, hadoop/avro/trunk/.eclipse_launchers/
Removed:
hadoop/avro/trunk/.eclipse_launchers/
Modified:
hadoop/avro/trunk/NOTICE.txt
hadoop/avro/trunk/build.sh
hadoop/avro/trunk/lang/java/.eclipse_launchers/AllTests.launch
hadoop/avro/trunk/lang/java/build.xml
hadoop/avro/trunk/share/rat-excludes.txt
Modified: hadoop/avro/trunk/NOTICE.txt
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/NOTICE.txt?rev=899455&r1=899454&r2=899455&view=diff
==============================================================================
--- hadoop/avro/trunk/NOTICE.txt (original)
+++ hadoop/avro/trunk/NOTICE.txt Thu Jan 14 23:03:26 2010
@@ -1,5 +1,5 @@
Apache Avro
-Copyright 2009 The Apache Software Foundation
+Copyright 2010 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
Modified: hadoop/avro/trunk/build.sh
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/build.sh?rev=899455&r1=899454&r2=899455&view=diff
==============================================================================
--- hadoop/avro/trunk/build.sh (original)
+++ hadoop/avro/trunk/build.sh Thu Jan 14 23:03:26 2010
@@ -1,5 +1,20 @@
#!/bin/bash
+# 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.
+
set -e # exit on error
cd `dirname "$0"` # connect to root
@@ -37,7 +52,10 @@
dist)
# build source tarball
mkdir -p build
+ rm -rf build/avro-src-$VERSION
svn export --force . build/avro-src-$VERSION
+ (cd lang/java; ant rat)
+
mkdir -p dist
tar czf dist/avro-src-$VERSION.tar.gz build/avro-src-$VERSION
md5sum dist/avro-src-$VERSION.tar.gz > dist/avro-src-$VERSION.tar.gz.md5
Modified: hadoop/avro/trunk/lang/java/.eclipse_launchers/AllTests.launch
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/lang/java/.eclipse_launchers/AllTests.launch?rev=899455&r1=899351&r2=899455&view=diff
==============================================================================
--- hadoop/avro/trunk/lang/java/.eclipse_launchers/AllTests.launch (original)
+++ hadoop/avro/trunk/lang/java/.eclipse_launchers/AllTests.launch Thu Jan 14 23:03:26 2010
@@ -1,3 +1,20 @@
+<!--
+ 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 version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.junit.launchconfig">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
Modified: hadoop/avro/trunk/lang/java/build.xml
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/lang/java/build.xml?rev=899455&r1=899454&r2=899455&view=diff
==============================================================================
--- hadoop/avro/trunk/lang/java/build.xml (original)
+++ hadoop/avro/trunk/lang/java/build.xml Thu Jan 14 23:03:26 2010
@@ -31,7 +31,7 @@
<file file="${basedir}/../../share/VERSION.txt"/>
</loadresource>
<property name="fullname" value="${name}-${version}"/>
- <property name="year" value="2009"/>
+ <property name="year" value="2010"/>
<property name="share.dir" value="${basedir}/../../share"/>
<property name="top.build" value="${basedir}/../../build"/>
@@ -315,15 +315,16 @@
</typedef>
<rat:report xmlns:rat="antlib:org.apache.rat.anttasks"
- reportFile="${build.dir}/rat-report.log">
- <fileset dir="${dist.dir}" excludesfile="${src.dir}/rat-excludes.txt"/>
+ reportFile="${top.build}/rat-report.log">
+ <fileset dir="${top.build}/avro-src-${version}/"
+ excludesfile="${share.dir}/rat-excludes.txt"/>
</rat:report>
<condition property="rat.passed">
- <isfileselected file="${build.dir}/rat-report.log">
+ <isfileselected file="${top.build}/rat-report.log">
<containsregexp expression="^0 Unknown Licenses"/>
</isfileselected>
</condition>
- <fail unless="rat.passed">Unknown licenses: See build/rat-report.txt.</fail>
+ <fail unless="rat.passed">Unknown licenses: See build/rat-report.log.</fail>
</target>
<macrodef name="test-runner">
Modified: hadoop/avro/trunk/share/rat-excludes.txt
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/share/rat-excludes.txt?rev=899455&r1=899454&r2=899455&view=diff
==============================================================================
--- hadoop/avro/trunk/share/rat-excludes.txt (original)
+++ hadoop/avro/trunk/share/rat-excludes.txt Thu Jan 14 23:03:26 2010
@@ -13,12 +13,12 @@
**/Makefile**
**/configure**
doc/**
-lib/py/simplejson/**
-src/c++/Doxyfile
-src/c++/jsonschemas/**
-src/c/autom4te.cache/**
-src/c/config**
-src/c/docs/**
-src/c/json/**
-src/c/tests/**
-src/c/version.sh
+lang/py/lib/simplejson/**
+lang/c++/Doxyfile
+lang/c++/jsonschemas/**
+lang/c/autom4te.cache/**
+lang/c/config**
+lang/c/docs/**
+lang/c/json/**
+lang/c/tests/**
+lang/c/version.sh