Author: vmassol Date: 2007-09-04 16:35:23 +0200 (Tue, 04 Sep 2007) New Revision: 4710
Modified: xwiki-products/xwiki-enterprise/trunk/installers/generic/src/main/resources/shortcutSpec_unix.xml xwiki-products/xwiki-enterprise/trunk/installers/generic/src/main/resources/shortcutSpec_windows.xml Log: XE-123: Add shortcuts on the desktop/menus when using the Installers * Works on both windows and unix (Only tested on Ubuntu 7.0.4) * Some limitations: - missing icons - needs firefox on unix to start the Documentation and MyWiki links (couldn't get it to work using "Type=Link", there seems to be some bug in IzPack - Using a "My Wiki" name doesn't work on unix so I've used "My Wiki". No idea why since "Start XWiki Enterprise" works as a name... - On unix, the uninstaller creates an entry in the "Programming" menu too. No idea why. Modified: xwiki-products/xwiki-enterprise/trunk/installers/generic/src/main/resources/shortcutSpec_unix.xml =================================================================== --- xwiki-products/xwiki-enterprise/trunk/installers/generic/src/main/resources/shortcutSpec_unix.xml 2007-09-04 12:32:09 UTC (rev 4709) +++ xwiki-products/xwiki-enterprise/trunk/installers/generic/src/main/resources/shortcutSpec_unix.xml 2007-09-04 14:35:23 UTC (rev 4710) @@ -1,39 +1,97 @@ <?xml version="1.0" encoding="iso-8859-1" standalone="yes"?> <shortcuts> - <skipIfNotSupported/> - <programGroup defaultName="XWiki Enterprise" location="applications"/> - <shortcut - name="Start XWiki Enterprise" - programGroup="yes" - desktop="yes" - applications="no" - startMenu="yes" - startup="no" - target="$INSTALL_PATH/start_xwiki.sh" - workingDirectory="$INSTALL_PATH" - description="Starts XWiki Enterprise" - type="Application" - encoding="UTF-8" - terminal="true" - KdeSubstUID="false" - initialState="normal" - categories="" - createForAll="true"/> + <skipIfNotSupported/> + <programGroup defaultName="XWiki Enterprise" location="applications"/> <shortcut - name="Stop XWiki Enterprise" - programGroup="yes" - desktop="yes" - applications="no" - startMenu="yes" - startup="no" - target="$INSTALL_PATH/stop_xwiki.sh" - workingDirectory="$INSTALL_PATH" - description="Stops XWiki Enterprise" - type="Application" - encoding="UTF-8" - terminal="true" - KdeSubstUID="false" - initialState="normal" - categories="" - createForAll="true"/> + name="Start XWiki Enterprise" + programGroup="yes" + desktop="yes" + applications="no" + startMenu="yes" + startup="no" + target="$INSTALL_PATH/start_xwiki.sh" + commandLine="8080" + workingDirectory="$INSTALL_PATH" + description="Starts XWiki Enterprise" + type="Application" + encoding="UTF-8" + terminal="true" + KdeSubstUID="false" + initialState="normal" + categories="" + createForAll="true"/> + <shortcut + name="Stop XWiki Enterprise" + programGroup="yes" + desktop="yes" + applications="no" + startMenu="yes" + startup="no" + target="$INSTALL_PATH/stop_xwiki.sh" + commandLine="" + workingDirectory="$INSTALL_PATH" + description="Stops XWiki Enterprise" + type="Application" + encoding="UTF-8" + terminal="true" + KdeSubstUID="false" + initialState="normal" + categories="" + createForAll="true"/> + <!-- TODO: I'd like to use "My Wiki" (with a space) but it fails for some reason if there's a space --> + <shortcut + name="MyWiki" + programGroup="yes" + desktop="no" + applications="no" + startMenu="yes" + startup="no" + target="firefox" + commandLine="http://localhost:8080/xwiki/bin/view/Main/" + workingDirectory="" + description="Go to the local XWiki installation home page" + type="Application" + encoding="UTF-8" + terminal="false" + url="http://localhost:8080/xwiki/bin/view/Main/" + KdeSubstUID="false" + initialState="normal" + categories="" + createForAll="true"/> + <shortcut + name="Documentation" + programGroup="yes" + desktop="no" + applications="no" + startMenu="yes" + startup="no" + target="firefox" + commandLine="http://xwiki.org" + workingDirectory="" + description="XWiki Documentation" + type="Application" + encoding="UTF-8" + terminal="false" + url="http://xwiki.org" + KdeSubstUID="false" + initialState="normal" + categories="" + createForAll="true"/> + <shortcut + name="Uninstall" + programGroup="yes" + desktop="no" + applications="no" + startMenu="yes" + startup="no" + target="java" + commandLine="-jar "$INSTALL_PATH/Uninstaller/uninstaller.jar"" + initialState="noShow" + iconFile="trashcan_full" + iconIndex="0" + workingDirectory="" + type="Application" + encoding="UTF-8" + description="Uninstall XWiki" + createForAll="true"/> </shortcuts> Modified: xwiki-products/xwiki-enterprise/trunk/installers/generic/src/main/resources/shortcutSpec_windows.xml =================================================================== --- xwiki-products/xwiki-enterprise/trunk/installers/generic/src/main/resources/shortcutSpec_windows.xml 2007-09-04 12:32:09 UTC (rev 4709) +++ xwiki-products/xwiki-enterprise/trunk/installers/generic/src/main/resources/shortcutSpec_windows.xml 2007-09-04 14:35:23 UTC (rev 4710) @@ -18,4 +18,28 @@ programGroup="yes" desktop="yes" startMenu="no"/> + <shortcut name="My Wiki" + target="http://localhost:8080/xwiki/bin/view/Main/" + workingDirectory="" + description="Go to the local XWiki installation home page" + initialState="normal" + programGroup="yes" + desktop="no" + startMenu="no"/> + <shortcut name="Documentation" + target="http://xwiki.org" + workingDirectory="" + description="XWiki Documentation" + initialState="normal" + programGroup="yes" + desktop="no" + startMenu="no"/> + <shortcut name="Uninstall" + target="javaw" + commandLine="-jar "$INSTALL_PATH\Uninstaller\uninstaller.jar"" + description="Uninstall XWiki" + initialState="normal" + programGroup="yes" + desktop="no" + startMenu="no"/> </shortcuts> _______________________________________________ notifications mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/notifications
