Repository: incubator-zeppelin Updated Branches: refs/heads/master ee8f64b27 -> 8ade54ee1
http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/8ade54ee/zeppelin-interpreter/src/main/thrift/genthrift.sh ---------------------------------------------------------------------- diff --git a/zeppelin-interpreter/src/main/thrift/genthrift.sh b/zeppelin-interpreter/src/main/thrift/genthrift.sh new file mode 100755 index 0000000..12c0521 --- /dev/null +++ b/zeppelin-interpreter/src/main/thrift/genthrift.sh @@ -0,0 +1,28 @@ +#!/usr/bin/env bash +#/** +# * 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. +# */ + +rm -rf gen-java +rm -rf ../java/org/apache/zeppelin/interpreter/thrift +thrift --gen java RemoteInterpreterService.thrift +for file in gen-java/org/apache/zeppelin/interpreter/thrift/* ; do + cat java_license_header.txt ${file} > ${file}.tmp + mv -f ${file}.tmp ${file} +done +mv gen-java/org/apache/zeppelin/interpreter/thrift ../java/org/apache/zeppelin/interpreter/thrift +rm -rf gen-java http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/8ade54ee/zeppelin-interpreter/src/main/thrift/java_license_header.txt ---------------------------------------------------------------------- diff --git a/zeppelin-interpreter/src/main/thrift/java_license_header.txt b/zeppelin-interpreter/src/main/thrift/java_license_header.txt new file mode 100644 index 0000000..5d5f1e3 --- /dev/null +++ b/zeppelin-interpreter/src/main/thrift/java_license_header.txt @@ -0,0 +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. + */ http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/8ade54ee/zeppelin-server/pom.xml ---------------------------------------------------------------------- diff --git a/zeppelin-server/pom.xml b/zeppelin-server/pom.xml index 2b43e1b..cc6df97 100644 --- a/zeppelin-server/pom.xml +++ b/zeppelin-server/pom.xml @@ -23,6 +23,7 @@ <artifactId>zeppelin</artifactId> <groupId>org.apache.zeppelin</groupId> <version>0.6.0-incubating-SNAPSHOT</version> + <relativePath>..</relativePath> </parent> <groupId>org.apache.zeppelin</groupId> http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/8ade54ee/zeppelin-web/pom.xml ---------------------------------------------------------------------- diff --git a/zeppelin-web/pom.xml b/zeppelin-web/pom.xml index eb6915c..2fc4cbb 100644 --- a/zeppelin-web/pom.xml +++ b/zeppelin-web/pom.xml @@ -23,6 +23,7 @@ <artifactId>zeppelin</artifactId> <groupId>org.apache.zeppelin</groupId> <version>0.6.0-incubating-SNAPSHOT</version> + <relativePath>..</relativePath> </parent> <groupId>org.apache.zeppelin</groupId> http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/8ade54ee/zeppelin-zengine/pom.xml ---------------------------------------------------------------------- diff --git a/zeppelin-zengine/pom.xml b/zeppelin-zengine/pom.xml index 76ef04a..e431089 100644 --- a/zeppelin-zengine/pom.xml +++ b/zeppelin-zengine/pom.xml @@ -24,6 +24,7 @@ <artifactId>zeppelin</artifactId> <groupId>org.apache.zeppelin</groupId> <version>0.6.0-incubating-SNAPSHOT</version> + <relativePath>..</relativePath> </parent> <groupId>org.apache.zeppelin</groupId>
