Keeping it all in one place was convenient for me during development. I will clean this up.
On Wed, Apr 27, 2016 at 2:02 AM, Ralph Goers <ralph.go...@dslextreme.com> wrote: > You are welcome, but I am curious as to why the shell script and .bat file > are located in the middle of the java class hierarchy and not under > src/test/resources? > > Ralph > > On Apr 26, 2016, at 9:06 AM, Remko Popma <remko.po...@gmail.com> wrote: > > Thank you! > > On Wed, Apr 27, 2016 at 1:04 AM, <rgo...@apache.org> wrote: > >> Repository: logging-log4j2 >> Updated Branches: >> refs/heads/master 6ddc0250c -> 73a678189 >> >> >> Add missing license headers >> >> >> Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo >> Commit: >> http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/73a67818 >> Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/73a67818 >> Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/73a67818 >> >> Branch: refs/heads/master >> Commit: 73a678189cc4950f8b366f9708232a441d019631 >> Parents: 6ddc025 >> Author: Ralph Goers <rgo...@nextiva.com> >> Authored: Tue Apr 26 09:03:37 2016 -0700 >> Committer: Ralph Goers <rgo...@nextiva.com> >> Committed: Tue Apr 26 09:03:57 2016 -0700 >> >> ---------------------------------------------------------------------- >> .../core/layout/LockingStringBuilderEncoder.java | 16 ++++++++++++++++ >> .../log4j/core/layout/StringBuilderEncoder.java | 16 ++++++++++++++++ >> .../log4j/core/async/perftest/SimplePerfTest.bat | 15 +++++++++++++++ >> .../log4j/core/async/perftest/SimplePerfTest.sh | 19 +++++++++++++++++++ >> .../test/appender/EncodingListAppender.java | 16 ++++++++++++++++ >> 5 files changed, 82 insertions(+) >> ---------------------------------------------------------------------- >> >> >> >> http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/73a67818/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/LockingStringBuilderEncoder.java >> ---------------------------------------------------------------------- >> diff --git >> a/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/LockingStringBuilderEncoder.java >> b/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/LockingStringBuilderEncoder.java >> index e6086c9..90ab6db 100644 >> --- >> a/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/LockingStringBuilderEncoder.java >> +++ >> b/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/LockingStringBuilderEncoder.java >> @@ -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. >> + */ >> package org.apache.logging.log4j.core.layout; >> >> import org.apache.logging.log4j.core.util.Constants; >> >> >> http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/73a67818/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/StringBuilderEncoder.java >> ---------------------------------------------------------------------- >> diff --git >> a/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/StringBuilderEncoder.java >> b/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/StringBuilderEncoder.java >> index abb5c96..c068676 100644 >> --- >> a/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/StringBuilderEncoder.java >> +++ >> b/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/StringBuilderEncoder.java >> @@ -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. >> + */ >> package org.apache.logging.log4j.core.layout; >> >> import org.apache.logging.log4j.core.util.Constants; >> >> >> http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/73a67818/log4j-core/src/test/java/org/apache/logging/log4j/core/async/perftest/SimplePerfTest.bat >> ---------------------------------------------------------------------- >> diff --git >> a/log4j-core/src/test/java/org/apache/logging/log4j/core/async/perftest/SimplePerfTest.bat >> b/log4j-core/src/test/java/org/apache/logging/log4j/core/async/perftest/SimplePerfTest.bat >> index 31ef72b..d6ca9ec 100644 >> --- >> a/log4j-core/src/test/java/org/apache/logging/log4j/core/async/perftest/SimplePerfTest.bat >> +++ >> b/log4j-core/src/test/java/org/apache/logging/log4j/core/async/perftest/SimplePerfTest.bat >> @@ -1,4 +1,19 @@ >> @echo off >> +rem Licensed to the Apache Software Foundation (ASF) under one or more >> +rem contributor license agreements. See the NOTICE file distributed with >> +rem this work for additional information regarding copyright ownership. >> +rem The ASF licenses this file to You under the Apache License, Version >> 2.0 >> +rem (the "License"); you may not use this file except in compliance with >> +rem the License. You may obtain a copy of the License at >> +rem >> +rem http://www.apache.org/licenses/LICENSE-2.0 >> +rem >> +rem Unless required by applicable law or agreed to in writing, software >> +rem distributed under the License is distributed on an "AS IS" BASIS, >> +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or >> implied. >> +rem See the License for the specific language governing permissions and >> +rem limitations under the License. >> + >> REM reject if no arg supplied >> IF %1.==. echo Usage: %0 version [core-version] & exit /b >> IF %2.==. set %2=%1 >> >> >> http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/73a67818/log4j-core/src/test/java/org/apache/logging/log4j/core/async/perftest/SimplePerfTest.sh >> ---------------------------------------------------------------------- >> diff --git >> a/log4j-core/src/test/java/org/apache/logging/log4j/core/async/perftest/SimplePerfTest.sh >> b/log4j-core/src/test/java/org/apache/logging/log4j/core/async/perftest/SimplePerfTest.sh >> index 8da9902..e7cbcf2 100755 >> --- >> a/log4j-core/src/test/java/org/apache/logging/log4j/core/async/perftest/SimplePerfTest.sh >> +++ >> b/log4j-core/src/test/java/org/apache/logging/log4j/core/async/perftest/SimplePerfTest.sh >> @@ -1,4 +1,23 @@ >> #!/bin/sh >> +# >> +# >> +# 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 [ $# -eq 0 ]; then >> echo Usage: $0 api-version core-version >> exit 1 >> >> >> http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/73a67818/log4j-core/src/test/java/org/apache/logging/log4j/test/appender/EncodingListAppender.java >> ---------------------------------------------------------------------- >> diff --git >> a/log4j-core/src/test/java/org/apache/logging/log4j/test/appender/EncodingListAppender.java >> b/log4j-core/src/test/java/org/apache/logging/log4j/test/appender/EncodingListAppender.java >> index 2e93a1c..c7c07e5 100644 >> --- >> a/log4j-core/src/test/java/org/apache/logging/log4j/test/appender/EncodingListAppender.java >> +++ >> b/log4j-core/src/test/java/org/apache/logging/log4j/test/appender/EncodingListAppender.java >> @@ -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. >> + */ >> package org.apache.logging.log4j.test.appender; >> >> import org.apache.logging.log4j.core.Filter; >> >> > >