incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [9/17] git commit: Changing license header to Apache for blur-gui.
Date Mon, 03 Sep 2012 02:25:02 GMT
Changing license header to Apache for blur-gui.


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

Branch: refs/heads/master
Commit: e42b88f5155e788904108d676c93f04a647988a1
Parents: 56fb3c9
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Sun Sep 2 22:00:33 2012 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Sun Sep 2 22:00:33 2012 -0400

----------------------------------------------------------------------
 src/blur-gui/pom.xml                               |   19 +++++++++++++
 .../com/nearinfinity/blur/gui/HttpJettyServer.java |   22 ++++++++++++---
 .../java/com/nearinfinity/blur/gui/LogServlet.java |   16 +++++++++++
 .../com/nearinfinity/blur/gui/MetricsServlet.java  |   16 +++++++++++
 src/blur-gui/src/main/webapp/footer.jsp            |   19 +++++++++++++
 src/blur-gui/src/main/webapp/functions.jsp         |   20 +++++++++++++-
 src/blur-gui/src/main/webapp/home.jsp              |   19 +++++++++++++
 src/blur-gui/src/main/webapp/metrics.jsp           |   19 +++++++++++++
 src/blur-gui/src/main/webapp/shardList.jsp         |   19 +++++++++++++
 src/blur-gui/src/main/webapp/table.jsp             |   19 +++++++++++++
 10 files changed, 183 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/e42b88f5/src/blur-gui/pom.xml
----------------------------------------------------------------------
diff --git a/src/blur-gui/pom.xml b/src/blur-gui/pom.xml
index a5c9904..1b514ce 100644
--- a/src/blur-gui/pom.xml
+++ b/src/blur-gui/pom.xml
@@ -1,3 +1,22 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 	<parent>

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/e42b88f5/src/blur-gui/src/main/java/com/nearinfinity/blur/gui/HttpJettyServer.java
----------------------------------------------------------------------
diff --git a/src/blur-gui/src/main/java/com/nearinfinity/blur/gui/HttpJettyServer.java b/src/blur-gui/src/main/java/com/nearinfinity/blur/gui/HttpJettyServer.java
index d60b434..da71982 100644
--- a/src/blur-gui/src/main/java/com/nearinfinity/blur/gui/HttpJettyServer.java
+++ b/src/blur-gui/src/main/java/com/nearinfinity/blur/gui/HttpJettyServer.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.gui;
 
+/**
+ * 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.
+ */
 import java.io.File;
 import java.io.IOException;
 import java.util.Properties;
