diff options
author | Gintas Grigelionis <gintas@apache.org> | 2018-03-12 19:52:08 +0100 |
---|---|---|
committer | Gintas Grigelionis <gintas@apache.org> | 2018-03-12 19:52:08 +0100 |
commit | c22be4afb63d566bdaaf38cb760fb3be2f0fbc30 (patch) | |
tree | a670d42555c64ea2e53d5099fa1df56f7db24f03 /src/tutorial | |
parent | 3d72fd9a506f1ff8297fb001454b3b44c3de5257 (diff) | |
download | ant-c22be4afb63d566bdaaf38cb760fb3be2f0fbc30.tar.gz |
Add license
Diffstat (limited to 'src/tutorial')
12 files changed, 202 insertions, 0 deletions
diff --git a/src/tutorial/hello-world/01-simple/build.xml b/src/tutorial/hello-world/01-simple/build.xml index 2da99b083..cbb0b08bb 100644 --- a/src/tutorial/hello-world/01-simple/build.xml +++ b/src/tutorial/hello-world/01-simple/build.xml @@ -1,3 +1,21 @@ +<?xml version="1.0"?> + +<!-- + 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. +--> <project name="HelloWorld" basedir="." default="main"> <property name="src.dir" value="src"/> diff --git a/src/tutorial/hello-world/01-simple/src/oata/HelloWorld.java b/src/tutorial/hello-world/01-simple/src/oata/HelloWorld.java index b2e723090..065967abf 100644 --- a/src/tutorial/hello-world/01-simple/src/oata/HelloWorld.java +++ b/src/tutorial/hello-world/01-simple/src/oata/HelloWorld.java @@ -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. + * + */ package oata; public class HelloWorld { diff --git a/src/tutorial/hello-world/02-logging/build.xml b/src/tutorial/hello-world/02-logging/build.xml index 8206cc81e..0bdf6a7b0 100644 --- a/src/tutorial/hello-world/02-logging/build.xml +++ b/src/tutorial/hello-world/02-logging/build.xml @@ -1,3 +1,21 @@ +<?xml version="1.0"?> + +<!-- + 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. +--> <project name="HelloWorld" basedir="." default="main"> <property name="src.dir" value="src"/> diff --git a/src/tutorial/hello-world/02-logging/src/oata/HelloWorld.java b/src/tutorial/hello-world/02-logging/src/oata/HelloWorld.java index 751dcc9bc..09c92915e 100644 --- a/src/tutorial/hello-world/02-logging/src/oata/HelloWorld.java +++ b/src/tutorial/hello-world/02-logging/src/oata/HelloWorld.java @@ -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. + * + */ package oata; import org.apache.log4j.Logger; diff --git a/src/tutorial/hello-world/03-testing/build.xml b/src/tutorial/hello-world/03-testing/build.xml index 9ebe9ba9b..8c697e81c 100644 --- a/src/tutorial/hello-world/03-testing/build.xml +++ b/src/tutorial/hello-world/03-testing/build.xml @@ -1,3 +1,21 @@ +<?xml version="1.0"?> + +<!-- + 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. +--> <project name="HelloWorld" basedir="." default="main"> <property name="src.dir" value="src"/> diff --git a/src/tutorial/hello-world/03-testing/src/log4j.properties b/src/tutorial/hello-world/03-testing/src/log4j.properties index 111e080de..2da38dd18 100644 --- a/src/tutorial/hello-world/03-testing/src/log4j.properties +++ b/src/tutorial/hello-world/03-testing/src/log4j.properties @@ -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. log4j.rootLogger=DEBUG, stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender diff --git a/src/tutorial/hello-world/03-testing/src/oata/HelloWorld.java b/src/tutorial/hello-world/03-testing/src/oata/HelloWorld.java index 73c32293d..cc48ca75f 100644 --- a/src/tutorial/hello-world/03-testing/src/oata/HelloWorld.java +++ b/src/tutorial/hello-world/03-testing/src/oata/HelloWorld.java @@ -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. + * + */ package oata; import org.apache.log4j.Logger; diff --git a/src/tutorial/hello-world/03-testing/src/oata/HelloWorldTest.java b/src/tutorial/hello-world/03-testing/src/oata/HelloWorldTest.java index d08244fca..dbb9b3876 100644 --- a/src/tutorial/hello-world/03-testing/src/oata/HelloWorldTest.java +++ b/src/tutorial/hello-world/03-testing/src/oata/HelloWorldTest.java @@ -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. + * + */ package oata; import org.junit.Test; diff --git a/src/tutorial/hello-world/final/build.xml b/src/tutorial/hello-world/final/build.xml index d2f25fb26..88dcd0e88 100644 --- a/src/tutorial/hello-world/final/build.xml +++ b/src/tutorial/hello-world/final/build.xml @@ -1,3 +1,21 @@ +<?xml version="1.0"?> + +<!-- + 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. +--> <project name="HelloWorld" basedir="." default="main"> <property name="src.dir" value="src"/> diff --git a/src/tutorial/hello-world/final/src/log4j.properties b/src/tutorial/hello-world/final/src/log4j.properties index 111e080de..2da38dd18 100644 --- a/src/tutorial/hello-world/final/src/log4j.properties +++ b/src/tutorial/hello-world/final/src/log4j.properties @@ -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. log4j.rootLogger=DEBUG, stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender diff --git a/src/tutorial/hello-world/final/src/oata/HelloWorld.java b/src/tutorial/hello-world/final/src/oata/HelloWorld.java index 73c32293d..cc48ca75f 100644 --- a/src/tutorial/hello-world/final/src/oata/HelloWorld.java +++ b/src/tutorial/hello-world/final/src/oata/HelloWorld.java @@ -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. + * + */ package oata; import org.apache.log4j.Logger; diff --git a/src/tutorial/hello-world/final/src/oata/HelloWorldTest.java b/src/tutorial/hello-world/final/src/oata/HelloWorldTest.java index d08244fca..dbb9b3876 100644 --- a/src/tutorial/hello-world/final/src/oata/HelloWorldTest.java +++ b/src/tutorial/hello-world/final/src/oata/HelloWorldTest.java @@ -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. + * + */ package oata; import org.junit.Test; |