You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2015/04/28 09:54:23 UTC

svn commit: r1676425 - in /sling/trunk/contrib/scripting/script-console: pom.xml src/main/resources/res/ui/script-console.css src/main/resources/res/ui/script-console.js

Author: cziegeler
Date: Tue Apr 28 07:54:23 2015
New Revision: 1676425

URL: http://svn.apache.org/r1676425
Log:
Add missing headers and excludes for rat

Modified:
    sling/trunk/contrib/scripting/script-console/pom.xml
    sling/trunk/contrib/scripting/script-console/src/main/resources/res/ui/script-console.css
    sling/trunk/contrib/scripting/script-console/src/main/resources/res/ui/script-console.js

Modified: sling/trunk/contrib/scripting/script-console/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/script-console/pom.xml?rev=1676425&r1=1676424&r2=1676425&view=diff
==============================================================================
--- sling/trunk/contrib/scripting/script-console/pom.xml (original)
+++ sling/trunk/contrib/scripting/script-console/pom.xml Tue Apr 28 07:54:23 2015
@@ -56,9 +56,18 @@
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
                 <extensions>true</extensions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
                 <configuration>
-                    <instructions>
-                    </instructions>
+                    <excludes>
+                        <exclude>src/main/resources/res/ui/codemirror/**</exclude>
+                        <exclude>src/main/resources/res/ui/codemirror/lib/util/runmode.js</exclude>
+                        <exclude>src/main/resources/templates/script-console.html</exclude>
+                        <exclude>src/test/resources/test.groovy</exclude>
+                        <exclude>src/test/resources/test.js</exclude>
+                    </excludes>
                 </configuration>
             </plugin>
         </plugins>

Modified: sling/trunk/contrib/scripting/script-console/src/main/resources/res/ui/script-console.css
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/script-console/src/main/resources/res/ui/script-console.css?rev=1676425&r1=1676424&r2=1676425&view=diff
==============================================================================
--- sling/trunk/contrib/scripting/script-console/src/main/resources/res/ui/script-console.css (original)
+++ sling/trunk/contrib/scripting/script-console/src/main/resources/res/ui/script-console.css Tue Apr 28 07:54:23 2015
@@ -1,3 +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.
+ */
 .CodeMirror {
     /*border-top: 1px solid black;*/
     border-bottom: 1px solid black;

Modified: sling/trunk/contrib/scripting/script-console/src/main/resources/res/ui/script-console.js
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/script-console/src/main/resources/res/ui/script-console.js?rev=1676425&r1=1676424&r2=1676425&view=diff
==============================================================================
--- sling/trunk/contrib/scripting/script-console/src/main/resources/res/ui/script-console.js (original)
+++ sling/trunk/contrib/scripting/script-console/src/main/resources/res/ui/script-console.js Tue Apr 28 07:54:23 2015
@@ -1,3 +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.
+ */
 //Codemirror editor
 var inputEditor
 var outputEditor