You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@reef.apache.org by we...@apache.org on 2015/02/12 23:57:58 UTC

incubator-reef git commit: [REEF-138] Excludes for Apache-RAT for the new .NET project structure

Repository: incubator-reef
Updated Branches:
  refs/heads/master e853d5562 -> afccba2c0


[REEF-138] Excludes for Apache-RAT for the new .NET project structure

  This updates the Exclude structire for the new folder structure:

    * Updated excludes in root POM
    * Removed excludes in lang/cpp/reef-bridge-clr/pom.xml
    * Added license header to
      lang/cs/Org.Apache.REEF.Evaluator/NugetExeFix.txt

JIRA:
  [REEF-138] https://issues.apache.org/jira/browse/REEF-138

Pull Request:
  This closes #77


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

Branch: refs/heads/master
Commit: afccba2c0314e40e96c476f7fb9ad0b9d04a20bd
Parents: e853d55
Author: Julia Wang <jw...@yahoo.com>
Authored: Tue Feb 10 22:17:23 2015 -0800
Committer: Markus Weimer <we...@apache.org>
Committed: Thu Feb 12 14:52:18 2015 -0800

----------------------------------------------------------------------
 lang/cpp/reef-bridge-clr/pom.xml                 | 18 ------------------
 .../cs/Org.Apache.REEF.Evaluator/NugetExeFix.txt | 18 ++++++++++++++++++
 pom.xml                                          | 19 +++++++++++--------
 3 files changed, 29 insertions(+), 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/afccba2c/lang/cpp/reef-bridge-clr/pom.xml
----------------------------------------------------------------------
diff --git a/lang/cpp/reef-bridge-clr/pom.xml b/lang/cpp/reef-bridge-clr/pom.xml
index 6e1e987..c66d11d 100644
--- a/lang/cpp/reef-bridge-clr/pom.xml
+++ b/lang/cpp/reef-bridge-clr/pom.xml
@@ -75,24 +75,6 @@ under the License.
         </dependency>
     </dependencies>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.rat</groupId>
-                <artifactId>apache-rat-plugin</artifactId>
-                <configuration>
-                    <excludes>
-                        <!-- Build files are frequently overwritten by Visual Studio -->
-                        <exclude>src/main/Cpp/CppBridge/JavaClrBridge/JavaClrBridge.sln</exclude>
-                        <exclude>src/main/Cpp/CppBridge/JavaClrBridge/JavaClrBridge.vcxproj</exclude>
-                        <exclude>src/main/Cpp/CppBridge/JavaClrBridge/JavaClrBridge.vcxproj.filters</exclude>
-                        <exclude>src/main/CSharp/CSharp/ClrHandler/ClrHandler.csproj</exclude>
-                        <!--End of Visual Studio build files-->
-                    </excludes>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
     <profiles>
         <profile>
             <id>Bridge</id>

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/afccba2c/lang/cs/Org.Apache.REEF.Evaluator/NugetExeFix.txt
----------------------------------------------------------------------
diff --git a/lang/cs/Org.Apache.REEF.Evaluator/NugetExeFix.txt b/lang/cs/Org.Apache.REEF.Evaluator/NugetExeFix.txt
index 5d79031..3f3e205 100644
--- a/lang/cs/Org.Apache.REEF.Evaluator/NugetExeFix.txt
+++ b/lang/cs/Org.Apache.REEF.Evaluator/NugetExeFix.txt
@@ -1 +1,19 @@
+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.
+
+
 Nuget hack, don't delete this

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/afccba2c/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 19c9090..86cd8ca 100644
--- a/pom.xml
+++ b/pom.xml
@@ -239,27 +239,30 @@ under the License.
                             <exclude>lang/java/.idea/**</exclude>                            
                             <exclude>**/*.iml</exclude>
                             <exclude>**/target/**</exclude>
-			    <exclude>**/README.*</exclude>
+			                      <exclude>**/README.*</exclude>
                             <!-- The below are sometimes created during tests -->
                             <exclude>REEF_LOCAL_RUNTIME/**</exclude>
                             <!-- The Visual Studio build files -->
-                            <exclude>*.sln</exclude>
-                            <exclude>**/*.csproj.user</exclude>
+                            <exclude>**/*.sln*</exclude>
+                            <exclude>**/*.vcxproj*</exclude>
+                            <exclude>**/*.csproj*</exclude>
                             <!-- The below are auto generated during the .Net build -->                            
                             <exclude>**/bin/**</exclude>
                             <exclude>**/obj/**</exclude>
                             <exclude>**/Release/**</exclude>
                             <exclude>**/Debug/**</exclude>
                             <exclude>**/TestResults/**</exclude>
+                            <exclude>**/x64/**</exclude>
+                            
                             <!-- NuGet dependencies downloaded as part of the build -->
                             <exclude>**/packages/**</exclude>
                             <!-- The below are auto generated files for serialization -->
-                            <exclude>**/Org.Apache.REEF.Common/protobuf/cs/*</exclude>
-                            <exclude>**/Org.Apache.REEF.Common/avro/*</exclude>
+                            <exclude>Org.Apache.REEF.Common/Protobuf/ReefProtocol/*</exclude>
+                            <exclude>Org.Apache.REEF.Common/Avro/*</exclude>
                             <!-- The below are binary data files used in tests -->
-                            <exclude>**/ConfigFiles/evaluator.conf</exclude>
-                            <exclude>**/TangTests/evaluator.conf</exclude>
-                            <exclude>**/TangTests/simpleConstructorJavaProto.bin</exclude>
+                            <exclude>Org.Apache.REEF.Tests/ConfigFiles/evaluator.conf</exclude>
+                            <exclude>Org.Apache.REEF.Tang.Tests/evaluator.conf</exclude>
+                            <exclude>Org.Apache.REEF.Tang.Tests/simpleConstructorJavaProto.bin</exclude>
                         </excludes>
                     </configuration>
                 </plugin>