Adds missing licenses accrording to Rat audit tool.

Project: http://git-wip-us.apache.org/repos/asf/incubator-wave/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-wave/commit/117cd487
Tree: http://git-wip-us.apache.org/repos/asf/incubator-wave/tree/117cd487
Diff: http://git-wip-us.apache.org/repos/asf/incubator-wave/diff/117cd487

Branch: refs/heads/fulltextsearch
Commit: 117cd487dabdd510a7b45a59471afa5a2d663496
Parents: a7bb1c7
Author: Yuri Zelikov <[email protected]>
Authored: Thu Jul 17 22:38:35 2014 +0300
Committer: Yuri Zelikov <[email protected]>
Committed: Thu Jul 17 22:38:35 2014 +0300

----------------------------------------------------------------------
 build.properties                                |  1 +
 build.xml                                       | 25 ++++++++++++++++++++
 src/org/waveprotocol/box/stat/Stat.gwt.xml      | 13 ++++++++++
 .../box/webclient/stat/Stat.gwt.xml             | 13 ++++++++++
 .../wave/client/widget/dialog/Dialog.gwt.xml    | 13 ++++++++++
 5 files changed, 65 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/117cd487/build.properties
----------------------------------------------------------------------
diff --git a/build.properties b/build.properties
index 5f5b772..6a94a2d 100644
--- a/build.properties
+++ b/build.properties
@@ -48,6 +48,7 @@ lib.dir=${basedir}/third_party
 lib.test=${lib.dir}/test
 lib.runtime=${lib.dir}/runtime
 lib.codegen=${lib.dir}/codegen
+lib.release=${lib.dir}/release
 
 # Intermediary build directories (temporary)
 build.dir=${basedir}/build

http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/117cd487/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 73958a1..a5421f5 100644
--- a/build.xml
+++ b/build.xml
@@ -61,6 +61,7 @@
     <delete dir="${lib.test}"/>
     <delete dir="${lib.codegen}"/>
     <delete dir="${lib.runtime}"/>
+    <delete dir="${lib.release}"/>
   </target>
 
   <target name="init-logging" description="Enable logging to file">
@@ -83,6 +84,7 @@
     <mkdir dir="${lib.test}"/>
     <mkdir dir="${lib.codegen}"/>
     <mkdir dir="${lib.runtime}"/>
+    <mkdir dir="${lib.release}"/>
     <mkdir dir="${gen.dir}/gxp"/>
     <mkdir dir="${gen.dir}/messages"/>
   </target>
@@ -1087,6 +1089,29 @@
     </get>
   </target>
 
+  <target name="get-third-party-release-dep" description="Download release 
tool third party dependencies">
+       <get dest="${lib.release}" usetimestamp="true" skipexisting="true">
+         <url 
url="http://apache.spd.co.il/creadur/apache-rat-0.10/apache-rat-0.10-bin.zip"; />
+       </get>
+       <unzip src="${lib.release}/apache-rat-0.10-bin.zip" 
dest="${lib.release}">
+         <patternset>
+        <include name="apache-rat-0.10/apache-rat-0.10.jar"/>
+      </patternset>
+         <mapper type="flatten"/>
+    </unzip>
+  </target>
+
+  <target name="rat" depends="get-third-party-release-dep" description="Run 
the Apache Rat release audit tool.">
+    <taskdef resource="org/apache/rat/anttasks/antlib.xml">
+        <classpath>
+          <pathelement location="${lib.release}/apache-rat-0.10.jar"/>
+        </classpath>
+    </taskdef>
+    <report>
+      <fileset dir="src"/>
+     </report>
+  </target>
+
   <target name="doc" depends="stage" description="Builds the Java 
documentation for the mode, protocol, and Wave in a Box">
     <javadoc sourcepath="${src.dir}" destdir="${docs.dir}" linksource="yes" 
author="yes" protected="yes"
         windowtitle="${ant.project.name} Documentation">

http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/117cd487/src/org/waveprotocol/box/stat/Stat.gwt.xml
----------------------------------------------------------------------
diff --git a/src/org/waveprotocol/box/stat/Stat.gwt.xml 
b/src/org/waveprotocol/box/stat/Stat.gwt.xml
index 300c8c7..a459a43 100644
--- a/src/org/waveprotocol/box/stat/Stat.gwt.xml
+++ b/src/org/waveprotocol/box/stat/Stat.gwt.xml
@@ -1,3 +1,16 @@
+<!--                                                                        -->
+<!-- Licensed under the Apache License, Version 2.0 (the "License"); you    -->
+<!-- may not use this file except in compliance with the License. You may   -->
+<!-- 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. License for the specific language governing permissions and   -->
+<!-- limitations under the License.                                         -->
+
 <module>
     <source path=""/>
 </module>

http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/117cd487/src/org/waveprotocol/box/webclient/stat/Stat.gwt.xml
----------------------------------------------------------------------
diff --git a/src/org/waveprotocol/box/webclient/stat/Stat.gwt.xml 
b/src/org/waveprotocol/box/webclient/stat/Stat.gwt.xml
index be13f3a..f757581 100644
--- a/src/org/waveprotocol/box/webclient/stat/Stat.gwt.xml
+++ b/src/org/waveprotocol/box/webclient/stat/Stat.gwt.xml
@@ -1,3 +1,16 @@
+<!--                                                                        -->
+<!-- Licensed under the Apache License, Version 2.0 (the "License"); you    -->
+<!-- may not use this file except in compliance with the License. You may   -->
+<!-- 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. License for the specific language governing permissions and   -->
+<!-- limitations under the License.                                         -->
+
 <module>
     <source path=""/>
     <source path="org.waveprotocol.box.stat"/>

http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/117cd487/src/org/waveprotocol/wave/client/widget/dialog/Dialog.gwt.xml
----------------------------------------------------------------------
diff --git a/src/org/waveprotocol/wave/client/widget/dialog/Dialog.gwt.xml 
b/src/org/waveprotocol/wave/client/widget/dialog/Dialog.gwt.xml
index 8dbf371..481ec43 100644
--- a/src/org/waveprotocol/wave/client/widget/dialog/Dialog.gwt.xml
+++ b/src/org/waveprotocol/wave/client/widget/dialog/Dialog.gwt.xml
@@ -1,3 +1,16 @@
+<!--                                                                        -->
+<!-- Licensed under the Apache License, Version 2.0 (the "License"); you    -->
+<!-- may not use this file except in compliance with the License. You may   -->
+<!-- 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. License for the specific language governing permissions and   -->
+<!-- limitations under the License.                                         -->
+
 <module>
   <inherits name="com.google.gwt.user.User" />
   <inherits name="org.waveprotocol.wave.client.widget.popup.Popup" />

Reply via email to