@@ -13,9 +29,7 @@ import com.nearinfinity.blur.log.LogFactory;
 import com.nearinfinity.blur.metrics.BlurMetrics;
 
 /**
- * Starts up a Jetty server to run the utility gui
- * 
- * @author gman
+ * Starts up a Jetty server to run the utility gui.
  * 
  */
 public class HttpJettyServer {
@@ -103,7 +117,7 @@ public class HttpJettyServer {
     int indexOfJar = pathToClassResource.indexOf(".jar");
     if (indexOfJar < 0) {
       int index = pathToClassResource.indexOf(name);
-      String pathToClasses = pathToClassResource.substring(0,index);
+      String pathToClasses = pathToClassResource.substring(0, index);
       int indexOfProjectName = pathToClasses.indexOf("/blur-gui/");
       return pathToClasses.substring(0, indexOfProjectName) + "/blur-gui/src/main/webapp";
     }

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/e42b88f5/src/blur-gui/src/main/java/com/nearinfinity/blur/gui/LogServlet.java
----------------------------------------------------------------------
diff --git a/src/blur-gui/src/main/java/com/nearinfinity/blur/gui/LogServlet.java b/src/blur-gui/src/main/java/com/nearinfinity/blur/gui/LogServlet.java
index 6fec8cc..83f0084 100644
--- a/src/blur-gui/src/main/java/com/nearinfinity/blur/gui/LogServlet.java
+++ b/src/blur-gui/src/main/java/com/nearinfinity/blur/gui/LogServlet.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.gui;
 
+/**
+ * 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.
+ */
 import java.io.File;
 import java.io.IOException;
 import java.io.PrintWriter;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/e42b88f5/src/blur-gui/src/main/java/com/nearinfinity/blur/gui/MetricsServlet.java
----------------------------------------------------------------------
diff --git a/src/blur-gui/src/main/java/com/nearinfinity/blur/gui/MetricsServlet.java b/src/blur-gui/src/main/java/com/nearinfinity/blur/gui/MetricsServlet.java
index e8deae9..7940aa3 100644
--- a/src/blur-gui/src/main/java/com/nearinfinity/blur/gui/MetricsServlet.java
+++ b/src/blur-gui/src/main/java/com/nearinfinity/blur/gui/MetricsServlet.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.gui;
 
+/**
+ * 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.
+ */
 import java.io.IOException;
 import java.io.PrintWriter;
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/e42b88f5/src/blur-gui/src/main/webapp/footer.jsp
----------------------------------------------------------------------
diff --git a/src/blur-gui/src/main/webapp/footer.jsp b/src/blur-gui/src/main/webapp/footer.jsp
index b4c3f8a..dd36b6c 100644
--- a/src/blur-gui/src/main/webapp/footer.jsp
+++ b/src/blur-gui/src/main/webapp/footer.jsp
@@ -1,2 +1,21 @@
+<%
+/*
+ * 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.
+ */
+%>
 	<br/>
 	<a href="index.html">home</a> | <a href="logs">logs</a> | <a
href="metrics.jsp">metrics</a> <a href="metrics" title="Great with plugins like
jsonView">(raw)</a>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/e42b88f5/src/blur-gui/src/main/webapp/functions.jsp
----------------------------------------------------------------------
diff --git a/src/blur-gui/src/main/webapp/functions.jsp b/src/blur-gui/src/main/webapp/functions.jsp
index 9e5d82b..72e19c8 100644
--- a/src/blur-gui/src/main/webapp/functions.jsp
+++ b/src/blur-gui/src/main/webapp/functions.jsp
@@ -1,4 +1,22 @@
-
+<%
+/*
+ * 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.
+ */
+%>
 <%!public String row(String... col) {
 		String ret = "<tr>";
 		for (String c : col)

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/e42b88f5/src/blur-gui/src/main/webapp/home.jsp
----------------------------------------------------------------------
diff --git a/src/blur-gui/src/main/webapp/home.jsp b/src/blur-gui/src/main/webapp/home.jsp
index 6d47063..c130486 100644
--- a/src/blur-gui/src/main/webapp/home.jsp
+++ b/src/blur-gui/src/main/webapp/home.jsp
@@ -1,3 +1,22 @@
+<%
+/*
+ * 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.
+ */
+%>
 <%@ page contentType="text/html; charset=UTF-8" isThreadSafe="false"
 	import="javax.servlet.*" import="javax.servlet.http.*"
 	import="java.io.*" import="java.util.*" import="java.text.DateFormat"

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/e42b88f5/src/blur-gui/src/main/webapp/metrics.jsp
----------------------------------------------------------------------
diff --git a/src/blur-gui/src/main/webapp/metrics.jsp b/src/blur-gui/src/main/webapp/metrics.jsp
index 73d95b6..6446786 100644
--- a/src/blur-gui/src/main/webapp/metrics.jsp
+++ b/src/blur-gui/src/main/webapp/metrics.jsp
@@ -1,3 +1,22 @@
+<%
+/*
+ * 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.
+ */
+%>
 <%@page import="java.text.DecimalFormat"%>
 <%@page import="java.text.NumberFormat"%>
 <%@ page contentType="text/html; charset=UTF-8" isThreadSafe="false"

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/e42b88f5/src/blur-gui/src/main/webapp/shardList.jsp
----------------------------------------------------------------------
diff --git a/src/blur-gui/src/main/webapp/shardList.jsp b/src/blur-gui/src/main/webapp/shardList.jsp
index 5bab8ce..3819075 100644
--- a/src/blur-gui/src/main/webapp/shardList.jsp
+++ b/src/blur-gui/src/main/webapp/shardList.jsp
@@ -1,3 +1,22 @@
+<%
+/*
+ * 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.
+ */
+%>
 <%@ page contentType="text/html; charset=UTF-8" isThreadSafe="false"
 	import="javax.servlet.*" import="javax.servlet.http.*"
 	import="java.io.*" import="java.util.*" import="java.text.DateFormat"

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/e42b88f5/src/blur-gui/src/main/webapp/table.jsp
----------------------------------------------------------------------
diff --git a/src/blur-gui/src/main/webapp/table.jsp b/src/blur-gui/src/main/webapp/table.jsp
index a8adbef..a04dfcf 100644
--- a/src/blur-gui/src/main/webapp/table.jsp
+++ b/src/blur-gui/src/main/webapp/table.jsp
@@ -1,3 +1,22 @@
+<%
+/*
+ * 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.
+ */
+%>
 <%@page import="java.text.DecimalFormat"%>
 <%@page import="java.text.NumberFormat"%>
 <%@ page contentType="text/html; charset=UTF-8" isThreadSafe="false"


Mime
View raw message