You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by gi...@apache.org on 2018/03/12 18:52:23 UTC

ant git commit: Add license

Repository: ant
Updated Branches:
  refs/heads/master 3d72fd9a5 -> c22be4afb


Add license

Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/c22be4af
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/c22be4af
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/c22be4af

Branch: refs/heads/master
Commit: c22be4afb63d566bdaaf38cb760fb3be2f0fbc30
Parents: 3d72fd9
Author: Gintas Grigelionis <gi...@apache.org>
Authored: Mon Mar 12 19:52:08 2018 +0100
Committer: Gintas Grigelionis <gi...@apache.org>
Committed: Mon Mar 12 19:52:08 2018 +0100

----------------------------------------------------------------------
 src/tutorial/hello-world/01-simple/build.xml      | 18 ++++++++++++++++++
 .../01-simple/src/oata/HelloWorld.java            | 17 +++++++++++++++++
 src/tutorial/hello-world/02-logging/build.xml     | 18 ++++++++++++++++++
 .../02-logging/src/oata/HelloWorld.java           | 17 +++++++++++++++++
 src/tutorial/hello-world/03-testing/build.xml     | 18 ++++++++++++++++++
 .../hello-world/03-testing/src/log4j.properties   | 14 ++++++++++++++
 .../03-testing/src/oata/HelloWorld.java           | 17 +++++++++++++++++
 .../03-testing/src/oata/HelloWorldTest.java       | 17 +++++++++++++++++
 src/tutorial/hello-world/final/build.xml          | 18 ++++++++++++++++++
 .../hello-world/final/src/log4j.properties        | 14 ++++++++++++++
 .../hello-world/final/src/oata/HelloWorld.java    | 17 +++++++++++++++++
 .../final/src/oata/HelloWorldTest.java            | 17 +++++++++++++++++
 12 files changed, 202 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/c22be4af/src/tutorial/hello-world/01-simple/build.xml
----------------------------------------------------------------------
diff --git a/src/tutorial/hello-world/01-simple/build.xml b/src/tutorial/hello-world/01-simple/build.xml
index 2da99b0..cbb0b08 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"/>

http://git-wip-us.apache.org/repos/asf/ant/blob/c22be4af/src/tutorial/hello-world/01-simple/src/oata/HelloWorld.java
----------------------------------------------------------------------
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 b2e7230..065967a 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 {

http://git-wip-us.apache.org/repos/asf/ant/blob/c22be4af/src/tutorial/hello-world/02-logging/build.xml
----------------------------------------------------------------------
diff --git a/src/tutorial/hello-world/02-logging/build.xml b/src/tutorial/hello-world/02-logging/build.xml
index 8206cc8..0bdf6a7 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"/>

http://git-wip-us.apache.org/repos/asf/ant/blob/c22be4af/src/tutorial/hello-world/02-logging/src/oata/HelloWorld.java
----------------------------------------------------------------------
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 751dcc9..09c9291 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;

http://git-wip-us.apache.org/repos/asf/ant/blob/c22be4af/src/tutorial/hello-world/03-testing/build.xml
----------------------------------------------------------------------
diff --git a/src/tutorial/hello-world/03-testing/build.xml b/src/tutorial/hello-world/03-testing/build.xml
index 9ebe9ba..8c697e8 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"/>

http://git-wip-us.apache.org/repos/asf/ant/blob/c22be4af/src/tutorial/hello-world/03-testing/src/log4j.properties
----------------------------------------------------------------------
diff --git a/src/tutorial/hello-world/03-testing/src/log4j.properties b/src/tutorial/hello-world/03-testing/src/log4j.properties
index 111e080..2da38dd 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

http://git-wip-us.apache.org/repos/asf/ant/blob/c22be4af/src/tutorial/hello-world/03-testing/src/oata/HelloWorld.java
----------------------------------------------------------------------
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 73c3229..cc48ca7 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;

http://git-wip-us.apache.org/repos/asf/ant/blob/c22be4af/src/tutorial/hello-world/03-testing/src/oata/HelloWorldTest.java
----------------------------------------------------------------------
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 d08244f..dbb9b38 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;

http://git-wip-us.apache.org/repos/asf/ant/blob/c22be4af/src/tutorial/hello-world/final/build.xml
----------------------------------------------------------------------
diff --git a/src/tutorial/hello-world/final/build.xml b/src/tutorial/hello-world/final/build.xml
index d2f25fb..88dcd0e 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"/>

http://git-wip-us.apache.org/repos/asf/ant/blob/c22be4af/src/tutorial/hello-world/final/src/log4j.properties
----------------------------------------------------------------------
diff --git a/src/tutorial/hello-world/final/src/log4j.properties b/src/tutorial/hello-world/final/src/log4j.properties
index 111e080..2da38dd 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

http://git-wip-us.apache.org/repos/asf/ant/blob/c22be4af/src/tutorial/hello-world/final/src/oata/HelloWorld.java
----------------------------------------------------------------------
diff --git a/src/tutorial/hello-world/final/src/oata/HelloWorld.java b/src/tutorial/hello-world/final/src/oata/HelloWorld.java
index 73c3229..cc48ca7 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;

http://git-wip-us.apache.org/repos/asf/ant/blob/c22be4af/src/tutorial/hello-world/final/src/oata/HelloWorldTest.java
----------------------------------------------------------------------
diff --git a/src/tutorial/hello-world/final/src/oata/HelloWorldTest.java b/src/tutorial/hello-world/final/src/oata/HelloWorldTest.java
index d08244f..dbb9b38 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;