felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r383594 - in /incubator/felix/trunk/installers: pom.xml src/main/installers/izpack-mac.xml src/main/installers/izpack-unix.xml src/main/installers/unix_shortcuts.xml
Date Mon, 06 Mar 2006 17:29:44 GMT
Author: akarasulu
Date: Mon Mar  6 09:29:40 2006
New Revision: 383594

URL: http://svn.apache.org/viewcvs?rev=383594&view=rev
Log:
adding shortcuts items and making it so an /etc/init.d/felix script is not installed ... installer
then does not need to be root

Added:
    incubator/felix/trunk/installers/src/main/installers/unix_shortcuts.xml
Modified:
    incubator/felix/trunk/installers/pom.xml
    incubator/felix/trunk/installers/src/main/installers/izpack-mac.xml
    incubator/felix/trunk/installers/src/main/installers/izpack-unix.xml

Modified: incubator/felix/trunk/installers/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/installers/pom.xml?rev=383594&r1=383593&r2=383594&view=diff
==============================================================================
--- incubator/felix/trunk/installers/pom.xml (original)
+++ incubator/felix/trunk/installers/pom.xml Mon Mar  6 09:29:40 2006
@@ -154,6 +154,9 @@
               <izPackInstallFile>
                 src/main/installers/izpack-unix.xml
               </izPackInstallFile>
+              <izPackShortcutsUnixFile>
+                src/main/installers/unix_shortcuts.xml
+              </izPackShortcutsUnixFile>
               <finalName>
                 felix-${pom.version}-linux-i386-setup.jar
               </finalName>
@@ -170,6 +173,9 @@
               <izPackInstallFile>
                 src/main/installers/izpack-unix.xml
               </izPackInstallFile>
+              <izPackShortcutsUnixFile>
+                src/main/installers/unix_shortcuts.xml
+              </izPackShortcutsUnixFile>
               <osName>sunos</osName>
               <osFamily>unix</osFamily>
               <osArch>sparc</osArch>
@@ -180,6 +186,9 @@
               <izPackInstallFile>
                 src/main/installers/izpack-unix.xml
               </izPackInstallFile>
+              <izPackShortcutsUnixFile>
+                src/main/installers/unix_shortcuts.xml
+              </izPackShortcutsUnixFile>
               <finalName>
                 felix-${pom.version}-solaris-i386-setup.jar
               </finalName>
@@ -193,6 +202,9 @@
               <izPackInstallFile>
                 src/main/installers/izpack-mac.xml
               </izPackInstallFile>
+              <izPackShortcutsUnixFile>
+                src/main/installers/unix_shortcuts.xml
+              </izPackShortcutsUnixFile>
               <finalName>
                 felix-${pom.version}-macosx-ppc-setup.jar
               </finalName>

Modified: incubator/felix/trunk/installers/src/main/installers/izpack-mac.xml
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/installers/src/main/installers/izpack-mac.xml?rev=383594&r1=383593&r2=383594&view=diff
==============================================================================
--- incubator/felix/trunk/installers/src/main/installers/izpack-mac.xml (original)
+++ incubator/felix/trunk/installers/src/main/installers/izpack-mac.xml Mon Mar  6 09:29:40
2006
@@ -77,10 +77,7 @@
       </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="/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" />
     </pack>
   </packs>

Modified: incubator/felix/trunk/installers/src/main/installers/izpack-unix.xml
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/installers/src/main/installers/izpack-unix.xml?rev=383594&r1=383593&r2=383594&view=diff
==============================================================================
--- incubator/felix/trunk/installers/src/main/installers/izpack-unix.xml (original)
+++ incubator/felix/trunk/installers/src/main/installers/izpack-unix.xml Mon Mar  6 09:29:40
2006
@@ -77,11 +77,8 @@
       </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/conf/config.properties" 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/felix.jar" stage="never" keep="true"
/>
     </pack>

Added: incubator/felix/trunk/installers/src/main/installers/unix_shortcuts.xml
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/installers/src/main/installers/unix_shortcuts.xml?rev=383594&view=auto
==============================================================================
--- incubator/felix/trunk/installers/src/main/installers/unix_shortcuts.xml (added)
+++ incubator/felix/trunk/installers/src/main/installers/unix_shortcuts.xml Mon Mar  6 09:29:40
2006
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<!--
+/*
+ *   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.
+ *
+ */
+ 
+  This script has been generated by the daemon installer plugin and was not
+  supplied by the application.
+ 
+ -->
+
+<shortcuts>
+  <programGroup defaultName="${app}" location="applications"/>
+
+  <shortcut
+    name="Start ${app} Server"
+    programGroup="yes"
+    desktop="yes"
+    applications="no"
+    startMenu="no"
+    startup="no"
+    target="sh"
+    workingDirectory="$INSTALL_PATH/bin"
+    commandLine="$INSTALL_PATH/bin/${server.init} start"
+    iconFile="$INSTALL_PATH/${app.icon}"
+    type="Application"
+    encoding="UTF-8"
+    description="Start ${app} Server">
+    <createForPack name="Binaries"/>
+  </shortcut>
+
+  <shortcut
+    name="Stop ${app} Server"
+    programGroup="yes"
+    desktop="yes"
+    applications="no"
+    startMenu="no"
+    startup="no"
+    target="sh"
+    workingDirectory="$INSTALL_PATH/bin"
+    commandLine="$INSTALL_PATH/bin/${server.init} stop"
+    iconFile="$INSTALL_PATH/${app.icon}"
+    type="Application"
+    encoding="UTF-8"
+    description="Start ${app} Server">
+    <createForPack name="Binaries"/>
+  </shortcut>
+
+  <shortcut
+    name="Debug ${app} Server"
+    programGroup="yes"
+    desktop="yes"
+    applications="no"
+    startMenu="no"
+    startup="no"
+    target="sh"
+    workingDirectory="$INSTALL_PATH/bin"
+    commandLine="$INSTALL_PATH/bin/${server.init} debug"
+    iconFile="$INSTALL_PATH/${app.icon}"
+    type="Application"
+    encoding="UTF-8"
+    description="Start ${app} Server">
+    <createForPack name="Binaries"/>
+  </shortcut>
+
+  <shortcut
+    name="Uninstaller"
+    programGroup="yes"
+    desktop="no"
+    applications="no"
+    startMenu="no"
+    startup="no"
+    target="java"
+    commandLine="java -jar &quot;$INSTALL_PATH/Uninstaller/uninstaller.jar&quot;"
+    initialState="noShow"
+    iconFile="trashcan_full"
+    iconIndex="0"
+    workingDirectory=""
+    type="Application"
+    encoding="UTF-8"
+    description="Uninstall ${app} Server">
+    <createForPack name="Binaries" />
+  </shortcut>
+</shortcuts>



Mime
View raw message