From 4caa6ab0c3dec293533e797c134efc667cd1b477 Mon Sep 17 00:00:00 2001
From: Daniel Stonier <d.stonier@gmail.com>
Date: Wed, 23 Oct 2013 01:41:43 +0900
Subject: [PATCH] reintroduce the license.

---
 CMakeLists.txt                                    |  5 +++++
 LICENSE                                           | 15 +++++++++++++++
 src/rosjava_build_tools/__init__.py               |  4 ----
 src/rosjava_build_tools/console.py                |  4 ----
 src/rosjava_build_tools/create_android_project.py |  4 ----
 src/rosjava_build_tools/create_package.py         |  4 ----
 src/rosjava_build_tools/create_rosjava_project.py |  4 ----
 src/rosjava_build_tools/release.py                |  6 +-----
 src/rosjava_build_tools/utils.py                  |  4 ----
 9 files changed, 21 insertions(+), 29 deletions(-)
 create mode 100644 LICENSE

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 876004b..d980370 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,3 +37,8 @@ install(
     DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
     )
 
+install(
+    FILES LICENSE
+    DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
+    )
+
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..34f8826
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,15 @@
+/*
+ * Copyright (C) 2013 Yujin Robot.
+ * 
+ * Licensed 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.
+ */
diff --git a/src/rosjava_build_tools/__init__.py b/src/rosjava_build_tools/__init__.py
index cabbaa2..1b91276 100644
--- a/src/rosjava_build_tools/__init__.py
+++ b/src/rosjava_build_tools/__init__.py
@@ -1,8 +1,4 @@
 #!/usr/bin/env python
-#
-# License: Apache 2.0
-#   https://raw.github.com/rosjava/rosjava_build_tools/license/LICENSE
-#
 
 ##############################################################################
 # Imports
diff --git a/src/rosjava_build_tools/console.py b/src/rosjava_build_tools/console.py
index cd6b93c..7589334 100644
--- a/src/rosjava_build_tools/console.py
+++ b/src/rosjava_build_tools/console.py
@@ -1,8 +1,4 @@
 #!/usr/bin/env python
-#
-# License: Apache 2.0
-#   https://raw.github.com/rosjava/rosjava_build_tools/license/LICENSE
-#
 
 ##############################################################################
 # Imports
diff --git a/src/rosjava_build_tools/create_android_project.py b/src/rosjava_build_tools/create_android_project.py
index de1f1a1..411803f 100644
--- a/src/rosjava_build_tools/create_android_project.py
+++ b/src/rosjava_build_tools/create_android_project.py
@@ -1,8 +1,4 @@
 #!/usr/bin/env python
-#
-# License: Apache 2.0
-#   https://raw.github.com/rosjava/rosjava_build_tools/license/LICENSE
-#
 
 ##############################################################################
 # Imports
diff --git a/src/rosjava_build_tools/create_package.py b/src/rosjava_build_tools/create_package.py
index a93a34a..42cea2c 100644
--- a/src/rosjava_build_tools/create_package.py
+++ b/src/rosjava_build_tools/create_package.py
@@ -1,8 +1,4 @@
 #!/usr/bin/env python
-#
-# License: Apache 2.0
-#   https://raw.github.com/rosjava/rosjava_build_tools/license/LICENSE
-#
 
 ##############################################################################
 # Imports
diff --git a/src/rosjava_build_tools/create_rosjava_project.py b/src/rosjava_build_tools/create_rosjava_project.py
index 0a0abd3..3acd167 100644
--- a/src/rosjava_build_tools/create_rosjava_project.py
+++ b/src/rosjava_build_tools/create_rosjava_project.py
@@ -1,8 +1,4 @@
 #!/usr/bin/env python
-#
-# License: Apache 2.0
-#   https://raw.github.com/rosjava/rosjava_build_tools/license/LICENSE
-#
 
 ##############################################################################
 # Imports
diff --git a/src/rosjava_build_tools/release.py b/src/rosjava_build_tools/release.py
index 7f6bca3..f0778dd 100644
--- a/src/rosjava_build_tools/release.py
+++ b/src/rosjava_build_tools/release.py
@@ -1,8 +1,4 @@
 #!/usr/bin/env python
-#
-# License: Apache 2.0
-#   https://raw.github.com/rosjava/rosjava_build_tools/license/LICENSE
-#
 
 ##############################################################################
 # Imports
@@ -34,4 +30,4 @@ def scrape_for_release_message_packages(track):
                 version = value['version'].split('/')[-1].split('-')[0]
                 pkg = {'name': name, 'version': version}
                 packages.append(pkg)
-    return packages
\ No newline at end of file
+    return packages
diff --git a/src/rosjava_build_tools/utils.py b/src/rosjava_build_tools/utils.py
index 410621f..92a35ff 100644
--- a/src/rosjava_build_tools/utils.py
+++ b/src/rosjava_build_tools/utils.py
@@ -1,8 +1,4 @@
 #!/usr/bin/env python
-#
-# License: Apache 2.0
-#   https://raw.github.com/rosjava/rosjava_build_tools/license/LICENSE
-#
 
 ##############################################################################
 # Imports
-- 
GitLab