You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by fr...@apache.org on 2006/11/07 09:04:22 UTC

svn commit: r472019 - in /incubator/wicket/trunk/wicket/src: main/java/wicket/ajax/ main/java/wicket/markup/html/ main/java/wicket/markup/html/tree/res/ test/java/wicket/legals/ test/java/wicket/util/license/

Author: frankbille
Date: Tue Nov  7 00:04:21 2006
New Revision: 472019

URL: http://svn.apache.org/viewvc?view=rev&rev=472019
Log:
Went through the .js files. Still needs to take a position on wicket-ajax-debug-drag.js

Modified:
    incubator/wicket/trunk/wicket/src/main/java/wicket/ajax/wicket-ajax-debug.js
    incubator/wicket/trunk/wicket/src/main/java/wicket/ajax/wicket-ajax.js
    incubator/wicket/trunk/wicket/src/main/java/wicket/markup/html/cookies.js
    incubator/wicket/trunk/wicket/src/main/java/wicket/markup/html/tree/res/tree.js
    incubator/wicket/trunk/wicket/src/test/java/wicket/legals/ApacheLicenseHeaderTest.java
    incubator/wicket/trunk/wicket/src/test/java/wicket/util/license/ApacheLicenseHeaderTestCase.java

Modified: incubator/wicket/trunk/wicket/src/main/java/wicket/ajax/wicket-ajax-debug.js
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket/src/main/java/wicket/ajax/wicket-ajax-debug.js?view=diff&rev=472019&r1=472018&r2=472019
==============================================================================
--- incubator/wicket/trunk/wicket/src/main/java/wicket/ajax/wicket-ajax-debug.js (original)
+++ incubator/wicket/trunk/wicket/src/main/java/wicket/ajax/wicket-ajax-debug.js Tue Nov  7 00:04:21 2006
@@ -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.
+ */
+
 var WicketAjaxDebug = {
 
 	showResponseText : false,

Modified: incubator/wicket/trunk/wicket/src/main/java/wicket/ajax/wicket-ajax.js
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket/src/main/java/wicket/ajax/wicket-ajax.js?view=diff&rev=472019&r1=472018&r2=472019
==============================================================================
--- incubator/wicket/trunk/wicket/src/main/java/wicket/ajax/wicket-ajax.js (original)
+++ incubator/wicket/trunk/wicket/src/main/java/wicket/ajax/wicket-ajax.js Tue Nov  7 00:04:21 2006
@@ -1,10 +1,26 @@
 /*
+ * 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.
+ */
+ 
+/*
  * Wicket Ajax Support 
- * Licensed under the Apache License, Version 2.0
+ *
  * @author Igor Vaynberg
  * @author Matej Knopp 
  */
-
 var Class = {
 	create: function() {
 		return function() {

Modified: incubator/wicket/trunk/wicket/src/main/java/wicket/markup/html/cookies.js
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket/src/main/java/wicket/markup/html/cookies.js?view=diff&rev=472019&r1=472018&r2=472019
==============================================================================
--- incubator/wicket/trunk/wicket/src/main/java/wicket/markup/html/cookies.js (original)
+++ incubator/wicket/trunk/wicket/src/main/java/wicket/markup/html/cookies.js Tue Nov  7 00:04:21 2006
@@ -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.
+ */
+ 
 // this function gets the cookie, if it exists
 function getWicketCookie( name ) 
 {

Modified: incubator/wicket/trunk/wicket/src/main/java/wicket/markup/html/tree/res/tree.js
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket/src/main/java/wicket/markup/html/tree/res/tree.js?view=diff&rev=472019&r1=472018&r2=472019
==============================================================================
--- incubator/wicket/trunk/wicket/src/main/java/wicket/markup/html/tree/res/tree.js (original)
+++ incubator/wicket/trunk/wicket/src/main/java/wicket/markup/html/tree/res/tree.js Tue Nov  7 00:04:21 2006
@@ -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.
+ */
+
 if (typeof(Wicket) == "undefined")
 	Wicket = { };
 

Modified: incubator/wicket/trunk/wicket/src/test/java/wicket/legals/ApacheLicenseHeaderTest.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket/src/test/java/wicket/legals/ApacheLicenseHeaderTest.java?view=diff&rev=472019&r1=472018&r2=472019
==============================================================================
--- incubator/wicket/trunk/wicket/src/test/java/wicket/legals/ApacheLicenseHeaderTest.java (original)
+++ incubator/wicket/trunk/wicket/src/test/java/wicket/legals/ApacheLicenseHeaderTest.java Tue Nov  7 00:04:21 2006
@@ -32,49 +32,48 @@
 	 */
 	public ApacheLicenseHeaderTest()
 	{
-		cssIgnore = new String[] {
-			"src/test/java/wicket/protocol/http/portlet/style.css",
-			"src/test/java/wicket/ajax/mockStyleSheet3.css",
-			"src/test/java/wicket/markup/parser/filter/style.css",
-			"src/test/java/wicket/markup/parser/filter/test.css",
-			"src/test/java/wicket/markup/parser/filter/sub/cborder.css",
-			"src/test/java/wicket/markup/html/link/test3_de_DE.css",
-			"src/test/java/wicket/markup/html/link/test.css",
-			"src/test/java/wicket/markup/html/link/test2_myStyle.css"
-		};
-		
-		xmlIgnore = new String[] {
-			"EclipseCodeFormat.xml",
-			"src/test/java/wicket/performance/results.xml",
-		};
-		
-		propertiesIgnore = new String[] {
-			"src/test/java/wicket/MyMockPage.properties",
-			"src/test/java/wicket/resource/DummyResources.properties",
-			"src/test/java/wicket/resource/DummyPage.properties",
-			"src/test/java/wicket/resource/DummySubClassPage.properties",
-			"src/test/java/wicket/resource/DummyComponent_zz.properties",
-			"src/test/java/wicket/resource/DummyApplication_zz.properties",
-			"src/test/java/wicket/resource/DummyResources_zz.properties",
-			"src/test/java/wicket/resource/DummyComponent.properties",
-			"src/test/java/wicket/resource/DummyComponent_alt.properties",
-			"src/test/java/wicket/resource/DummyApplication_alt.properties",
-			"src/test/java/wicket/resource/DummyApplication.properties",
-			"src/test/java/wicket/util/tester/apps_1/MyMockApplication_de.properties",
-			"src/test/java/wicket/util/tester/apps_1/MyMockApplication_nl.properties",
-			"src/test/java/wicket/util/tester/apps_1/CreateBook.properties",
-			"src/test/java/wicket/util/tester/apps_1/MyMockApplication.properties",
-			"src/test/java/wicket/util/tester/apps_4/EmailPage.properties",
-			"src/test/java/wicket/markup/html/basic/SimplePage_7.properties",
-			"src/test/java/wicket/model/StringResourceModelTest.properties",
-			"src/test/java/wicket/properties/MyApplication.properties",
-			"src/test/java/wicket/properties/MyApplication_de.properties",
-			"src/test/java/wicket/properties/MyApplication_mystyle_de.properties",
-			"src/test/java/wicket/properties/MyApplication_mystyle.properties",
-			"src/test/java/wicket/properties/TestPage.properties",
-			"src/test/java/wicket/properties/MyTesterApplication.properties",
-			"src/test/java/wicket/properties/TestContainer.properties",
-			"src/test/java/wicket/properties/TestForm.properties",
-		};
+		cssIgnore = new String[] { "src/test/java/wicket/protocol/http/portlet/style.css",
+				"src/test/java/wicket/ajax/mockStyleSheet3.css",
+				"src/test/java/wicket/markup/parser/filter/style.css",
+				"src/test/java/wicket/markup/parser/filter/test.css",
+				"src/test/java/wicket/markup/parser/filter/sub/cborder.css",
+				"src/test/java/wicket/markup/html/link/test3_de_DE.css",
+				"src/test/java/wicket/markup/html/link/test.css",
+				"src/test/java/wicket/markup/html/link/test2_myStyle.css" };
+
+		xmlIgnore = new String[] { "EclipseCodeFormat.xml",
+				"src/test/java/wicket/performance/results.xml" };
+
+		propertiesIgnore = new String[] { "src/test/java/wicket/MyMockPage.properties",
+				"src/test/java/wicket/resource/DummyResources.properties",
+				"src/test/java/wicket/resource/DummyPage.properties",
+				"src/test/java/wicket/resource/DummySubClassPage.properties",
+				"src/test/java/wicket/resource/DummyComponent_zz.properties",
+				"src/test/java/wicket/resource/DummyApplication_zz.properties",
+				"src/test/java/wicket/resource/DummyResources_zz.properties",
+				"src/test/java/wicket/resource/DummyComponent.properties",
+				"src/test/java/wicket/resource/DummyComponent_alt.properties",
+				"src/test/java/wicket/resource/DummyApplication_alt.properties",
+				"src/test/java/wicket/resource/DummyApplication.properties",
+				"src/test/java/wicket/util/tester/apps_1/MyMockApplication_de.properties",
+				"src/test/java/wicket/util/tester/apps_1/MyMockApplication_nl.properties",
+				"src/test/java/wicket/util/tester/apps_1/CreateBook.properties",
+				"src/test/java/wicket/util/tester/apps_1/MyMockApplication.properties",
+				"src/test/java/wicket/util/tester/apps_4/EmailPage.properties",
+				"src/test/java/wicket/markup/html/basic/SimplePage_7.properties",
+				"src/test/java/wicket/model/StringResourceModelTest.properties",
+				"src/test/java/wicket/properties/MyApplication.properties",
+				"src/test/java/wicket/properties/MyApplication_de.properties",
+				"src/test/java/wicket/properties/MyApplication_mystyle_de.properties",
+				"src/test/java/wicket/properties/MyApplication_mystyle.properties",
+				"src/test/java/wicket/properties/TestPage.properties",
+				"src/test/java/wicket/properties/MyTesterApplication.properties",
+				"src/test/java/wicket/properties/TestContainer.properties",
+				"src/test/java/wicket/properties/TestForm.properties" };
+
+		javaScriptIgnore = new String[] { "src/test/java/wicket/markup/parser/filter/test.js",
+				"src/test/java/wicket/markup/html/packaged3.js",
+				"src/test/java/wicket/markup/html/packaged4.js",
+				"src/site/xdoc/onestat.js"};
 	}
 }

Modified: incubator/wicket/trunk/wicket/src/test/java/wicket/util/license/ApacheLicenseHeaderTestCase.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket/src/test/java/wicket/util/license/ApacheLicenseHeaderTestCase.java?view=diff&rev=472019&r1=472018&r2=472019
==============================================================================
--- incubator/wicket/trunk/wicket/src/test/java/wicket/util/license/ApacheLicenseHeaderTestCase.java (original)
+++ incubator/wicket/trunk/wicket/src/test/java/wicket/util/license/ApacheLicenseHeaderTestCase.java Tue Nov  7 00:04:21 2006
@@ -321,7 +321,7 @@
 		{
 			StringBuffer failString = new StringBuffer();
 
-			failString.append("The following files didn't have a correct license header:\n");
+			failString.append("The following files("+files.size()+") didn't have a correct license header:\n");
 
 			for (File file : files)
 			{