You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by sn...@apache.org on 2014/10/30 03:12:07 UTC

[4/9] ARGUS-137 Rename Apache Argus to Apache Ranger on the codebase/config

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/6af44c4f/winpkg/src/main/assemblies/winpkg.xml
----------------------------------------------------------------------
diff --git a/winpkg/src/main/assemblies/winpkg.xml b/winpkg/src/main/assemblies/winpkg.xml
new file mode 100644
index 0000000..a4566f5
--- /dev/null
+++ b/winpkg/src/main/assemblies/winpkg.xml
@@ -0,0 +1,63 @@
+<!--
+  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.
+-->
+<assembly>
+    <id>${project.version}.winpkg</id>
+    <formats>
+        <format>dir</format>
+        <format>zip</format>
+    </formats>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <fileSets>
+        <!-- resources -->
+        <fileSet>
+          <directory>${basedir}/src/resources</directory>
+          <outputDirectory>/resources</outputDirectory>
+          <includes>
+            <include>**</include>
+          </includes>
+        </fileSet>
+        <!-- scripts -->
+        <fileSet>
+          <directory>${basedir}/src/scripts</directory>
+          <outputDirectory>/scripts</outputDirectory>
+          <includes>
+            <include>**</include>
+          </includes>
+        </fileSet>
+		<fileSet>
+          <directory>${basedir}/src/template/bin</directory>
+          <outputDirectory>/template</outputDirectory>
+          <includes>
+            <include>**</include>
+          </includes>
+        </fileSet>
+        <!-- Ranger Secure Zip -->
+        <fileSet>
+          <directory>${basedir}/../target/</directory>
+          <outputDirectory>/resources</outputDirectory>
+          <includes>
+            <include>ranger-*-usersync.zip</include>
+			<include>ranger-*-admin.zip</include>
+			<include>ranger*plugin.zip</include>
+          </includes>
+          <excludes>
+            <exclude>*-src.zip</exclude>
+          </excludes>
+        </fileSet>
+    </fileSets>
+</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/6af44c4f/winpkg/src/resources/servicehost.exe
----------------------------------------------------------------------
diff --git a/winpkg/src/resources/servicehost.exe b/winpkg/src/resources/servicehost.exe
new file mode 100644
index 0000000..48754a1
Binary files /dev/null and b/winpkg/src/resources/servicehost.exe differ

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/6af44c4f/winpkg/src/resources/winpkg.cmd
----------------------------------------------------------------------
diff --git a/winpkg/src/resources/winpkg.cmd b/winpkg/src/resources/winpkg.cmd
new file mode 100644
index 0000000..d7180c0
--- /dev/null
+++ b/winpkg/src/resources/winpkg.cmd
@@ -0,0 +1,18 @@
+@echo off
+@rem Licensed to the Apache Software Foundation (ASF) under one or more
+@rem contributor license agreements.  See the NOTICE file distributed with
+@rem this work for additional information regarding copyright ownership.
+@rem The ASF licenses this file to You under the Apache License, Version 2.0
+@rem (the "License"); you may not use this file except in compliance with
+@rem the License.  You may obtain a copy of the License at
+@rem
+@rem     http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+
+powershell.exe -NoProfile -InputFormat none -ExecutionPolicy unrestricted -command %~dp0winpkg.ps1 %*
+goto :eof