directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1748572 [3/23] - in /directory/apacheds/branches/apacheds-value: ./ benchmarks/installers-maven-plugin/ benchmarks/installers-maven-plugin/.settings/ benchmarks/installers-maven-plugin/target/ benchmarks/installers-maven-plugin/target/clas...
Date Wed, 15 Jun 2016 12:30:01 GMT
Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/License.rtf
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/License.rtf?rev=1748572&view=auto
==============================================================================
--- directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/License.rtf (added)
+++ directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/License.rtf Wed Jun 15 12:29:57 2016
@@ -0,0 +1,80 @@
+{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf440
+{\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;}
+{\colortbl;\red255\green255\blue255;}
+\paperw11899\paperh16839\margl1440\margr1440\vieww14860\viewh11540\viewkind0
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural
+
+\f0\b\fs24 \cf0 Apache License\
+Version 2.0, January 2004\
+
+\f1\b0 http://www.apache.org/licenses/\
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
+\cf0 \
+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\
+\
+
+\f0\b 1. Definitions.
+\f1\b0 \
+\
+"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.\
+\
+"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.\
+\
+"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.\
+\
+"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.\
+\
+"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.\
+\
+"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.\
+\
+"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).\
+\
+"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.\
+\
+"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."\
+\
+"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.\
+\
+
+\f0\b 2. Grant of Copyright License.
+\f1\b0  Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.\
+\
+
+\f0\b 3. Grant of Patent License.
+\f1\b0  Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.\
+\
+
+\f0\b 4. Redistribution.
+\f1\b0  You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:\
+\
+   1. You must give any other recipients of the Work or Derivative Works a copy of this License; and\
+\
+   2. You must cause any modified files to carry prominent notices stating that You changed the files; and\
+\
+   3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and\
+\
+   4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.\
+\
+You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.\
+\
+
+\f0\b 5. Submission of Contributions.
+\f1\b0  Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.\
+\
+
+\f0\b 6. Trademarks.
+\f1\b0  This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.\
+\
+
+\f0\b 7. Disclaimer of Warranty.
+\f1\b0  Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.\
+\
+
+\f0\b 8. Limitation of Liability.
+\f1\b0  In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.\
+\
+
+\f0\b 9. Accepting Warranty or Additional Liability.
+\f1\b0  While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. \
+}
\ No newline at end of file

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/MacOsXPkgInstallerCommand.class
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/MacOsXPkgInstallerCommand.class?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/MacOsXPkgInstallerCommand.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/MacOsXPkgTarget.class
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/MacOsXPkgTarget.class?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/MacOsXPkgTarget.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/apacheds-usr-bin.sh
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/apacheds-usr-bin.sh?rev=1748572&view=auto
==============================================================================
--- directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/apacheds-usr-bin.sh (added)
+++ directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/apacheds-usr-bin.sh Wed Jun 15 12:29:57 2016
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+#  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.
+#
+/usr/local/apacheds-${version}/bin/apacheds $*
\ No newline at end of file

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/dmg-background.png
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/dmg-background.png?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/dmg-background.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/org.apache.directory.server.plist
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/org.apache.directory.server.plist?rev=1748572&view=auto
==============================================================================
--- directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/org.apache.directory.server.plist (added)
+++ directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/org.apache.directory.server.plist Wed Jun 15 12:29:57 2016
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
+        "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+        
+<!--
+  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.
+-->
+
+<plist version="1.0">
+    <dict>
+        <key>Disabled</key>
+        <false/>
+        
+        <key>Label</key>
+        <string>org.apache.directory.server</string>
+
+        <key>ProgramArguments</key>
+        <array>
+            <string>/usr/local/apacheds-${version}/bin/apacheds</string>
+            <string>console</string>
+            <string>default</string>
+        </array>
+                
+        <key>RunAtLoad</key>
+        <false/>
+    </dict>
+</plist>
\ No newline at end of file

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/pkg-background.tiff
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/pkg-background.tiff?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/pkg-background.tiff
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/postflight
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/postflight?rev=1748572&view=auto
==============================================================================
--- directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/postflight (added)
+++ directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/postflight Wed Jun 15 12:29:57 2016
@@ -0,0 +1,30 @@
+#!/bin/sh
+#
+#  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.
+#
+#
+
+# Setting the correct permission on the org.apache.directory.server.plist file
+chmod 644 /Library/LaunchDaemons/org.apache.directory.server.plist
+
+#
+# Loading the ApacheDS launch daemon
+#
+launchctl load /Library/LaunchDaemons/org.apache.directory.server.plist
+
+

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/preflight
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/preflight?rev=1748572&view=auto
==============================================================================
--- directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/preflight (added)
+++ directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/macosxpkg/preflight Wed Jun 15 12:29:57 2016
@@ -0,0 +1,32 @@
+#!/bin/sh
+#
+#  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.
+#
+#
+
+#
+# Stopping and unloading the ApacheDS launch daemon
+#
+LOADED=`launchctl list | grep "org.apache.directory.server" | tail -1`
+if [ "X$LOADED" != "X" ]
+then
+    launchctl stop org.apache.directory.server
+    launchctl unload /Library/LaunchDaemons/org.apache.directory.server.plist
+fi
+
+

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/Manage ApacheDS.exe
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/Manage%20ApacheDS.exe?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/Manage ApacheDS.exe
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/NsisInstallerCommand.class
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/NsisInstallerCommand.class?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/NsisInstallerCommand.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/NsisTarget.class
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/NsisTarget.class?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/NsisTarget.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/header.bmp
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/header.bmp?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/header.bmp
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/installer.ico
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/installer.ico?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/installer.ico
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/installer.nsi
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/installer.nsi?rev=1748572&view=auto
==============================================================================
--- directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/installer.nsi (added)
+++ directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/installer.nsi Wed Jun 15 12:29:57 2016
@@ -0,0 +1,659 @@
+#
+#  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.
+#
+
+#
+# Constants and variables
+#
+    !define Application "ApacheDS"
+    !define Version "${version}"
+    !define InstallerIcon "installer.ico"
+    !define UninstallerIcon "uninstaller.ico"
+    !define WelcomeImage "welcome.bmp"
+    !define HeaderImage "header.bmp"
+    !define OutFile "${finalName}"
+    !define InstallationFiles "${installationFiles}"
+    !define InstancesFiles "${instancesFiles}"
+    !define JREVersion "1.5.0"
+    !define INSTDIR_REG_ROOT "HKLM"
+    !define INSTDIR_REG_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${Application}"
+    
+    # Variables needed for JRE detection
+    Var JREPath
+
+#
+# Modules inclusions
+#
+    # Modern UI module
+    !include "MUI.nsh"
+    
+    # Sections module
+    !include "Sections.nsh"
+
+#
+# Macros (which need to be defined before they're used)
+#
+    # Creates an Internet shortcut
+    !macro CreateInternetShortcut FILENAME URL ;ICONFILE ICONINDEX
+        WriteINIStr "${FILENAME}.url" "InternetShortcut" "URL" "${URL}"
+    !macroend
+
+#
+# Configuration
+#
+    # Name of the application
+    Name "${Application}"
+    
+    # Output installer file
+    OutFile "../${OutFile}"
+    
+    # Default install directory
+    InstallDir "$PROGRAMFILES\${Application}"
+    
+    # Branding text
+    BrandingText "${Application} - ${Version}"
+
+    # Activating XPStyle
+    XPStyle on
+
+    # Installer icon
+    !define MUI_ICON "${InstallerIcon}"
+    
+    # Uninstaller icon
+    !define MUI_UNICON "${UninstallerIcon}"
+    
+    # Welcome image
+    !define MUI_WELCOMEFINISHPAGE_BITMAP "${WelcomeImage}"
+    
+    # Activating header image
+    !define MUI_HEADERIMAGE
+    !define MUI_HEADERIMAGE_BITMAP "${HeaderImage}"
+
+    # Activating small description for the components page
+    !define MUI_COMPONENTSPAGE_SMALLDESC
+    
+    # Activating a confirmation when aborting the installation
+    !define MUI_ABORTWARNING
+
+#
+# Pages
+#
+    #
+    # Installer pages
+    #
+    
+    # Welcome page
+    !insertmacro MUI_PAGE_WELCOME
+    
+    # License page
+    !insertmacro MUI_PAGE_LICENSE "${InstallationFiles}\LICENSE"
+
+    # Installation directory page
+    Var SERVER_HOME_DIR
+    !define MUI_DIRECTORYPAGE_VARIABLE $SERVER_HOME_DIR
+    !define MUI_DIRECTORYPAGE_TEXT_DESTINATION "Server Home Directory"
+    !define MUI_DIRECTORYPAGE_TEXT_TOP "Select the directory where you would like to install ${Application}"
+    !insertmacro MUI_PAGE_DIRECTORY
+
+    # Instances directory page
+    Var INSTANCES_HOME_DIR
+    !define MUI_PAGE_CUSTOMFUNCTION_PRE PreInstancesDir
+    !define MUI_DIRECTORYPAGE_VARIABLE $INSTANCES_HOME_DIR
+    !define MUI_DIRECTORYPAGE_TEXT_DESTINATION "Server Instances Home Directory"
+    !define MUI_DIRECTORYPAGE_TEXT_TOP "Select the directory where you would like instances data to be stored.$\n$\nThis directory will be the home location for new instances."
+    !insertmacro MUI_PAGE_DIRECTORY
+
+    # JRE directory page
+    Var JAVA_HOME_DIR
+    !define MUI_DIRECTORYPAGE_VARIABLE $JAVA_HOME_DIR
+    !define MUI_DIRECTORYPAGE_TEXT_DESTINATION "Java Home Directory"
+    !define MUI_DIRECTORYPAGE_TEXT_TOP "Select the Java home directory that you would like to use for running the installed applications."
+    !insertmacro MUI_PAGE_DIRECTORY
+    
+    # Installation page
+    !insertmacro MUI_PAGE_INSTFILES
+    
+    # Finish page
+    !insertmacro MUI_PAGE_FINISH
+    
+    
+    #
+    # Uninstaller pages
+    #
+    
+    # Confirmation page
+    !insertmacro MUI_UNPAGE_CONFIRM
+    
+    # Uninstallation page
+    !insertmacro MUI_UNPAGE_INSTFILES
+
+#
+# Languages (the first one is the default one)
+#
+    !insertmacro MUI_LANGUAGE "English"
+    
+#
+# Sections
+#
+    # Installer section
+    Section
+    
+    	# Writing installation files
+        SetOutPath "$SERVER_HOME_DIR"
+        
+        # Adding installation source files
+        File /r "${InstallationFiles}\*"
+        
+        # Converting files line encoding
+        Push "$SERVER_HOME_DIR"
+        Push "*.txt"
+        Call ConvertFiles
+        
+        # Converting files line encoding
+        Push "$SERVER_HOME_DIR\conf"
+        Push "*.*"
+        Call ConvertFiles
+        
+        # Replacing java home directory in config file
+        GetFunctionAddress $R0 ReplaceJavaHome # handle to callback fn
+        Push $R0
+        Push "$SERVER_HOME_DIR\conf\wrapper.conf" # file to replace in
+        Call ReplaceInFile
+        
+        # Configuring registries for the uninstaller
+        WriteRegStr "${INSTDIR_REG_ROOT}" "SOFTWARE\${Application}" "SERVER_HOME_DIR" $SERVER_HOME_DIR
+        WriteRegStr "${INSTDIR_REG_ROOT}" "SOFTWARE\${Application}" "INSTANCES_HOME_DIR" $INSTANCES_HOME_DIR
+        WriteRegStr "${INSTDIR_REG_ROOT}" "${INSTDIR_REG_KEY}" "DisplayName" "${Application} - (remove only)"
+        WriteRegStr "${INSTDIR_REG_ROOT}" "${INSTDIR_REG_KEY}" "DisplayIcon" "$SERVER_HOME_DIR\uninstall.exe"
+        WriteRegStr "${INSTDIR_REG_ROOT}" "${INSTDIR_REG_KEY}" "UninstallString" '"$SERVER_HOME_DIR\uninstall.exe"'
+        WriteRegDWORD "${INSTDIR_REG_ROOT}" "${INSTDIR_REG_KEY}" "NoModify" "1"
+        WriteRegDWORD "${INSTDIR_REG_ROOT}" "${INSTDIR_REG_KEY}" "NoRepair" "1"
+
+        # Creating the uninstaller
+        WriteUninstaller "$INSTDIR\Uninstall.exe"
+    
+        # Creating directory in start menu
+        CreateDirectory "$SMPROGRAMS\${Application}"
+        
+        # Creating links in start menu
+        !insertmacro CreateInternetShortcut "$SMPROGRAMS\${Application}\Basic Users Guide" "http://directory.apache.org/apacheds/1.5/apacheds-v15-basic-users-guide.html"
+        !insertmacro CreateInternetShortcut "$SMPROGRAMS\${Application}\Advanced Users Guide" "http://directory.apache.org/apacheds/1.5/apacheds-v15-advanced-users-guide.html"
+        !insertmacro CreateInternetShortcut "$SMPROGRAMS\${Application}\Developers Guide" "http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html"
+        
+        # Creating a shortcut to the 'Manage ApacheDS' utility
+        CreateShortCut "$SMPROGRAMS\${Application}\Manage ApacheDS.lnk" "$SERVER_HOME_DIR\Manage ApacheDS.exe" "" "$SERVER_HOME_DIR\Manage ApacheDS.exe" 0
+        
+        # Creating a shortcut to the uninstaller
+        CreateShortCut "$SMPROGRAMS\${Application}\Uninstall ApacheDS.lnk" "$SERVER_HOME_DIR\Uninstall.exe" "" "$SERVER_HOME_DIR\Uninstall.exe" 0
+        
+    	# Writing instances files
+        SetOutPath "$INSTANCES_HOME_DIR"
+        
+        # Adding instances source files
+        File /r "${InstancesFiles}\*"
+        
+        # Converting files line encoding
+        Push "$INSTANCES_HOME_DIR\conf"
+        Push "*.*"
+        Call ConvertFiles
+        
+        # Replacing installation directory in config file
+        GetFunctionAddress $R0 ReplaceInstallationDirectory # handle to callback fn
+        Push $R0
+        Push "$INSTANCES_HOME_DIR\default\conf\wrapper-instance.conf" # file to replace in
+        Call ReplaceInFile
+        
+        # Registering the server instance
+        Call RegisterInstance
+    SectionEnd
+
+    # Uninstaller section
+    Section Uninstall
+    	# Getting install locations
+        ReadRegStr $R1 "${INSTDIR_REG_ROOT}" "SOFTWARE\${Application}" "SERVER_HOME_DIR"
+        StrCpy $SERVER_HOME_DIR $R1
+        ReadRegStr $R1 "${INSTDIR_REG_ROOT}" "SOFTWARE\${Application}" "INSTANCES_HOME_DIR"
+        StrCpy $INSTANCES_HOME_DIR $R1
+    
+        #Need to parse a list of instances or directories somehow
+        Call un.RegisterInstance
+        
+        # Remove shortcuts and folders in the start menu
+        RMDir /r "$SMPROGRAMS\${Application}"
+        
+        # Removing registry keys
+        DeleteRegKey "${INSTDIR_REG_ROOT}" "${INSTDIR_REG_KEY}"
+        DeleteRegKey "${INSTDIR_REG_ROOT}" "SOFTWARE\${Application}"
+        
+        # Removing files in root, then all dirs created by the installer (leave user added or instance dirs)
+        Delete "$INSTDIR\*"
+        RMDir /r "$INSTDIR\bin"
+        RMDir /r "$INSTDIR\conf"
+        RMDir /r "$INSTDIR\lib"
+
+    SectionEnd
+
+#
+# Functions
+#
+    #
+    # <ConvertFiles>
+    #
+    
+    # Converts Unix to CR/LF for Windows
+    Function ConvertFiles
+        Pop $R0
+        Pop $R1
+
+        FindFirst $R2 $R3 "$R1\$R0"
+        loop:
+          StrCmp $R3 "" done
+          Push "$R1\$R3"
+          Call ConvertUnixNewLines
+          FindNext $R2 $R3
+          Goto loop
+        done:
+          FindClose $R2
+
+        Pop $R3
+        Pop $R2
+        Pop $R1
+        Pop $R0
+    FunctionEnd
+    
+    #
+    # </ConvertFiles>
+    #
+    
+    #
+    # <RegisterInstance>
+    #
+
+    Function RegisterInstance
+        nsExec::ExecToLog '"$SERVER_HOME_DIR\bin\wrapper.exe" -i "$INSTANCES_HOME_DIR\default\conf\wrapper-instance.conf" set.INSTANCE_DIRECTORY="$INSTANCES_HOME_DIR\default" set.INSTANCE="default"'
+    FunctionEnd
+    
+    #
+    # </RegisterInstance>
+    #
+    
+    #
+    # <un.RegisterInstance>
+    #
+
+    Function un.RegisterInstance
+        nsExec::ExecToLog '"$SERVER_HOME_DIR\bin\wrapper.exe" -r "$INSTANCES_HOME_DIR\default\conf\wrapper-instance.conf" set.INSTANCE_DIRECTORY="$INSTANCES_HOME_DIR\default" set.INSTANCE="default"'
+    FunctionEnd
+    
+    #
+    # </un.RegisterInstance>
+    #
+    
+    #
+    # <.onInstSuccess>
+    #
+
+    Function .onInstSuccess
+        # Start the server
+        MessageBox MB_YESNO|MB_ICONQUESTION "Do you want to start the default server instance?" IDYES startService IDNO End
+        startService:  
+            nsExec::ExecToLog '"$SERVER_HOME_DIR\bin\wrapper.exe" -t "$INSTANCES_HOME_DIR\default\conf\wrapper-instance.conf" set.INSTANCE_DIRECTORY="$INSTANCES_HOME_DIR\default" set.INSTANCE="default"'
+  
+        End:
+    FunctionEnd
+    
+    #
+    # </.onInstSuccess>
+    #
+    
+    #
+    # <.onInit>
+    #
+
+    Function .onInit
+        SetCurInstType 0
+        SetAutoClose false
+        StrCpy $SERVER_HOME_DIR "$PROGRAMFILES\ApacheDS"
+        Call CheckInstalledJRE
+        StrCpy $JAVA_HOME_DIR "$JREPath"
+    FunctionEnd
+    
+    #
+    # </.onInit>
+    #
+    
+    #
+    # <PreInstancesDir>
+    #
+
+    Function PreInstancesDir
+        StrCpy $INSTANCES_HOME_DIR $SERVER_HOME_DIR\instances
+    FunctionEnd
+    
+    #
+    # </PreInstancesDir>
+    #
+    
+    #
+    # <CheckInstalledJRE>
+    #
+
+    Function CheckInstalledJRE
+        Push "${JREVersion}"
+        Call DetectJRE
+        Exch $0	; Get return value from stack
+        StrCmp $0 "0" End
+        StrCmp $0 "-1" End
+        Goto JREAlreadyInstalled
+    
+        JREAlreadyInstalled:
+            StrCpy $JREPath "$0"
+            Pop $0 # Restore $0
+            Return
+      
+        End:
+    FunctionEnd
+    
+    #
+    # </CheckInstalledJRE>
+    #
+    
+    #
+    # <DetectJRE>
+    #
+
+    # DetectJRE. Version requested is on the stack.
+    # Returns (on stack): 0 - JRE not found. -1 - JRE found but too old. Otherwise - Path to JAVA EXE
+    # Stack value will be overwritten!
+    Function DetectJRE
+      Exch $0	; Get version requested
+            ; Now the previous value of $0 is on the stack, and the asked for version of JDK is in $0
+      Push $1	; $1 = Java version string (ie 1.5.0)
+      Push $2	; $2 = Javahome
+      Push $3	; $3 and $4 are used for checking the major/minor version of java
+      Push $4
+      ;MessageBox MB_OK "Detecting JRE"
+      ReadRegStr $1 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment" "CurrentVersion"
+      ;MessageBox MB_OK "Read : $1"
+      StrCmp $1 "" DetectTry2
+      ReadRegStr $2 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment\$1" "JavaHome"
+      ;MessageBox MB_OK "Read 3: $2"
+      StrCmp $2 "" DetectTry2
+      Goto GetJRE
+    
+    DetectTry2:
+      ReadRegStr $1 HKLM "SOFTWARE\JavaSoft\Java Development Kit" "CurrentVersion"
+      ;MessageBox MB_OK "Detect Read : $1"
+      StrCmp $1 "" NoFound
+      ReadRegStr $2 HKLM "SOFTWARE\JavaSoft\Java Development Kit\$1" "JavaHome"
+      ;MessageBox MB_OK "Detect Read 3: $2"
+      StrCmp $2 "" NoFound
+    
+    GetJRE:
+    ; $0 = version requested. $1 = version found. $2 = javaHome
+      ;MessageBox MB_OK "Getting JRE"
+      IfFileExists "$2\bin\java.exe" 0 NoFound
+      StrCpy $3 $0 1			; Get major version. Example: $1 = 1.5.0, now $3 = 1
+      StrCpy $4 $1 1			; $3 = major version requested, $4 = major version found
+      ;MessageBox MB_OK "Want $3 , found $4"
+      IntCmp $4 $3 0 FoundOld FoundNew
+      StrCpy $3 $0 1 2
+      StrCpy $4 $1 1 2			; Same as above. $3 is minor version requested, $4 is minor version installed
+      ;MessageBox MB_OK "Want $3 , found $4"
+      IntCmp $4 $3 FoundNew FoundOld FoundNew
+    
+    NoFound:
+      ;MessageBox MB_OK "JRE not found"
+      Push "0"
+      Goto DetectJREEnd
+    
+    FoundOld:
+      MessageBox MB_OK "JRE too old: $3 is older than $4"
+    ;  Push ${TEMP2}
+      Push "-1"
+      Goto DetectJREEnd
+    FoundNew:
+      ;MessageBox MB_OK "JRE is new: $3 is newer than $4"
+    
+      Push "$2"
+    ;  Push "OK"
+    ;  Return
+       Goto DetectJREEnd
+    DetectJREEnd:
+        ; Top of stack is return value, then r4,r3,r2,r1
+        Exch	; => r4,rv,r3,r2,r1,r0
+        Pop $4	; => rv,r3,r2,r1r,r0
+        Exch	; => r3,rv,r2,r1,r0
+        Pop $3	; => rv,r2,r1,r0
+        Exch 	; => r2,rv,r1,r0
+        Pop $2	; => rv,r1,r0
+        Exch	; => r1,rv,r0
+        Pop $1	; => rv,r0
+        Exch	; => r0,rv
+        Pop $0	; => rv
+    FunctionEnd
+    
+    #
+    # </DetectJRE>
+    #
+    
+    #
+    # <ConvertUnixNewLines>
+    #
+    
+    Function ConvertUnixNewLines
+        ; Usage:
+        ;Push "path\to\text_file.txt"
+        ;Call ConvertUnixNewLines
+    
+        Exch $R0 ;file #1 path
+        Push $R1 ;file #1 handle
+        Push $R2 ;file #2 path
+        Push $R3 ;file #2 handle
+        Push $R4 ;data
+        Push $R5
+    
+         FileOpen $R1 $R0 r
+         GetTempFileName $R2
+         FileOpen $R3 $R2 w
+    
+         loopRead:
+          ClearErrors
+          FileRead $R1 $R4
+          IfErrors doneRead
+    
+           StrCpy $R5 $R4 1 -1
+           StrCmp $R5 $\n 0 +4
+           StrCpy $R5 $R4 1 -2
+           StrCmp $R5 $\r +3
+           StrCpy $R4 $R4 -1
+           StrCpy $R4 "$R4$\r$\n"
+    
+          FileWrite $R3 $R4
+    
+         Goto loopRead
+         doneRead:
+    
+         FileClose $R3
+         FileClose $R1
+    
+         SetDetailsPrint none
+         Delete $R0
+         Rename $R2 $R0
+         SetDetailsPrint both
+    
+        Pop $R5
+        Pop $R4
+        Pop $R3
+        Pop $R2
+        Pop $R1
+        Pop $R0
+    FunctionEnd
+    
+    #
+    # </ConvertUnixNewLines>
+    #
+
+    #
+    # <ReplaceInFile>
+    #
+    Function ReplaceInFile
+        ;
+        Exch $R0 ;file name to search in
+        Exch
+        Exch $R4 ;callback function handle
+        Push $R1 ;file handle
+        Push $R2 ;temp file name
+        Push $R3 ;temp file handle
+        Push $R5 ;line read
+    
+        GetTempFileName $R2
+          FileOpen $R1 $R0 r ;file to search in
+          FileOpen $R3 $R2 w ;temp file
+    
+    loop_read:
+         ClearErrors
+         FileRead $R1 $R5 ;read line
+         Push $R5 ; put line on stack
+         Call $R4
+         Pop $R5 ; read line from stack
+         IfErrors exit
+         FileWrite $R3 $R5 ;write modified line
+        Goto loop_read
+    exit:
+          FileClose $R1
+          FileClose $R3
+    
+           SetDetailsPrint none
+          Delete $R0
+          Rename $R2 $R0
+          Delete $R2
+           SetDetailsPrint both
+    
+        ; pop in reverse order
+        Pop $R5
+        Pop $R3
+        Pop $R2
+        Pop $R1
+        Pop $R4
+        Pop $R0
+    FunctionEnd
+    
+    #
+    # </ReplaceInFile>
+    #
+
+    #
+    # <ReplaceJavaHome>
+    #
+    
+    # Replaces the '@java.home@' placeholder
+    Function ReplaceJavaHome
+	    Push $R1
+	    Exch
+	    
+        Push "@java.home@" # String to find
+        Push "$JAVA_HOME_DIR" # Replacement string
+        Call StrReplace
+    
+        ; restore stack
+        Exch
+        Pop $R1
+    FunctionEnd
+    
+    #
+    # </ReplaceJavaHome>
+    #
+
+    #
+    # <ReplaceInstallationDirectory>
+    #
+    
+    # Replaces the '@installation.directory@' placeholder
+    Function ReplaceInstallationDirectory
+	    Push $R1
+	    Exch
+	    
+        Push "@installation.directory@" # String to find
+        Push "$SERVER_HOME_DIR" # Replacement string
+        Call StrReplace
+    
+        ; restore stack
+        Exch
+        Pop $R1
+    FunctionEnd
+    
+    #
+    # </ReplaceInstallationDirectory>
+    #
+
+    #
+    # <StrReplace>
+    #
+    
+    Var STR_REPLACE_VAR_0
+    Var STR_REPLACE_VAR_1
+    Var STR_REPLACE_VAR_2
+    Var STR_REPLACE_VAR_3
+    Var STR_REPLACE_VAR_4
+    Var STR_REPLACE_VAR_5
+    Var STR_REPLACE_VAR_6
+    Var STR_REPLACE_VAR_7
+    Var STR_REPLACE_VAR_8
+    
+    Function StrReplace
+      Exch $STR_REPLACE_VAR_2
+      Exch 1
+      Exch $STR_REPLACE_VAR_1
+      Exch 2
+      Exch $STR_REPLACE_VAR_0
+        StrCpy $STR_REPLACE_VAR_3 -1
+        StrLen $STR_REPLACE_VAR_4 $STR_REPLACE_VAR_1
+        StrLen $STR_REPLACE_VAR_6 $STR_REPLACE_VAR_0
+        loop:
+          IntOp $STR_REPLACE_VAR_3 $STR_REPLACE_VAR_3 + 1
+          StrCpy $STR_REPLACE_VAR_5 $STR_REPLACE_VAR_0 $STR_REPLACE_VAR_4 $STR_REPLACE_VAR_3
+          StrCmp $STR_REPLACE_VAR_5 $STR_REPLACE_VAR_1 found
+          StrCmp $STR_REPLACE_VAR_3 $STR_REPLACE_VAR_6 done
+          Goto loop
+        found:
+          StrCpy $STR_REPLACE_VAR_5 $STR_REPLACE_VAR_0 $STR_REPLACE_VAR_3
+          IntOp $STR_REPLACE_VAR_8 $STR_REPLACE_VAR_3 + $STR_REPLACE_VAR_4
+          StrCpy $STR_REPLACE_VAR_7 $STR_REPLACE_VAR_0 "" $STR_REPLACE_VAR_8
+          StrCpy $STR_REPLACE_VAR_0 $STR_REPLACE_VAR_5$STR_REPLACE_VAR_2$STR_REPLACE_VAR_7
+          StrLen $STR_REPLACE_VAR_6 $STR_REPLACE_VAR_0
+          Goto loop
+        done:
+      Pop $STR_REPLACE_VAR_1 ; Prevent "invalid opcode" errors and keep the
+      Pop $STR_REPLACE_VAR_1 ; stack as it was before the function was called
+      Exch $STR_REPLACE_VAR_0
+    FunctionEnd
+    
+    !macro _strReplaceConstructor OUT NEEDLE NEEDLE2 HAYSTACK
+      Push "${HAYSTACK}"
+      Push "${NEEDLE}"
+      Push "${NEEDLE2}"
+      Call StrReplace
+      Pop "${OUT}"
+    !macroend
+    
+    !define StrReplace '!insertmacro "_strReplaceConstructor"'
+    
+    #
+    # </StrReplace>
+    #

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/uninstaller.ico
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/uninstaller.ico?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/uninstaller.ico
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/welcome.bmp
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/welcome.bmp?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/nsis/welcome.bmp
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/rpm/RpmInstallerCommand.class
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/rpm/RpmInstallerCommand.class?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/rpm/RpmInstallerCommand.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/rpm/RpmTarget.class
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/rpm/RpmTarget.class?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/rpm/RpmTarget.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/rpm/apacheds.spec
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/rpm/apacheds.spec?rev=1748572&view=auto
==============================================================================
--- directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/rpm/apacheds.spec (added)
+++ directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/rpm/apacheds.spec Wed Jun 15 12:29:57 2016
@@ -0,0 +1,100 @@
+#
+#  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.
+#
+
+Summary: ApacheDS
+Name: apacheds
+Version: ${version}
+Release: 1
+License: ASL 2.0
+Group: System Environment/Daemons
+URL: http://directory.apache.org
+Source: apacheds-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+%define debug_package %{nil}
+
+%description
+ApacheDS ${version}
+
+%define adsdata /var/lib/%{name}-%{version}
+%define adshome /opt/%{name}-%{version}
+
+%prep
+%setup -q
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%{adshome}/bin
+mkdir -p $RPM_BUILD_ROOT%{adshome}/conf
+mkdir -p $RPM_BUILD_ROOT%{adshome}/lib/
+mkdir -p $RPM_BUILD_ROOT%{adsdata}/default/conf
+mkdir -p $RPM_BUILD_ROOT%{adsdata}/default/log
+mkdir -p $RPM_BUILD_ROOT%{adsdata}/default/partitions
+mkdir -p $RPM_BUILD_ROOT%{adsdata}/default/run
+mkdir -p $RPM_BUILD_ROOT/etc/init.d
+
+# Server files
+install -m 755 ${build.dir}/%{name}-%{version}/server/LICENSE $RPM_BUILD_ROOT%{adshome}/LICENSE
+install -m 755 ${build.dir}/%{name}-%{version}/server/NOTICE $RPM_BUILD_ROOT%{adshome}/NOTICE
+install -m 755 ${build.dir}/%{name}-%{version}/server/bin/apacheds $RPM_BUILD_ROOT%{adshome}/bin/apacheds
+install -m 755 ${build.dir}/%{name}-%{version}/server/bin/wrapper $RPM_BUILD_ROOT%{adshome}/bin/wrapper
+install -m 644 ${build.dir}/%{name}-%{version}/server/conf/wrapper.conf $RPM_BUILD_ROOT%{adshome}/conf/wrapper.conf
+${install.libs}
+
+# Instance files
+install -m 644 ${build.dir}/%{name}-%{version}/instances/default/conf/config.ldif $RPM_BUILD_ROOT%{adsdata}/default/conf/config.ldif
+install -m 644 ${build.dir}/%{name}-%{version}/instances/default/conf/log4j.properties $RPM_BUILD_ROOT%{adsdata}/default/conf/log4j.properties
+install -m 644 ${build.dir}/%{name}-%{version}/instances/default/conf/wrapper-instance.conf $RPM_BUILD_ROOT%{adsdata}/default/conf/wrapper-instance.conf
+
+# Init script
+install -m 755 ${build.dir}/%{name}-%{version}/etc-initd-script $RPM_BUILD_ROOT/etc/init.d/apacheds-%{version}-default
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%pre
+groupadd --system apacheds >/dev/null 2>&1 || :
+useradd --system -g apacheds -d %{adsdata} apacheds >/dev/null 2>&1 || :
+
+%post
+#/sbin/chkconfig --add %{name}
+
+%files
+%defattr(-,apacheds,apacheds,-)
+%config %attr(0755, root, root) /etc/init.d/apacheds-%{version}-default
+%{adshome}
+%{adshome}/LICENSE
+%{adshome}/NOTICE
+%{adshome}/bin
+%{adshome}/bin/%{name}
+%{adshome}/bin/wrapper
+%{adshome}/conf
+%config %{adshome}/conf/wrapper.conf
+%{adshome}/lib
+${files.libs}
+%{adsdata}
+%{adsdata}/default
+%{adsdata}/default/conf
+%{adsdata}/default/log
+%{adsdata}/default/partitions
+%{adsdata}/default/run
+%config %{adsdata}/default/conf/config.ldif
+%config %{adsdata}/default/conf/log4j.properties
+%config %{adsdata}/default/conf/wrapper-instance.conf

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper-installation.conf
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper-installation.conf?rev=1748572&view=auto
==============================================================================
--- directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper-installation.conf (added)
+++ directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper-installation.conf Wed Jun 15 12:29:57 2016
@@ -0,0 +1,115 @@
+#
+#  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.
+#
+
+# Path to java executable
+${wrapper.java.command}
+
+
+wrapper.java.mainclass=org.apache.directory.server.wrapper.ApacheDsTanukiWrapper
+wrapper.max_failed_invocations=1
+
+wrapper.java.classpath.1=../lib/*.jar
+
+# Java Library Path (location of Wrapper.DLL or libwrapper.so)
+wrapper.java.library.path.1=../lib
+
+# Java Additional Parameters
+wrapper.java.additional.1=-Dlog4j.configuration=${double.quote}file:///%INSTANCE_DIRECTORY%/conf/log4j.properties${double.quote}
+wrapper.java.additional.2=-Dapacheds.var.dir=${double.quote}%INSTANCE_DIRECTORY%${double.quote}
+wrapper.java.additional.3=-Dapacheds.log.dir=${double.quote}%INSTANCE_DIRECTORY%/log${double.quote}
+wrapper.java.additional.4=-Dapacheds.run.dir=${double.quote}%INSTANCE_DIRECTORY%/run${double.quote}
+wrapper.java.additional.5=-Dapacheds.instance=${double.quote}%INSTANCE%${double.quote}
+
+# Initial Java Heap Size (in MB)
+#wrapper.java.initmemory=1024
+
+# Maximum Java Heap Size (in MB)
+#wrapper.java.maxmemory=2048
+
+# Application parameters.  Add parameters as needed starting from 1
+wrapper.app.parameter.1=${double.quote}%INSTANCE_DIRECTORY%${double.quote}
+
+#********************************************************************
+# Wrapper Logging Properties
+#********************************************************************
+# Format of output for the console.  (See docs for formats)
+wrapper.console.format=PM
+
+# Log Level for console output.  (See docs for log levels)
+wrapper.console.loglevel=INFO
+
+# Log file to use for wrapper output logging.
+wrapper.logfile=%INSTANCE_DIRECTORY%/log/wrapper.log
+
+# Format of output for the log file.  (See docs for formats)
+wrapper.logfile.format=LPTM
+
+# Log Level for log file output.  (See docs for log levels)
+wrapper.logfile.loglevel=INFO
+
+# Maximum size that the log file will be allowed to grow to before
+#  the log is rolled. Size is specified in bytes.  The default value
+#  of 0, disables log rolling.  May abbreviate with the 'k' (kb) or
+#  'm' (mb) suffix.  For example: 10m = 10 megabytes.
+wrapper.logfile.maxsize=1m
+
+# Maximum number of rolled log files which will be allowed before old
+#  files are deleted.  The default value of 0 implies no limit.
+wrapper.logfile.maxfiles=5
+
+# Log Level for sys/event log output.  (See docs for log levels)
+wrapper.syslog.loglevel=NONE
+
+# Number of seconds to allow between the time that the Wrapper 
+#  launches the JVM process and the time that the JVM side of the 
+#  Wrapper responds that the application has started.
+wrapper.startup.timeout=120
+
+# Number of seconds to allow between the Wrapper pinging the JVM and 
+#  the response from the JVM.
+wrapper.ping.timeout=240
+
+#********************************************************************
+# Wrapper Windows NT/2000/XP Service Properties
+#********************************************************************
+# WARNING - Do not modify any of these properties when an application
+#  using this configuration file has been installed as a service.
+#  Please uninstall the service before modifying this section.  The
+#  service can then be reinstalled.
+
+# Title to use when running as a console
+wrapper.console.title=apacheds-%INSTANCE%
+
+# Name of the service
+wrapper.ntservice.name=apacheds-%INSTANCE%
+
+# Display name of the service
+wrapper.ntservice.displayname=ApacheDS - %INSTANCE%
+
+# Description of the service
+wrapper.ntservice.description=ApacheDS %INSTANCE% server instance
+
+# Service dependencies.  Add dependencies as needed starting from 1
+#wrapper.ntservice.dependency.1=
+
+# Mode in which the service is installed.  AUTO_START or DEMAND_START
+wrapper.ntservice.starttype=AUTO_START
+
+# Allow the service to interact with the desktop.
+wrapper.ntservice.interactive=false
\ No newline at end of file

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper-instance.conf
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper-instance.conf?rev=1748572&view=auto
==============================================================================
--- directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper-instance.conf (added)
+++ directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper-instance.conf Wed Jun 15 12:29:57 2016
@@ -0,0 +1,40 @@
+#
+#  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.
+#
+  
+#
+# In this file you can override parameters specified in the default
+# Apache Directory Server config file which is usually at
+# @installation.directory@/conf/wrapper.conf
+#
+# See also http://wrapper.tanukisoftware.org/doc/english/properties.html
+# For a list of properties that can be set.
+#
+# Common overrides shown commented below
+
+#include @installation.directory@/conf/wrapper.conf
+
+# Override the JRE used
+# wrapper.java.command=<path-to-java-executable>
+
+# Override the JVM memory settings
+# Initial Java Heap Size (in MB)
+# wrapper.java.initmemory=1024
+
+# Maximum Java Heap Size (in MB)
+# wrapper.java.maxmemory=2048
\ No newline at end of file

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-linux-ppc-64
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-linux-ppc-64?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-linux-ppc-64
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-linux-x86-32
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-linux-x86-32?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-linux-x86-32
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-linux-x86-64
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-linux-x86-64?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-linux-x86-64
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-macosx-ppc-32
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-macosx-ppc-32?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-macosx-ppc-32
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-macosx-universal-32
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-macosx-universal-32?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-macosx-universal-32
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-macosx-universal-64
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-macosx-universal-64?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-macosx-universal-64
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-solaris-sparc-32
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-solaris-sparc-32?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-solaris-sparc-32
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-solaris-sparc-64
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-solaris-sparc-64?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-solaris-sparc-64
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-solaris-x86-32
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-solaris-x86-32?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-solaris-x86-32
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-windows-x86-32.exe
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-windows-x86-32.exe?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/bin/wrapper-windows-x86-32.exe
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/conf/wrapper.conf
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/conf/wrapper.conf?rev=1748572&view=auto
==============================================================================
--- directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/conf/wrapper.conf (added)
+++ directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/conf/wrapper.conf Wed Jun 15 12:29:57 2016
@@ -0,0 +1,118 @@
+#
+#  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.
+#
+#********************************************************************
+# TestWrapper Properties
+#
+# NOTE - Please use src/conf/apacheds.conf.in as a template for your
+#        own application rather than the values used for the
+#        TestWrapper sample.
+#********************************************************************
+# Java Application
+wrapper.java.command=%JAVA_HOME%/bin/java
+
+# Java Main class.  This class must implement the WrapperListener interface
+#  or guarantee that the WrapperManager class is initialized.  Helper
+#  classes are provided to do this for you.  See the Integration section
+#  of the documentation for details.
+#wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
+wrapper.java.mainclass=org.apache.directory.daemon.TanukiBootstrapper
+
+wrapper.java.classpath.1=%APACHEDS_HOME%/bin/bootstrapper.jar
+wrapper.java.classpath.2=%APACHEDS_HOME%/lib/wrapper.jar
+
+# Java Library Path (location of Wrapper.DLL or libwrapper.so)
+wrapper.java.library.path.1=%APACHEDS_HOME%/lib
+
+# Java Additional Parameters
+#wrapper.java.additional.1=
+
+# Initial Java Heap Size (in MB)
+wrapper.java.initmemory=1024
+
+# Maximum Java Heap Size (in MB)
+wrapper.java.maxmemory=2048
+
+# Application parameters.  Add parameters as needed starting from 1
+wrapper.app.parameter.1=org.apache.directory.daemon.MainBootstrapper
+wrapper.app.parameter.2=%APACHEDS_HOME%
+wrapper.app.parameter.3=start
+
+#********************************************************************
+# Wrapper Logging Properties
+#********************************************************************
+# Format of output for the console.  (See docs for formats)
+wrapper.console.format=PM
+
+# Log Level for console output.  (See docs for log levels)
+wrapper.console.loglevel=INFO
+
+# Log file to use for wrapper output logging.
+wrapper.logfile=%APACHEDS_HOME%/var/log/wrapper.log
+
+# Format of output for the log file.  (See docs for formats)
+wrapper.logfile.format=LPTM
+
+# Log Level for log file output.  (See docs for log levels)
+wrapper.logfile.loglevel=INFO
+
+# Maximum size that the log file will be allowed to grow to before
+#  the log is rolled. Size is specified in bytes.  The default value
+#  of 0, disables log rolling.  May abbreviate with the 'k' (kb) or
+#  'm' (mb) suffix.  For example: 10m = 10 megabytes.
+wrapper.logfile.maxsize=0
+
+# Maximum number of rolled log files which will be allowed before old
+#  files are deleted.  The default value of 0 implies no limit.
+wrapper.logfile.maxfiles=0
+
+# Log Level for sys/event log output.  (See docs for log levels)
+wrapper.syslog.loglevel=NONE
+
+#********************************************************************
+# Wrapper Windows Properties
+#********************************************************************
+# Title to use when running as a console
+wrapper.console.title=Test Wrapper Sample Application
+
+#********************************************************************
+# Wrapper Windows NT/2000/XP Service Properties
+#********************************************************************
+# WARNING - Do not modify any of these properties when an application
+#  using this configuration file has been installed as a service.
+#  Please uninstall the service before modifying this section.  The
+#  service can then be reinstalled.
+
+# Name of the service
+wrapper.ntservice.name=apacheds
+
+# Display name of the service
+wrapper.ntservice.displayname=Apache Directory Server
+
+# Description of the service
+wrapper.ntservice.description=Test Wrapper Sample Application Description
+
+# Service dependencies.  Add dependencies as needed starting from 1
+wrapper.ntservice.dependency.1=
+
+# Mode in which the service is installed.  AUTO_START or DEMAND_START
+wrapper.ntservice.starttype=AUTO_START
+
+# Allow the service to interact with the desktop.
+wrapper.ntservice.interactive=false
+

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-linux-ppc-64.so
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-linux-ppc-64.so?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-linux-ppc-64.so
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-linux-x86-32.so
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-linux-x86-32.so?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-linux-x86-32.so
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-linux-x86-64.so
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-linux-x86-64.so?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-linux-x86-64.so
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-macosx-ppc-32.jnilib
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-macosx-ppc-32.jnilib?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-macosx-ppc-32.jnilib
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-macosx-universal-32.jnilib
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-macosx-universal-32.jnilib?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-macosx-universal-32.jnilib
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-macosx-universal-64.jnilib
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-macosx-universal-64.jnilib?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-macosx-universal-64.jnilib
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-solaris-sparc-32.so
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-solaris-sparc-32.so?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-solaris-sparc-32.so
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-solaris-sparc-64.so
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-solaris-sparc-64.so?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-solaris-sparc-64.so
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-solaris-x86-32.so
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-solaris-x86-32.so?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/libwrapper-solaris-x86-32.so
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/wrapper-windows-x86-32.dll
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/wrapper-windows-x86-32.dll?rev=1748572&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/lib/wrapper-windows-x86-32.dll
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/src/App.bat.in
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/src/App.bat.in?rev=1748572&view=auto
==============================================================================
--- directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/src/App.bat.in (added)
+++ directory/apacheds/branches/apacheds-value/benchmarks/installers-maven-plugin/target/classes/org/apache/directory/server/installers/wrapper/src/App.bat.in Wed Jun 15 12:29:57 2016
@@ -0,0 +1,72 @@
+REM Licensed to the Apache Software Foundation (ASF) under one
+REM or more contributor license agreements.  See the NOTICE file
+REM distributed with this work for additional information
+REM regarding copyright ownership.  The ASF licenses this file
+REM to you under the Apache License, Version 2.0 (the
+REM "License"); you may not use this file except in compliance
+REM with 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,
+REM software distributed under the License is distributed on an
+REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+REM KIND, either express or implied.  See the License for the
+REM specific language governing permissions and limitations
+REM under the License.
+
+@echo off
+setlocal
+
+rem Copyright (c) 1999, 2006 Tanuki Software Inc.
+rem
+rem Java Service Wrapper general startup script
+rem
+
+rem
+rem Resolve the real path of the wrapper.exe
+rem  For non NT systems, the _REALPATH and _WRAPPER_CONF values
+rem  can be hard-coded below and the following test removed.
+rem
+if "%OS%"=="Windows_NT" goto nt
+echo This script only works with NT-based versions of Windows.
+goto :eof
+
+:nt
+rem
+rem Find the application home.
+rem
+rem %~dp0 is location of current script under NT
+set _REALPATH=%~dp0
+
+rem Decide on the wrapper binary.
+set _WRAPPER_BASE=wrapper
+set _WRAPPER_EXE=%_REALPATH%%_WRAPPER_BASE%-windows-x86-32.exe
+if exist "%_WRAPPER_EXE%" goto conf
+set _WRAPPER_EXE=%_REALPATH%%_WRAPPER_BASE%-windows-x86-64.exe
+if exist "%_WRAPPER_EXE%" goto conf
+set _WRAPPER_EXE=%_REALPATH%%_WRAPPER_BASE%.exe
+if exist "%_WRAPPER_EXE%" goto conf
+echo Unable to locate a Wrapper executable using any of the following names:
+echo %_REALPATH%%_WRAPPER_BASE%-windows-x86-32.exe
+echo %_REALPATH%%_WRAPPER_BASE%-windows-x86-64.exe
+echo %_REALPATH%%_WRAPPER_BASE%.exe
+pause
+goto :eof
+
+rem
+rem Find the apacheds.conf
+rem
+:conf
+set _WRAPPER_CONF="%~f1"
+if not %_WRAPPER_CONF%=="" goto startup
+set _WRAPPER_CONF="%_REALPATH%..\conf\apacheds.conf"
+
+rem
+rem Start the Wrapper
+rem
+:startup
+"%_WRAPPER_EXE%" -c %_WRAPPER_CONF%
+if not errorlevel 1 goto :eof
+pause
+



Mime
View raw message