You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by fo...@apache.org on 2006/02/14 04:32:39 UTC
svn commit: r377597 - in
/incubator/servicemix/trunk/tooling/servicemix-installer/src/main/izpack:
./ jar-installer-config.jsl
Author: foconer
Date: Mon Feb 13 19:32:37 2006
New Revision: 377597
URL: http://svn.apache.org/viewcvs?rev=377597&view=rev
Log:
Added izpack configuration file for cross platform independent installer.
Added:
incubator/servicemix/trunk/tooling/servicemix-installer/src/main/izpack/
incubator/servicemix/trunk/tooling/servicemix-installer/src/main/izpack/jar-installer-config.jsl
Added: incubator/servicemix/trunk/tooling/servicemix-installer/src/main/izpack/jar-installer-config.jsl
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/tooling/servicemix-installer/src/main/izpack/jar-installer-config.jsl?rev=377597&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-installer/src/main/izpack/jar-installer-config.jsl (added)
+++ incubator/servicemix/trunk/tooling/servicemix-installer/src/main/izpack/jar-installer-config.jsl Mon Feb 13 19:32:37 2006
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * ========================================================================
+ *
+ * Copyright 2004-2005 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.
+ *
+ * ========================================================================
+-->
+
+<jsl:stylesheet select="$doc"
+ xmlns:j="jelly:core"
+ xmlns:jsl="jelly:jsl"
+ xmlns:maven="jelly:maven"
+ xmlns:x="jelly:xml"
+ xmlns:util="jelly:util"
+ xmlns="dummy" trim="true">
+
+ <j:set var="installer.path" value="$INSTALL_PATH"/>
+ <installation version="1.0">
+ <info>
+ <appname>${pom.name}</appname>
+ <appversion>${pom.currentVersion}</appversion>
+ <appsubpath>${maven.final.name}</appsubpath>
+ <authors>
+ <j:set var="developers" value="${pom.developers}"/>
+ <j:if test="${!empty(developers)}">
+ <j:forEach var="developer" items="${pom.developers}">
+ <author name="${developer.name}" email="${developer.email}"/>
+ </j:forEach>
+ </j:if>
+ </authors>
+ <url>${pom.url}</url>
+ <javaversion>1.4</javaversion>
+ </info>
+
+ <guiprefs width="800" height="600" resizable="yes">
+ <laf name="looks">
+ <os family="unix"/>
+ <os family="windows"/>
+ <os family="mac"/>
+ </laf>
+ </guiprefs>
+
+ <locale>
+ <langpack iso3="eng"/>
+ </locale>
+
+ <!-- For Windows shortcuts -->
+ <native type="izpack" name="ShellLink.dll"/>
+
+ <resources>
+ <res id="LicencePanel.licence" src="${maven.license.licenseFile}"/>
+ <!-- res id="Unix_shortcutSpec.xml" src="${maven.izpack.build.shortcut.unix.file}"/>
+ <res id="shortcutSpec.xml" src="${maven.izpack.build.shortcut.win.file}"/ -->
+ </resources>
+
+ <panels>
+ <panel classname="HelloPanel"/>
+ <panel classname="LicencePanel"/>
+ <panel classname="TargetPanel"/>
+ <panel classname="PacksPanel"/>
+ <panel classname="InstallPanel"/>
+ <!-- panel classname="ShortcutPanel"/ -->
+ <panel classname="FinishPanel"/>
+ </panels>
+
+ <packs>
+ <pack name="${maven.izpack.template.pack.core.name}" required="yes">
+ <description>${maven.izpack.template.pack.core.description}</description>
+ <!-- singlefile src="${maven.izpack.template.shortcut.unix.main.icon.file}" target="${installer.path}/${maven.izpack.template.shortcut.build.unix.app.icon.filename}"/>
+ <singlefile src="${maven.izpack.template.shortcut.win.main.icon.file}" target="${installer.path}/${maven.izpack.template.shortcut.build.win.app.icon.filename}"/>
+ <singlefile src="${maven.izpack.template.shortcut.unix.uninstaller.icon.file}" target="${installer.path}/${maven.izpack.template.shortcut.build.unix.uninstaller.icon.filename}"/>
+ <singlefile src="${maven.izpack.template.shortcut.win.uninstaller.icon.file}" target="${installer.path}/${maven.izpack.template.shortcut.build.win.uninstaller.icon.filename}"/ -->
+ <fileset dir="${maven.izpack.template.pack.core.dir}" targetdir="${installer.path}">
+ <exclude name="docs/**"/><!-- todo fix dist and remove this HACK -->
+ </fileset>
+ </pack>
+ <j:if test="${maven.izpack.template.pack.docs.include}">
+ <pack name="${maven.izpack.template.pack.docs.name}" required="no" preselected="yes">
+ <description>${maven.izpack.template.pack.docs.description}</description>
+ <fileset dir="${maven.izpack.template.pack.docs.dir}" targetdir="${installer.path}/docs"/>
+ </pack>
+ </j:if>
+ <j:if test="${maven.izpack.template.pack.src.include}">
+ <pack name="${maven.izpack.template.pack.src.name}" required="no" preselected="no">
+ <description>${maven.izpack.template.pack.src.description}</description>
+ <fileset dir="${maven.izpack.template.pack.src.dir}" targetdir="${installer.path}/src"/>
+ </pack>
+ </j:if>
+ </packs>
+ </installation>
+
+</jsl:stylesheet>
\ No newline at end of file