Repository: vxquery Updated Branches: refs/heads/master 0d1655891 -> d46f5174f
add license headers and update rat version Project: http://git-wip-us.apache.org/repos/asf/vxquery/repo Commit: http://git-wip-us.apache.org/repos/asf/vxquery/commit/bb4d2452 Tree: http://git-wip-us.apache.org/repos/asf/vxquery/tree/bb4d2452 Diff: http://git-wip-us.apache.org/repos/asf/vxquery/diff/bb4d2452 Branch: refs/heads/master Commit: bb4d245240461359fa68f9d1676b537066dd40de Parents: 0d16558 Author: Till Westmann <[email protected]> Authored: Sun Aug 31 21:52:32 2014 -0700 Committer: Till Westmann <[email protected]> Committed: Sun Aug 31 21:52:32 2014 -0700 ---------------------------------------------------------------------- pom.xml | 3 ++- vxquery-cli/pom.xml | 2 +- vxquery-core/pom.xml | 2 +- .../xmlquery/translator/VXQueryPositionWriter.java | 14 ++++++++++++++ vxquery-xtest/pom.xml | 2 +- .../vxquery/xtest/AbstractTestCaseFactory.java | 14 ++++++++++++++ .../apache/vxquery/xtest/util/tests/IDiskTest.java | 14 ++++++++++++++ .../src/main/resources/scripts/clear_file_cache.sh | 15 +++++++++++++++ .../src/main/resources/scripts/run_thread_test.sh | 16 +++++++++++++++- 9 files changed, 77 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/vxquery/blob/bb4d2452/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index ed391b6..cc5e435 100644 --- a/pom.xml +++ b/pom.xml @@ -506,7 +506,7 @@ <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> - <version>0.7</version> + <version>${apache-rat-plugin.version}</version> <configuration> <excludes> <exclude>.gitignore</exclude> @@ -532,6 +532,7 @@ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <hyracks.version>0.2.12</hyracks.version> + <apache-rat-plugin.version>0.11</apache-rat-plugin.version> </properties> <modules> http://git-wip-us.apache.org/repos/asf/vxquery/blob/bb4d2452/vxquery-cli/pom.xml ---------------------------------------------------------------------- diff --git a/vxquery-cli/pom.xml b/vxquery-cli/pom.xml index aba8df3..84787ef 100644 --- a/vxquery-cli/pom.xml +++ b/vxquery-cli/pom.xml @@ -149,7 +149,7 @@ <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> - <version>0.7</version> + <version>${apache-rat-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> http://git-wip-us.apache.org/repos/asf/vxquery/blob/bb4d2452/vxquery-core/pom.xml ---------------------------------------------------------------------- diff --git a/vxquery-core/pom.xml b/vxquery-core/pom.xml index f9b9926..3634332 100644 --- a/vxquery-core/pom.xml +++ b/vxquery-core/pom.xml @@ -304,7 +304,7 @@ <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> - <version>0.7</version> + <version>${apache-rat-plugin.version}</version> <configuration> <excludes> <exclude>testsuites/**/*</exclude> http://git-wip-us.apache.org/repos/asf/vxquery/blob/bb4d2452/vxquery-core/src/main/java/org/apache/vxquery/xmlquery/translator/VXQueryPositionWriter.java ---------------------------------------------------------------------- diff --git a/vxquery-core/src/main/java/org/apache/vxquery/xmlquery/translator/VXQueryPositionWriter.java b/vxquery-core/src/main/java/org/apache/vxquery/xmlquery/translator/VXQueryPositionWriter.java index 2e74a56..f8a3c65 100644 --- a/vxquery-core/src/main/java/org/apache/vxquery/xmlquery/translator/VXQueryPositionWriter.java +++ b/vxquery-core/src/main/java/org/apache/vxquery/xmlquery/translator/VXQueryPositionWriter.java @@ -1,3 +1,17 @@ +/* + * 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. + */ package org.apache.vxquery.xmlquery.translator; import java.io.DataOutput; http://git-wip-us.apache.org/repos/asf/vxquery/blob/bb4d2452/vxquery-xtest/pom.xml ---------------------------------------------------------------------- diff --git a/vxquery-xtest/pom.xml b/vxquery-xtest/pom.xml index 762aa0b..37eb135 100644 --- a/vxquery-xtest/pom.xml +++ b/vxquery-xtest/pom.xml @@ -172,7 +172,7 @@ <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> - <version>0.7</version> + <version>${apache-rat-plugin.version}</version> <configuration> <excludes> <exclude>**/ExpectedTestResults/**/*</exclude> http://git-wip-us.apache.org/repos/asf/vxquery/blob/bb4d2452/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/AbstractTestCaseFactory.java ---------------------------------------------------------------------- diff --git a/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/AbstractTestCaseFactory.java b/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/AbstractTestCaseFactory.java index 4d8f0fb..77400e9 100644 --- a/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/AbstractTestCaseFactory.java +++ b/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/AbstractTestCaseFactory.java @@ -1,3 +1,17 @@ +/* + * 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. + */ package org.apache.vxquery.xtest; import java.io.File; http://git-wip-us.apache.org/repos/asf/vxquery/blob/bb4d2452/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/util/tests/IDiskTest.java ---------------------------------------------------------------------- diff --git a/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/util/tests/IDiskTest.java b/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/util/tests/IDiskTest.java index 4c56710..581d783 100644 --- a/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/util/tests/IDiskTest.java +++ b/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/util/tests/IDiskTest.java @@ -1,3 +1,17 @@ +/* + * 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. + */ package org.apache.vxquery.xtest.util.tests; import java.io.File; http://git-wip-us.apache.org/repos/asf/vxquery/blob/bb4d2452/vxquery-xtest/src/main/resources/scripts/clear_file_cache.sh ---------------------------------------------------------------------- diff --git a/vxquery-xtest/src/main/resources/scripts/clear_file_cache.sh b/vxquery-xtest/src/main/resources/scripts/clear_file_cache.sh old mode 100644 new mode 100755 index b5ef375..22701a3 --- a/vxquery-xtest/src/main/resources/scripts/clear_file_cache.sh +++ b/vxquery-xtest/src/main/resources/scripts/clear_file_cache.sh @@ -1,4 +1,19 @@ #!/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. BYTE_COUNT=2000000 # loop over the files. http://git-wip-us.apache.org/repos/asf/vxquery/blob/bb4d2452/vxquery-xtest/src/main/resources/scripts/run_thread_test.sh ---------------------------------------------------------------------- diff --git a/vxquery-xtest/src/main/resources/scripts/run_thread_test.sh b/vxquery-xtest/src/main/resources/scripts/run_thread_test.sh old mode 100644 new mode 100755 index 30e197c..1a51865 --- a/vxquery-xtest/src/main/resources/scripts/run_thread_test.sh +++ b/vxquery-xtest/src/main/resources/scripts/run_thread_test.sh @@ -1,5 +1,19 @@ #!/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. if [ -z "${1}" ] then
