You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2006/11/02 03:48:37 UTC

svn commit: r470206 - /directory/trunks/apacheds/server-installers/src/main/installers/izpack-unix.xml

Author: akarasulu
Date: Wed Nov  1 18:48:37 2006
New Revision: 470206

URL: http://svn.apache.org/viewvc?view=rev&rev=470206
Log:
making sure we have choices to install init script and docs as separate packages

Modified:
    directory/trunks/apacheds/server-installers/src/main/installers/izpack-unix.xml

Modified: directory/trunks/apacheds/server-installers/src/main/installers/izpack-unix.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/server-installers/src/main/installers/izpack-unix.xml?view=diff&rev=470206&r1=470205&r2=470206
==============================================================================
--- directory/trunks/apacheds/server-installers/src/main/installers/izpack-unix.xml (original)
+++ directory/trunks/apacheds/server-installers/src/main/installers/izpack-unix.xml Wed Nov  1 18:48:37 2006
@@ -1,24 +1,21 @@
 <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
 <!--
-/*
- *  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. 
- *  
- */
+  /*
+  *   Copyright 2004 The Apache Software Foundation
+  *
+  *   Licensed under the Apache License, Version 2.0 (the "License");
+  *   you may not use this file except in compliance with the License.
+  *   You may obtain a copy of the License at
+  *
+  *       http://www.apache.org/licenses/LICENSE-2.0
+  *
+  *   Unless required by applicable law or agreed to in writing, software
+  *   distributed under the License is distributed on an "AS IS" BASIS,
+  *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  *   See the License for the specific language governing permissions and
+  *   limitations under the License.
+  *
+  */
 -->
 
 <installation version="1.0">
@@ -56,6 +53,8 @@
     <res id="InfoPanel.info" src="${app.readme}" />
     <res id="ImgPacksPanel.img.0" src="${app.icon}" />
     <res id="ImgPacksPanel.img.1" src="${app.icon}" />
+    <res id="ImgPacksPanel.img.2" src="${app.icon}" />
+    <res id="ImgPacksPanel.img.3" src="${app.icon}" />
     <res id="shortcutSpec.xml" src="${unix.shortcuts}" />
     <res id="Unix_shortcutSpec.xml" src="${unix.shortcuts}" />
     <res id="userInputSpec.xml" src="${user.input}" />
@@ -73,18 +72,35 @@
   </panels>
 
   <packs>
+    <pack name="Init Script (root only)" required="no">
+      <description>Init script installable only by root</description>
+      <singlefile os="unix" src="bin/${server.init}" target="/etc/init.d/${app}" />
+      <parsable os="unix" targetfile="/etc/init.d/${app}" type="shell" />
+      <executable os="unix" targetfile="/etc/init.d/${app}" stage="never" keep="true" />
+    </pack>
+    <pack name="Sources" required="no">
+      <description>ApacheDS Sources</description>
+      <fileset dir="${image.basedir}" targetdir="$INSTALL_PATH/">
+        <include name="src/**"/>
+      </fileset>
+    </pack>
+    <pack name="Documentation" required="no">
+      <description>ApacheDS Documentation</description>
+      <fileset dir="${image.basedir}" targetdir="$INSTALL_PATH/">
+        <include name="docs/**"/>
+      </fileset>
+    </pack>
     <pack name="Binaries" required="yes">
       <description>Binary Executables</description>
       <fileset dir="${image.basedir}" targetdir="$INSTALL_PATH">
         <include name="**/*" />
+        <exclude name="docs/**"/>
+        <exclude name="src/**"/>
       </fileset>
-    
+
       <executable os="unix" targetfile="$INSTALL_PATH/bin/${app}" stage="never" keep="true" />
-      <singlefile os="unix" src="bin/${server.init}" target="/etc/init.d/${app}" />
       <parsable os="unix" targetfile="$INSTALL_PATH/bin/${server.init}" type="shell" />
       <parsable os="unix" targetfile="$INSTALL_PATH/bin/apacheds-tools.sh" type="shell" />
-      <parsable os="unix" targetfile="/etc/init.d/${app}" type="shell" />
-      <executable os="unix" targetfile="/etc/init.d/${app}" stage="never" keep="true" />
       <executable os="unix" targetfile="$INSTALL_PATH/bin/${server.init}" stage="never" keep="true" />
       <executable os="unix" targetfile="$INSTALL_PATH/bin/apacheds-tools.sh" stage="never" keep="true" />
     </pack>