izpack.izpack-dist.5.0.2.source-code.Unix_shortcutSpec.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!-- Notes: - Each Shortcut has now a optional attribute createForAll="yes|no" new at 2006-09-06: TryExec="aTryExecCommand" will passes raw thru Categories="Where to put in [K]-Menu" As root you can create Shortcuts for all users or even only for yourself. This can be the case i.e. for the uninstaller. If you whant to do so, set createForAll to true otherwise to false, which is the default. ! If not explicite set or present the default is false. New Attibute for Root Installation on Linux: Categories="Development;IDE;" TryExec="java -jar "$INSTALL_PATH/Uninstaller/uninstaller.jar"" Here are some Sample Categories and their apps examine *.desktop files in /usr/share/applications ... Categories="Application;Network;WebDevelopment;" Nvu Categories="Qt;Development;GUIDesigner;" QtDesigner3 Categories="Application;System;" VMwareServer-console Categories="Network;WebBrowser;" Opera Categories="Development;Debugger;" DDD debugger Categories="Development;IDE;" Eclipse IDE Categories="SystemSetup;X-SuSE-Core-System;" Yast2 Categories="System;Archiving;" Sesam archiving Categories="System;Database;" MySQL Administrator --> <izpack:shortcuts version="5.0" xmlns:izpack="http://izpack.org/schema/shortcuts" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://izpack.org/schema/shortcuts http://izpack.org/schema/5.0/izpack-shortcuts-5.0.xsd"> <programGroup defaultName="IzPack ${project.version}" location="applications"/> <!-- Disabled since there is no Frontend shortcut name="IzPack" programGroup="yes" desktop="yes" applications="no" startMenu="yes" startup="no" target="$INSTALL_PATH/bin/izpack-fe.sh" commandLine="" workingDirectory="$INSTALL_PATH/bin" description="Front-End for IzPack installation tool" iconFile="$INSTALL_PATH/bin/icons/izpack.png" iconIndex="0" type="Application" encoding="UTF-8" terminal="true" KdeSubstUID="false" initialState="normal"> <createForPack name="Core"/> </shortcut --> <shortcut name="IzPack Html Documentation" programGroup="yes" desktop="yes" applications="no" startMenu="yes" startup="no" target="$INSTALL_PATH/bin/start.sh" workingDirectory="" commandLine="$INSTALL_PATH/doc/izpack/html/index.html" initialState="noShow" iconFile="help" iconIndex="0" url="$INSTALL_PATH/doc/izpack/html/index.html" type="Application" encoding="UTF-8" createForAll="true" categories="Application;Development;" description="This opens a WebBrowser to look into the IzPack ${project.version} (HTML) user documentation"> <createForPack name="HTML Documentation"/> </shortcut> <shortcut name="IzPack Java Documentation" programGroup="yes" desktop="yes" applications="no" startMenu="yes" startup="no" target="$INSTALL_PATH/bin/start.sh" workingDirectory="" commandLine="$INSTALL_PATH/doc/izpack/javadoc/index.html" initialState="noShow" iconFile="help" iconIndex="0" url="$INSTALL_PATH/doc/izpack/javadoc/index.html" type="Application" encoding="UTF-8" createForAll="true" categories="Application;Development;" description="This opens a WebBrowser to look into the IzPack ${project.version} (HTML) Java documentation"> <createForPack name="Javadocs Documentation"/> </shortcut> <shortcut name="IzPack PDF Documentation" programGroup="yes" desktop="yes" applications="no" startMenu="yes" startup="no" target="acroread" workingDirectory="" commandLine="$INSTALL_PATH/doc/izpack/pdf/manual.pdf" initialState="noShow" iconFile="acroread" iconIndex="0" type="Application" encoding="UTF-8" createForAll="true" categories="Application;Development;" description="This opens Adobe (Acrobat) Reader (if available) to look into or print the IzPack ${project.version} (PDF) user documentation"> <createForPack name="PDF Documentation"/> </shortcut> <shortcut name="Izpack Uninstaller" programGroup="yes" desktop="yes" applications="no" startMenu="no" startup="no" target="java" commandLine="-jar "$INSTALL_PATH/Uninstaller/uninstaller.jar"" initialState="noShow" iconFile="trashcan_full" iconIndex="0" workingDirectory="" type="Application" encoding="UTF-8" KdeSubstUID="true" KdeUsername="root" createForAll="false" categories="Application;Development;" tryexec="java -jar "$INSTALL_PATH/Uninstaller/uninstaller.jar"" description="This uninstalls IzPack ${project.version}"> <createForPack name="Core"/> </shortcut> </izpack:shortcuts>