Author: gnodet
Date: Tue May 22 15:53:27 2007
New Revision: 540783
URL: http://svn.apache.org/viewvc?view=rev&rev=540783
Log:
Add installers module
Added:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/
incubator/servicemix/branches/osgi/servicemix-osgi/installers/pom.xml
(with props)
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/bootstrapper.properties
(with props)
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/bundle/
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/bundle/telnetd.jar
(with props)
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/config.properties
(with props)
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/inno-servicemix.iss
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-mac.xml
(with props)
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-unix.xml
(with props)
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-windows.xml
(with props)
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/log4j.properties
(with props)
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/rpm-servicemix.spec
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/servicemix.sh
(with props)
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/unix_shortcuts.xml
(with props)
Added: incubator/servicemix/branches/osgi/servicemix-osgi/installers/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/servicemix/branches/osgi/servicemix-osgi/installers/pom.xml?view=auto&rev=540783
==============================================================================
--- incubator/servicemix/branches/osgi/servicemix-osgi/installers/pom.xml
(added)
+++ incubator/servicemix/branches/osgi/servicemix-osgi/installers/pom.xml Tue
May 22 15:53:27 2007
@@ -0,0 +1,256 @@
+<?xml version="1.0"?>
+<project>
+
+ <parent>
+ <groupId>org.apache.servicemix</groupId>
+ <artifactId>osgi</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <name>ServiceMix OSGI Installers</name>
+ <groupId>org.apache.servicemix.osgi</groupId>
+ <artifactId>installers</artifactId>
+ <packaging>pom</packaging>
+ <version>1.0-SNAPSHOT</version>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.directory.daemon</groupId>
+ <artifactId>daemon-bootstrappers</artifactId>
+ <version>1.1.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>nlog4j</artifactId>
+ <version>1.2.19</version>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-daemon</groupId>
+ <artifactId>commons-daemon</artifactId>
+ <version>1.0.1</version>
+ </dependency>
+
+ <!-- Felix Dependencies -->
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.main</artifactId>
+ <version>${felix.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.daemon</artifactId>
+ <version>${felix.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.shell</artifactId>
+ <version>${felix.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.shell.tui</artifactId>
+ <version>${felix.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.bundlerepository</artifactId>
+ <version>${felix.version}</version>
+ </dependency>
+
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.directory.daemon</groupId>
+ <artifactId>daemon-plugin</artifactId>
+ <version>1.1.0</version>
+ <configuration>
+ <excludes>
+ <exclude>ant:ant</exclude>
+ <exclude>xerces:xercesImpl</exclude>
+ <exclude>org.apache.felix:org.apache.felix.main</exclude>
+ <!--
+ <exclude>org.apache.felix:org.apache.felix.shell</exclude>
+ <exclude>org.apache.felix:org.apache.felix.shell.tui</exclude>
+
<exclude>org.apache.felix:org.apache.felix.bundlerepository</exclude>
+ -->
+ </excludes>
+ <application>
+ <name>servicemix</name>
+ <version>${pom.version}</version>
+ <copyrightYear>2006</copyrightYear>
+ <minimumJavaVersion>1.5</minimumJavaVersion>
+ <url>http://incubator.apache.org/servicemix</url>
+ <email>[EMAIL PROTECTED]</email>
+ <description>Apache ServiceMix</description>
+ <authors>
+ <author>Apache ServiceMix Team</author>
+ <author>[EMAIL PROTECTED]</author>
+ </authors>
+ </application>
+ <packagedFiles>
+ <packagedFile>
+ <filtered>true</filtered>
+ <source>config.properties</source>
+ <destinationPath>conf/config.properties</destinationPath>
+ </packagedFile>
+ <packagedFile>
+ <dependency>true</dependency>
+ <source>org.apache.felix:org.apache.felix.main</source>
+ <destinationPath>
+ bin/servicemix.jar
+ </destinationPath>
+ </packagedFile>
+ <packagedFile>
+ <dependency>true</dependency>
+ <source>org.apache.felix:org.apache.felix.shell</source>
+ <destinationPath>
+ bundle/org.apache.felix.shell-${felix.version}.jar
+ </destinationPath>
+ </packagedFile>
+ <packagedFile>
+ <dependency>true</dependency>
+ <source>org.apache.felix:org.apache.felix.shell.tui</source>
+ <destinationPath>
+ bundle/org.apache.felix.shell.tui-${felix.version}.jar
+ </destinationPath>
+ </packagedFile>
+ <packagedFile>
+ <dependency>true</dependency>
+
<source>org.apache.felix:org.apache.felix.bundlerepository</source>
+ <destinationPath>
+ bundle/org.apache.felix.bundlerepository-${felix.version}.jar
+ </destinationPath>
+ </packagedFile>
+ <packagedFile>
+ <source>bundle/telnetd.jar</source>
+ <destinationPath>bundle/telnetd.jar</destinationPath>
+ </packagedFile>
+ </packagedFiles>
+ <!--
+ <svnBaseUrl>
+ http://svn.apache.org/repos/asf/incubator/felix/trunk
+ </svnBaseUrl>
+ <packageSources>true</packageSources>
+ <packageDocs>true</packageDocs>
+ -->
+ <applicationClass>
+ org.apache.felix.daemon.Service
+ </applicationClass>
+ <rpmTargets>
+ <rpmTarget>
+ <id>linux-jsvc-rpm</id>
+ <rpmSpecificationFile>
+ src/main/installers/rpm-servicemix.spec
+ </rpmSpecificationFile>
+ <finalName>
+ servicemix-${pom.version}-linux-i386.rpm
+ </finalName>
+ <osName>Linux</osName>
+ <osFamily>unix</osFamily>
+ <osArch>i386</osArch>
+ <daemonFramework>jsvc</daemonFramework>
+ </rpmTarget>
+ </rpmTargets>
+ <innoTargets>
+ <innoTarget>
+ <id>windows-xp-procrun</id>
+ <innoConfigurationFile>
+ src/main/installers/inno-servicemix.iss
+ </innoConfigurationFile>
+ <finalName>
+ servicemix-${pom.version}-win32-setup
+ </finalName>
+ <osName>Windows XP</osName>
+ <osFamily>windows</osFamily>
+ <osVersion>5.1</osVersion>
+ <osArch>x86</osArch>
+ <daemonFramework>procrun</daemonFramework>
+ </innoTarget>
+ </innoTargets>
+ <izPackTargets>
+ <izPackTarget>
+ <id>linux-jsvc</id>
+ <izPackInstallFile>
+ src/main/installers/izpack-unix.xml
+ </izPackInstallFile>
+ <izPackShortcutsUnixFile>
+ src/main/installers/unix_shortcuts.xml
+ </izPackShortcutsUnixFile>
+ <finalName>
+ servicemix-${pom.version}-linux-i386-setup.jar
+ </finalName>
+ <osName>Linux</osName>
+ <osFamily>unix</osFamily>
+ <osArch>i386</osArch>
+ <daemonFramework>jsvc</daemonFramework>
+ </izPackTarget>
+ <izPackTarget>
+ <finalName>
+ servicemix-${pom.version}-solaris-sparc-setup.jar
+ </finalName>
+ <id>solaris-jsvc-sparc</id>
+ <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>
+ <daemonFramework>jsvc</daemonFramework>
+ </izPackTarget>
+ <izPackTarget>
+ <id>solaris-jsvc-i386</id>
+ <izPackInstallFile>
+ src/main/installers/izpack-unix.xml
+ </izPackInstallFile>
+ <izPackShortcutsUnixFile>
+ src/main/installers/unix_shortcuts.xml
+ </izPackShortcutsUnixFile>
+ <finalName>
+ servicemix-${pom.version}-solaris-i386-setup.jar
+ </finalName>
+ <osName>sunos</osName>
+ <osFamily>unix</osFamily>
+ <osArch>i386</osArch>
+ <daemonFramework>jsvc</daemonFramework>
+ </izPackTarget>
+ <izPackTarget>
+ <id>macosx-jsvc</id>
+ <izPackInstallFile>
+ src/main/installers/izpack-mac.xml
+ </izPackInstallFile>
+ <izPackShortcutsUnixFile>
+ src/main/installers/unix_shortcuts.xml
+ </izPackShortcutsUnixFile>
+ <finalName>
+ servicemix-${pom.version}-macosx-ppc-setup.jar
+ </finalName>
+ <osName>macosx</osName>
+ <osFamily>unix</osFamily>
+ <osArch>ppc</osArch>
+ <daemonFramework>jsvc</daemonFramework>
+ </izPackTarget>
+ </izPackTargets>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
+
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/pom.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/bootstrapper.properties
URL:
http://svn.apache.org/viewvc/incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/bootstrapper.properties?view=auto&rev=540783
==============================================================================
---
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/bootstrapper.properties
(added)
+++
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/bootstrapper.properties
Tue May 22 15:53:27 2007
@@ -0,0 +1,2 @@
+bootstrap.start.class=org.apache.felix.daemon.Service
+bootstrap.stop.class=org.apache.felix.daemon.Service
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/bootstrapper.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/bootstrapper.properties
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/bootstrapper.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/bundle/telnetd.jar
URL:
http://svn.apache.org/viewvc/incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/bundle/telnetd.jar?view=auto&rev=540783
==============================================================================
Binary file - no diff available.
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/bundle/telnetd.jar
------------------------------------------------------------------------------
svn:mime-type = application/java-archive
Added:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/config.properties
URL:
http://svn.apache.org/viewvc/incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/config.properties?view=auto&rev=540783
==============================================================================
---
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/config.properties
(added)
+++
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/config.properties
Tue May 22 15:53:27 2007
@@ -0,0 +1,322 @@
+#
+# Framework config properties.
+#
+org.osgi.framework.system.packages=org.osgi.framework; version=1.3.0, \
+ org.osgi.service.packageadmin; version=1.2.0, \
+ org.osgi.service.startlevel; version=1.0.0, \
+ org.osgi.service.url; version=1.0.0, \
+ ${jre-${java.specification.version}}
+#org.osgi.framework.bootdelegation=sun.*,com.sun.*
+felix.auto.start.1= \
+
"file:${servicemix.home}/bundle/org.apache.felix.shell-0.9.0-incubator-SNAPSHOT.jar"
\
+
"file:${servicemix.home}/bundle/org.apache.felix.shell.tui-0.9.0-incubator-SNAPSHOT.jar"
\
+
"file:${servicemix.home}/bundle/org.apache.felix.bundlerepository-0.9.0-incubator-SNAPSHOT.jar"
\
+ "file:${servicemix.home}/bundle/telnetd.jar"
+felix.startlevel.framework=1
+felix.startlevel.bundle=1
+felix.cache.profiledir=${servicemix.home}/var/cache
+#framework.service.urlhandlers=false
+
+#
+# Bundle config properties.
+#
+org.osgi.service.http.port=8080
+osgi.shell.telnet=on
+#osgi.repository.url=file:/home/rickhall/projects/apache/repository.xml
+
+#
+# Java platform package export properties.
+#
+jre-1.3= \
+ javax.accessibility; \
+ javax.accessibility.resources; \
+ javax.naming; \
+ javax.naming.directory; \
+ javax.naming.event; \
+ javax.naming.ldap; \
+ javax.naming.spi; \
+ javax.rmi; \
+ javax.rmi.CORBA; \
+ javax.sound.midi; \
+ javax.sound.midi.spi; \
+ javax.sound.sampled; \
+ javax.sound.sampled.spi; \
+ javax.swing; \
+ javax.swing.border; \
+ javax.swing.colorchooser; \
+ javax.swing.event; \
+ javax.swing.filechooser; \
+ javax.swing.plaf; \
+ javax.swing.plaf.basic; \
+ javax.swing.plaf.basic.resources; \
+ javax.swing.plaf.metal; \
+ javax.swing.plaf.metal.resources; \
+ javax.swing.plaf.multi; \
+ javax.swing.table; \
+ javax.swing.text; \
+ javax.swing.text.html; \
+ javax.swing.text.html.parser; \
+ javax.swing.text.rtf; \
+ javax.swing.tree; \
+ javax.swing.undo; \
+ javax.transaction; \
+ org.omg.CORBA; \
+ org.omg.CORBA_2_3; \
+ org.omg.CORBA_2_3.portable; \
+ org.omg.CORBA.DynAnyPackage; \
+ org.omg.CORBA.ORBPackage; \
+ org.omg.CORBA.portable; \
+ org.omg.CORBA.TypeCodePackage; \
+ org.omg.CosNaming; \
+ org.omg.CosNaming.NamingContextPackage; \
+ org.omg.SendingContext; \
+ org.omg.stub.java.rmi; \
+ version="1.3.0"
+
+jre-1.4= \
+ javax.accessibility; \
+ javax.imageio; \
+ javax.imageio.event; \
+ javax.imageio.metadata; \
+ javax.imageio.plugins.jpeg; \
+ javax.imageio.spi; \
+ javax.imageio.stream; \
+ javax.naming; \
+ javax.naming.directory; \
+ javax.naming.event; \
+ javax.naming.ldap; \
+ javax.naming.spi; \
+ javax.print; \
+ javax.print.attribute; \
+ javax.print.attribute.standard; \
+ javax.print.event; \
+ javax.rmi; \
+ javax.rmi.CORBA; \
+ javax.security.auth; \
+ javax.security.auth.callback; \
+ javax.security.auth.kerberos; \
+ javax.security.auth.login; \
+ javax.security.auth.spi; \
+ javax.security.auth.x500; \
+ javax.sound.midi; \
+ javax.sound.midi.spi; \
+ javax.sound.sampled; \
+ javax.sound.sampled.spi; \
+ javax.sql; \
+ javax.swing; \
+ javax.swing.border; \
+ javax.swing.colorchooser; \
+ javax.swing.event; \
+ javax.swing.filechooser; \
+ javax.swing.plaf; \
+ javax.swing.plaf.basic; \
+ javax.swing.plaf.metal; \
+ javax.swing.plaf.multi; \
+ javax.swing.table; \
+ javax.swing.text; \
+ javax.swing.text.html; \
+ javax.swing.text.html.parser; \
+ javax.swing.text.rtf; \
+ javax.swing.tree; \
+ javax.swing.undo; \
+ javax.transaction; \
+ javax.transaction.xa; \
+ javax.xml.parsers; \
+ javax.xml.transform; \
+ javax.xml.transform.dom; \
+ javax.xml.transform.sax; \
+ javax.xml.transform.stream; \
+ org.apache.crimson.jaxp; \
+ org.apache.crimson.parser; \
+ org.apache.crimson.parser.resources; \
+ org.apache.crimson.tree; \
+ org.apache.crimson.tree.resources; \
+ org.apache.crimson.util; \
+ org.apache.xalan; \
+ org.apache.xalan.client; \
+ org.apache.xalan.extensions; \
+ org.apache.xalan.lib; \
+ org.apache.xalan.lib.sql; \
+ org.apache.xalan.processor; \
+ org.apache.xalan.res; \
+ org.apache.xalan.serialize; \
+ org.apache.xalan.templates; \
+ org.apache.xalan.trace; \
+ org.apache.xalan.transformer; \
+ org.apache.xalan.xslt; \
+ org.apache.xml.dtm; \
+ org.apache.xml.dtm.ref; \
+ org.apache.xml.dtm.ref.dom2dtm; \
+ org.apache.xml.dtm.ref.sax2dtm; \
+ org.apache.xml.utils; \
+ org.apache.xml.utils.res; \
+ org.apache.xml.utils.synthetic; \
+ org.apache.xml.utils.synthetic.reflection; \
+ org.apache.xpath; \
+ org.apache.xpath.axes; \
+ org.apache.xpath.compiler; \
+ org.apache.xpath.functions; \
+ org.apache.xpath.objects; \
+ org.apache.xpath.operations; \
+ org.apache.xpath.patterns; \
+ org.apache.xpath.res; \
+ org.ietf.jgss; \
+ org.omg.CORBA; \
+ org.omg.CORBA_2_3; \
+ org.omg.CORBA_2_3.portable; \
+ org.omg.CORBA.DynAnyPackage; \
+ org.omg.CORBA.ORBPackage; \
+ org.omg.CORBA.portable; \
+ org.omg.CORBA.TypeCodePackage; \
+ org.omg.CosNaming; \
+ org.omg.CosNaming.NamingContextExtPackage; \
+ org.omg.CosNaming.NamingContextPackage; \
+ org.omg.Dynamic; \
+ org.omg.DynamicAny; \
+ org.omg.DynamicAny.DynAnyFactoryPackage; \
+ org.omg.DynamicAny.DynAnyPackage; \
+ org.omg.IOP; \
+ org.omg.IOP.CodecFactoryPackage; \
+ org.omg.IOP.CodecPackage; \
+ org.omg.Messaging; \
+ org.omg.PortableInterceptor; \
+ org.omg.PortableInterceptor.ORBInitInfoPackage; \
+ org.omg.PortableServer; \
+ org.omg.PortableServer.CurrentPackage; \
+ org.omg.PortableServer.POAManagerPackage; \
+ org.omg.PortableServer.POAPackage; \
+ org.omg.PortableServer.portable; \
+ org.omg.PortableServer.ServantLocatorPackage; \
+ org.omg.SendingContext; \
+ org.omg.stub.java.rmi; \
+ org.w3c.dom; \
+ org.w3c.dom.css; \
+ org.w3c.dom.events; \
+ org.w3c.dom.html; \
+ org.w3c.dom.stylesheets; \
+ org.w3c.dom.traversal; \
+ org.w3c.dom.views; \
+ org.xml.sax; \
+ org.xml.sax.ext; \
+ org.xml.sax.helpers; \
+ version="1.4.0"
+
+jre-1.5= \
+ javax.accessibility; \
+ javax.activity; \
+ javax.imageio; \
+ javax.imageio.event; \
+ javax.imageio.metadata; \
+ javax.imageio.plugins.bmp; \
+ javax.imageio.plugins.jpeg; \
+ javax.imageio.spi; \
+ javax.imageio.stream; \
+ javax.management; \
+ javax.management.loading; \
+ javax.management.modelmbean; \
+ javax.management.monitor; \
+ javax.management.openmbean; \
+ javax.management.relation; \
+ javax.management.remote; \
+ javax.management.remote.rmi; \
+ javax.management.timer; \
+ javax.naming; \
+ javax.naming.directory; \
+ javax.naming.event; \
+ javax.naming.ldap; \
+ javax.naming.spi; \
+ javax.print; \
+ javax.print.attribute; \
+ javax.print.attribute.standard; \
+ javax.print.event; \
+ javax.rmi; \
+ javax.rmi.CORBA; \
+ javax.rmi.ssl; \
+ javax.security.auth; \
+ javax.security.auth.callback; \
+ javax.security.auth.kerberos; \
+ javax.security.auth.login; \
+ javax.security.auth.spi; \
+ javax.security.auth.x500; \
+ javax.security.sasl; \
+ javax.sound.midi; \
+ javax.sound.midi.spi; \
+ javax.sound.sampled; \
+ javax.sound.sampled.spi; \
+ javax.sql; \
+ javax.sql.rowset; \
+ javax.sql.rowset.serial; \
+ javax.sql.rowset.spi; \
+ javax.swing; \
+ javax.swing.border; \
+ javax.swing.colorchooser; \
+ javax.swing.event; \
+ javax.swing.filechooser; \
+ javax.swing.plaf; \
+ javax.swing.plaf.basic; \
+ javax.swing.plaf.metal; \
+ javax.swing.plaf.multi; \
+ javax.swing.plaf.synth; \
+ javax.swing.table; \
+ javax.swing.text; \
+ javax.swing.text.html; \
+ javax.swing.text.html.parser; \
+ javax.swing.text.rtf; \
+ javax.swing.tree; \
+ javax.swing.undo; \
+ javax.transaction; \
+ javax.transaction.xa; \
+ javax.xml; \
+ javax.xml.datatype; \
+ javax.xml.namespace; \
+ javax.xml.parsers; \
+ javax.xml.transform; \
+ javax.xml.transform.dom; \
+ javax.xml.transform.sax; \
+ javax.xml.transform.stream; \
+ javax.xml.validation; \
+ javax.xml.xpath; \
+ org.ietf.jgss; \
+ org.omg.CORBA; \
+ org.omg.CORBA_2_3; \
+ org.omg.CORBA_2_3.portable; \
+ org.omg.CORBA.DynAnyPackage; \
+ org.omg.CORBA.ORBPackage; \
+ org.omg.CORBA.portable; \
+ org.omg.CORBA.TypeCodePackage; \
+ org.omg.CosNaming; \
+ org.omg.CosNaming.NamingContextExtPackage; \
+ org.omg.CosNaming.NamingContextPackage; \
+ org.omg.Dynamic; \
+ org.omg.DynamicAny; \
+ org.omg.DynamicAny.DynAnyFactoryPackage; \
+ org.omg.DynamicAny.DynAnyPackage; \
+ org.omg.IOP; \
+ org.omg.IOP.CodecFactoryPackage; \
+ org.omg.IOP.CodecPackage; \
+ org.omg.Messaging; \
+ org.omg.PortableInterceptor; \
+ org.omg.PortableInterceptor.ORBInitInfoPackage; \
+ org.omg.PortableServer; \
+ org.omg.PortableServer.CurrentPackage; \
+ org.omg.PortableServer.POAManagerPackage; \
+ org.omg.PortableServer.POAPackage; \
+ org.omg.PortableServer.portable; \
+ org.omg.PortableServer.ServantLocatorPackage; \
+ org.omg.SendingContext; \
+ org.omg.stub.java.rmi; \
+ org.omg.stub.javax.management.remote.rmi; \
+ org.w3c.dom; \
+ org.w3c.dom.bootstrap; \
+ org.w3c.dom.css; \
+ org.w3c.dom.events; \
+ org.w3c.dom.html; \
+ org.w3c.dom.ls; \
+ org.w3c.dom.ranges; \
+ org.w3c.dom.stylesheets; \
+ org.w3c.dom.traversal; \
+ org.w3c.dom.views; \
+ org.xml.sax; \
+ org.xml.sax.ext; \
+ org.xml.sax.helpers; \
+ version="1.5.0"
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/config.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/config.properties
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/config.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/inno-servicemix.iss
URL:
http://svn.apache.org/viewvc/incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/inno-servicemix.iss?view=auto&rev=540783
==============================================================================
---
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/inno-servicemix.iss
(added)
+++
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/inno-servicemix.iss
Tue May 22 15:53:27 2007
@@ -0,0 +1,83 @@
+; Project supplied Inno Setup File
+
+#define MyAppName "${app}"
+#define MyAppVerName "${app} ${app.version}"
+#define MyAppVersion "${app.version}"
+#define MyAppPublisher "${app.author}"
+#define MyAppURL "${app.url}"
+#define MyAppExeName "${app}w.exe"
+#define MyAppCompanyName "${app.company.name}"
+#define MyAppDescription "${app.description}"
+#define MyAppCopyright "Copyright (c) ${app.copyright.year}
${app.company.name}"
+
+; Set this constant to the path where your installation image resides
+#define SourceBase "${image.basedir}"
+
+[Setup]
+AppName={#MyAppName}
+AppVerName={#MyAppVerName}
+AppPublisher={#MyAppPublisher}
+AppPublisherURL={#MyAppURL}
+AppSupportURL={#MyAppURL}
+AppUpdatesURL={#MyAppURL}
+DefaultDirName={pf}\${app}-${app.version}
+DefaultGroupName={#MyAppName}
+LicenseFile={#SourceBase}\${app.license.name}
+OutputDir="${installer.output.directory}"
+OutputBaseFilename=${app.final.name}
+SetupIconFile={#SourceBase}\${app.icon.name}
+Compression=lzma
+SolidCompression=true
+VersionInfoCompany={#MyAppCompanyName}
+VersionInfoDescription={#MyAppDescription}
+AppCopyright={#MyAppCopyright}
+ShowLanguageDialog=yes
+AppVersion={#MyAppVersion}
+
+[Languages]
+Name: eng; MessagesFile: compiler:Default.isl
+
+[Tasks]
+Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription:
{cm:AdditionalIcons}; Flags: unchecked
+
+[Files]
+; bin directory targets
+Source: {#SourceBase}\bin\${app}w.exe; DestDir: {app}\bin; Tasks: ; Languages:
+Source: {#SourceBase}\bin\${app}.exe; DestDir: {app}\bin
+Source: {#SourceBase}\bin\bootstrapper.jar; DestDir: {app}\bin; DestName:
bootstrapper.jar
+Source: {#SourceBase}\bin\servicemix.jar; DestDir: {app}\bin; DestName:
servicemix.jar
+Source: {#SourceBase}\bin\logger.jar; DestDir: {app}\bin; DestName: logger.jar
+Source: {#SourceBase}\bin\daemon.jar; DestDir: {app}\bin; DestName: daemon.jar
+; bundle directory targets
+Source: {#SourceBase}\bundle\*; DestDir: {app}\bundle; Flags: ignoreversion
recursesubdirs createallsubdirs
+; conf directory targets
+Source: {#SourceBase}\conf\log4j.properties; DestDir: {app}\conf; DestName:
log4j.properties
+Source: {#SourceBase}\conf\bootstrapper.properties; DestDir: {app}\conf;
DestName: bootstrapper.properties
+Source: {#SourceBase}\conf\config.properties; DestDir: {app}\conf; DestName:
config.properties
+; top level directory targets
+Source: {#SourceBase}\${app.license.name}; DestDir: {app}; DestName:
${app.license.name}
+Source: {#SourceBase}\${app.readme.name}; DestDir: {app}; DestName:
${app.readme.name}
+Source: {#SourceBase}\${app.icon.name}; DestDir: {app}; DestName:
${app.icon.name}
+; empty var & lib\ext directory structure
+Source: {#SourceBase}\var\*; DestDir: "{app}\var\"; Flags: ignoreversion
recursesubdirs createallsubdirs
+Source: {#SourceBase}\lib\ext; DestDir: "{app}\lib"; Flags: ignoreversion
recursesubdirs createallsubdirs
+; lib directory targets
+${app.lib.jars}
+${docs.directive}
+${sources.directive}
+${notice.file}
+
+[Icons]
+Name: {group}\Service Settings; Filename: {app}\bin\${app}w.exe; Parameters:
//ES//${app}; IconIndex: 0
+Name: {userdesktop}\{#MyAppName}; Filename: {app}\bin\${app}w.exe; Tasks:
desktopicon; Parameters: //ES//${app}; IconIndex: 0; Languages:
+Name: {group}\Tray Monitor; Filename: {app}\bin\${app}w.exe; Parameters:
//MS//${app}; IconIndex: 0
+Name: {group}\Test Service; Filename: {app}\bin\${app}.exe; IconIndex: 0
+
+[Run]
+Filename: {app}\bin\${app}.exe; WorkingDir: {app}\bin; Tasks: ; Languages: ;
Parameters: "//IS//${app.displayname} --Description=""${app.description}
Service ${app.version} - ${app.url}"" --DisplayName=${app.displayname}
--Install=""{app}\bin\${app}.exe"" --StartMode=jvm --StopMode=jvm
--StartClass=org.apache.directory.daemon.ProcrunBootstrapper --StartMethod
prunsrvStart --StartParams=""{app}""
--StopClass=org.apache.directory.daemon.ProcrunBootstrapper --StopMethod
prunsrvStop --StopParams=""{app}"" --Startup=manual
--JvmOptions=""-D${app}.home={app}""
--Classpath=""{app}\bin\bootstrapper.jar;{app}\conf;{app}\bin\logger.jar;{app}\bin\daemon.jar""
--LogPath=""{app}\var\log"" --LogPrefix=${app}.log --LogLevel=debug
--StdOutput=""{app}\var\log\${app}-stdout.log""
--StdError=""{app}\var\log\${app}-stderr.log"""; Flags: runhidden
+Filename: {app}\bin\${app}w.exe; Parameters: //ES//${app.displayname};
WorkingDir: {app}\bin; Flags: postinstall nowait; Description: Runs the
configuration manager for the ${app} windows service
+
+[Registry]
+
+[UninstallRun]
+Filename: {app}\bin\${app}.exe; WorkingDir: {app}\bin; Parameters:
//DS//${app.displayname}
Added:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-mac.xml
URL:
http://svn.apache.org/viewvc/incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-mac.xml?view=auto&rev=540783
==============================================================================
---
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-mac.xml
(added)
+++
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-mac.xml
Tue May 22 15:53:27 2007
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+
+<installation version="1.0">
+ <info>
+ <appname>${app}</appname>
+ <appversion>${app.version}</appversion>
+ <appsubpath>${app}-${app.version}</appsubpath>
+ <authors>
+ <author name="${app.author}" email="${app.email}" />
+ </authors>
+ <url>${app.url}</url>
+ <javaversion>${app.java.version}</javaversion>
+ </info>
+
+ <guiprefs height="480" resizable="yes" width="640">
+ <laf name="metouia">
+ <os family="unix" />
+ </laf>
+ </guiprefs>
+
+ <locale>
+ <langpack iso3="eng" />
+ </locale>
+
+ <resources>
+ <res id="installer.langsel.img" src="${app.icon}" />
+ <res id="Installer.image" src="${app.icon}" />
+ <res id="Installer.image.0" src="${app.icon}" />
+ <res id="Installer.image.1" src="${app.icon}" />
+ <res id="Installer.image.2" src="${app.icon}" />
+ <res id="Installer.image.3" src="${app.icon}" />
+ <res id="Installer.image.4" src="${app.icon}" />
+ <res id="Installer.image.5" src="${app.icon}" />
+ <res id="LicencePanel.licence" src="${app.license}" />
+ <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="shortcutSpec.xml" src="${unix.shortcuts}" />
+ <res id="Unix_shortcutSpec.xml" src="${unix.shortcuts}" />
+ <res id="userInputSpec.xml" src="${user.input}" />
+ </resources>
+
+ <panels>
+ <panel classname="HelloPanel" />
+ <panel classname="InfoPanel" />
+ <panel classname="LicencePanel" />
+ <panel classname="TargetPanel" />
+ <panel classname="ImgPacksPanel" />
+ <panel classname="InstallPanel" />
+ <panel classname="ShortcutPanel" />
+ <panel classname="FinishPanel" />
+ </panels>
+
+ <packs>
+ <pack name="Binaries" required="yes">
+ <description>Binary Executables</description>
+ <fileset dir="${image.basedir}" targetdir="$INSTALL_PATH">
+ <include name="**/*" />
+ </fileset>
+
+ <executable os="unix" targetfile="$INSTALL_PATH/bin/${app}"
stage="never" keep="true" />
+ <parsable os="unix" targetfile="$INSTALL_PATH/bin/${server.init}"
type="shell" />
+ <executable os="unix" targetfile="$INSTALL_PATH/bin/${server.init}"
stage="never" keep="true" />
+ </pack>
+ </packs>
+</installation>
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-mac.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-mac.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-mac.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-unix.xml
URL:
http://svn.apache.org/viewvc/incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-unix.xml?view=auto&rev=540783
==============================================================================
---
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-unix.xml
(added)
+++
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-unix.xml
Tue May 22 15:53:27 2007
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+
+<installation version="1.0">
+ <info>
+ <appname>${app}</appname>
+ <appversion>${app.version}</appversion>
+ <appsubpath>${app}-${app.version}</appsubpath>
+ <authors>
+ <author name="${app.author}" email="${app.email}" />
+ </authors>
+ <url>${app.url}</url>
+ <javaversion>${app.java.version}</javaversion>
+ </info>
+
+ <guiprefs height="480" resizable="yes" width="640">
+ <laf name="metouia">
+ <os family="unix" />
+ </laf>
+ </guiprefs>
+
+ <locale>
+ <langpack iso3="eng" />
+ </locale>
+
+ <resources>
+ <res id="installer.langsel.img" src="${app.icon}" />
+ <res id="Installer.image" src="${app.icon}" />
+ <res id="Installer.image.0" src="${app.icon}" />
+ <res id="Installer.image.1" src="${app.icon}" />
+ <res id="Installer.image.2" src="${app.icon}" />
+ <res id="Installer.image.3" src="${app.icon}" />
+ <res id="Installer.image.4" src="${app.icon}" />
+ <res id="Installer.image.5" src="${app.icon}" />
+ <res id="LicencePanel.licence" src="${app.license}" />
+ <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="shortcutSpec.xml" src="${unix.shortcuts}" />
+ <res id="Unix_shortcutSpec.xml" src="${unix.shortcuts}" />
+ <res id="userInputSpec.xml" src="${user.input}" />
+ </resources>
+
+ <panels>
+ <panel classname="HelloPanel" />
+ <panel classname="InfoPanel" />
+ <panel classname="LicencePanel" />
+ <panel classname="TargetPanel" />
+ <panel classname="ImgPacksPanel" />
+ <panel classname="InstallPanel" />
+ <panel classname="ShortcutPanel" />
+ <panel classname="FinishPanel" />
+ </panels>
+
+ <packs>
+ <pack name="Binaries" required="yes">
+ <description>Binary Executables</description>
+ <fileset dir="${image.basedir}" targetdir="$INSTALL_PATH">
+ <include name="**/*" />
+ </fileset>
+
+ <executable os="unix" targetfile="$INSTALL_PATH/bin/${app}"
stage="never" keep="true" />
+ <parsable os="unix" targetfile="$INSTALL_PATH/bin/${server.init}"
type="shell" />
+ <parsable os="unix" targetfile="$INSTALL_PATH/conf/config.properties"
type="shell" />
+ <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>
+ </packs>
+</installation>
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-unix.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-unix.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-unix.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-windows.xml
URL:
http://svn.apache.org/viewvc/incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-windows.xml?view=auto&rev=540783
==============================================================================
---
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-windows.xml
(added)
+++
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-windows.xml
Tue May 22 15:53:27 2007
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+
+<installation version="1.0">
+ <info>
+ <appname>${app}</appname>
+ <appversion>${app.version}</appversion>
+ <appsubpath>${app}-${app.version}</appsubpath>
+ <authors>
+ <author name="${app.author}" email="${app.email}" />
+ </authors>
+ <url>${app.url}</url>
+ <javaversion>${app.java.version}</javaversion>
+ </info>
+
+ <guiprefs height="480" resizable="yes" width="640">
+ <laf name="looks">
+ <os family="windows" />
+ <param name="variant" value="extwin" />
+ </laf>
+ </guiprefs>
+
+ <locale>
+ <langpack iso3="eng" />
+ </locale>
+
+ <resources>
+ <res id="installer.langsel.img" src="${app.icon}" />
+ <res id="Installer.image" src="${app.icon}" />
+ <res id="Installer.image.0" src="${app.icon}" />
+ <res id="Installer.image.1" src="${app.icon}" />
+ <res id="Installer.image.2" src="${app.icon}" />
+ <res id="Installer.image.3" src="${app.icon}" />
+ <res id="Installer.image.4" src="${app.icon}" />
+ <res id="Installer.image.5" src="${app.icon}" />
+
+ <res id="LicencePanel.licence" src="${app.license}" />
+ <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="Win_shortcutSpec.xml" src="${windows.shortcuts}" />
+ <res id="userInputSpec.xml" src="${user.input}" />
+ </resources>
+
+ <native type="izpack" name="ShellLink.dll" />
+
+ <panels>
+ <panel classname="HelloPanel" />
+ <panel classname="InfoPanel" />
+ <panel classname="LicencePanel" />
+ <panel classname="TargetPanel" />
+ <panel classname="ImgPacksPanel" />
+ <panel classname="InstallPanel" />
+ <panel classname="ShortcutPanel" />
+ <panel classname="FinishPanel" />
+ </panels>
+
+ <!--
+ The packs section. We specify here our packs.
+ -->
+ <packs>
+ <pack name="Binaries" required="yes">
+ <description>Binary executables</description>
+ <fileset dir="${image.basedir}" targetdir="$INSTALL_PATH">
+ <include name="**/*" />
+ </fileset>
+ </pack>
+ </packs>
+</installation>
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-windows.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-windows.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/izpack-windows.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/log4j.properties
URL:
http://svn.apache.org/viewvc/incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/log4j.properties?view=auto&rev=540783
==============================================================================
---
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/log4j.properties
(added)
+++
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/log4j.properties
Tue May 22 15:53:27 2007
@@ -0,0 +1,8 @@
+log4j.rootCategory=WARN, stdout
+
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=[%d{HH:mm:ss}] %p [%c] - %m%n
+
+# with these we'll not get innundated when switching to DEBUG
+
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/log4j.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/log4j.properties
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/log4j.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/rpm-servicemix.spec
URL:
http://svn.apache.org/viewvc/incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/rpm-servicemix.spec?view=auto&rev=540783
==============================================================================
---
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/rpm-servicemix.spec
(added)
+++
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/rpm-servicemix.spec
Tue May 22 15:53:27 2007
@@ -0,0 +1,86 @@
+Summary: ${app.display.name} Server
+Name: ${app}
+Version: ${app.version}
+Release: ${app.release}
+License: ${app.license.type}
+Group: System Environment/Daemons
+URL: ${app.url}
+Source0: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+%description
+${app.description}
+
+%prep
+echo $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT
+cp -rf ${image.basedir} $RPM_BUILD_ROOT/%{name}-%{version}
+cd $RPM_BUILD_ROOT
+tar -zcvf /usr/src/redhat/SOURCES/%{name}-%{version}.tar.gz %{name}-%{version}
+
+%setup -q
+
+%build
+cd $RPM_BUILD_ROOT/%{name}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/usr/local/${app}-%{version}/bin
+mkdir -p $RPM_BUILD_ROOT/usr/local/${app}-%{version}/conf
+mkdir -p $RPM_BUILD_ROOT/usr/local/${app}-%{version}/lib/ext
+mkdir -p $RPM_BUILD_ROOT/usr/local/${app}-%{version}/var/log
+mkdir -p $RPM_BUILD_ROOT/usr/local/${app}-%{version}/var/run
+mkdir -p $RPM_BUILD_ROOT/usr/local/${app}-%{version}/var/partitions
+touch $RPM_BUILD_ROOT/usr/local/${app}-%{version}/var/log/${app}-stderr.log
+touch $RPM_BUILD_ROOT/usr/local/${app}-%{version}/var/log/${app}-stdout.log
+mkdir -p $RPM_BUILD_ROOT/etc/init.d
+${mk.docs.dirs}
+${mk.sources.dirs}
+
+pwd
+install -m 755 ${image.basedir}/bin/${app}
$RPM_BUILD_ROOT/usr/local/${app}-%{version}/bin/${app}
+install -m 644 ${image.basedir}/bin/bootstrapper.jar
$RPM_BUILD_ROOT/usr/local/${app}-%{version}/bin/bootstrapper.jar
+install -m 644 ${image.basedir}/bin/logger.jar
$RPM_BUILD_ROOT/usr/local/${app}-%{version}/bin/logger.jar
+install -m 644 ${image.basedir}/bin/daemon.jar
$RPM_BUILD_ROOT/usr/local/${app}-%{version}/bin/daemon.jar
+install -m 644 ${image.basedir}/conf/bootstrapper.properties
$RPM_BUILD_ROOT/usr/local/${app}-%{version}/conf/bootstrapper.properties
+install -m 644 ${image.basedir}/conf/log4j.properties
$RPM_BUILD_ROOT/usr/local/${app}-%{version}/conf/log4j.properties
+install -m 744 ${image.basedir}/bin/${server.init}
$RPM_BUILD_ROOT/etc/init.d/${app}
+install -m 744 ${image.basedir}/bin/servicemix.jar
$RPM_BUILD_ROOT/usr/local/${app}-%{version}/bin/servicemix.jar
+install -m 644 ${image.basedir}/${app.license.name}
$RPM_BUILD_ROOT/usr/local/${app}-%{version}
+install -m 644 ${image.basedir}/${app.readme.name}
$RPM_BUILD_ROOT/usr/local/${app}-%{version}
+install -m 644 ${image.basedir}/${app.icon}
$RPM_BUILD_ROOT/usr/local/${app}-%{version}
+${install.append.libs}
+${install.docs}
+${install.sources}
+${install.notice.file}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc ${app.license.name} ${app.readme.name}
+
+/etc/init.d/${app}
+/usr/local/${app}-%{version}/bin/${app}
+/usr/local/${app}-%{version}/bin/bootstrapper.jar
+/usr/local/${app}-%{version}/bin/logger.jar
+/usr/local/${app}-%{version}/bin/daemon.jar
+/usr/local/${app}-%{version}/bin/servicemix.jar
+/usr/local/${app}-%{version}/conf/log4j.properties
+/usr/local/${app}-%{version}/conf/bootstrapper.properties
+/usr/local/${app}-%{version}/conf/server.xml
+/usr/local/${app}-%{version}/lib/ext
+/usr/local/${app}-%{version}/var/run
+/usr/local/${app}-%{version}/var/log
+/usr/local/${app}-%{version}/var/partitions
+/usr/local/${app}-%{version}/var/log/${app}-stderr.log
+/usr/local/${app}-%{version}/var/log/${app}-stdout.log
+/usr/local/${app}-%{version}/${app.readme.name}
+/usr/local/${app}-%{version}/${app.license.name}
+/usr/local/${app}-%{version}/${app.icon}
+${verify.append.libs}
+${verify.docs}
+${verify.sources}
+${verify.notice.file}
Added:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/servicemix.sh
URL:
http://svn.apache.org/viewvc/incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/servicemix.sh?view=auto&rev=540783
==============================================================================
---
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/servicemix.sh
(added)
+++
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/servicemix.sh
Tue May 22 15:53:27 2007
@@ -0,0 +1,182 @@
+#!/bin/sh
+#
+# 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.
+#
+# $Id: servicemix 979 2005-11-30 22:50:55Z bsnyder $
+#
+
+DIRNAME=`dirname $0`
+PROGNAME=`basename $0`
+
+#
+# Check/Set up some easily accessible MIN/MAX params for JVM mem usage
+#
+
+if [ "x$JAVA_MIN_MEM" = "x" ]; then
+ JAVA_MIN_MEM=128M
+ export JAVA_MIN_MEM
+fi
+
+detectOS() {
+ # OS specific support (must be 'true' or 'false').
+ cygwin=false;
+ darwin=false;
+ aix=false;
+ os400=false;
+ case "`uname`" in
+ CYGWIN*)
+ cygwin=true
+ ;;
+ Darwin*)
+ darwin=true
+ ;;
+ AIX*)
+ aix=true
+ ;;
+ OS400*)
+ os400=true
+ ;;
+ esac
+ # For AIX, set an environment variable
+ if $aix; then
+ export [EMAIL PROTECTED]
+ export IBM_JAVA_HEAPDUMP_TEXT=true
+ echo $LDR_CNTRL
+ fi
+}
+
+unlimitFD() {
+ # Use the maximum available, or set MAX_FD != -1 to use that
+ if [ "x$MAX_FD" = "x" ]; then
+ MAX_FD="maximum"
+ fi
+
+ # Increase the maximum file descriptors if we can
+ if [ "$os400" = "false" ] && [ "$cygwin" = "false" ]; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ]; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ]; then
+ # use the system max
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+
+ ulimit -n $MAX_FD
+ # echo "ulimit -n" `ulimit -n`
+ if [ $? -ne 0 ]; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query system maximum file descriptor limit:
$MAX_FD_LIMIT"
+ fi
+ fi
+}
+
+setupNativePath() {
+ # Support for loading native libraries
+ LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:$SERVICEMIX_HOME/lib"
+
+ # For Cygwin, set PATH from LD_LIBRARY_PATH
+ if $cygwin; then
+ LD_LIBRARY_PATH=`cygpath --path --windows "$LD_LIBRARY_PATH"`
+ PATH="$PATH;$LD_LIBRARY_PATH"
+ export PATH
+ fi
+ export LD_LIBRARY_PATH
+}
+
+locateJava() {
+ # Setup the Java Virtual Machine
+ if $cygwin ; then
+ [ -n "$JAVA" ] && JAVA=`cygpath --unix "$JAVA"`
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+ fi
+
+ if [ "x$JAVA" = "x" ]; then
+ if [ "x$JAVA_HOME" != "x" ]; then
+ if [ ! -d "$JAVA_HOME" ]; then
+ die "JAVA_HOME is not valid: $JAVA_HOME"
+ fi
+ JAVA="$JAVA_HOME/bin/java"
+ else
+ warn "JAVA_HOME not set; results may vary"
+ JAVA="java"
+ fi
+ fi
+}
+
+detectJVM() {
+ echo "`$JAVA -version`"
+ # This service should call `java -version`,
+ # read stdout, and look for hints
+ if $JAVA -version 2>&1 | grep "^IBM" ; then
+ JVM_VENDOR="IBM"
+ # on OS/400, java -version does not contain IBM explicitly
+ elif $os400; then
+ JVM_VENDOR="IBM"
+ else
+ JVM_VENDOR="SUN"
+ fi
+ # echo "JVM vendor is $JVM_VENDOR"
+}
+
+locateHome() {
+ if [ "x$SERVICEMIX_HOME" != "x" ]; then
+ warn "Ignoring predefined value for SERVICEMIX_HOME"
+ fi
+
+ SERVICEMIX_HOME=`cd $DIRNAME/..; pwd`
+ if [ ! -d "$SERVICEMIX_HOME" ]; then
+ die "SERVICEMIX_HOME is not valid: $SERVICEMIX_HOME"
+ fi
+}
+
+init() {
+ # Determine if there is special OS handling we must perform
+ detectOS
+
+ # Unlimit the number of file descriptors if possible
+ unlimitFD
+
+ # Locate the ServiceMix home directory
+ locateHome
+
+ # Locate the Java VM to execute
+ locateJava
+
+ # Determine the JVM vendor
+ detectJVM
+}
+
+run() {
+ JAR=$SERVICEMIX_HOME/bin/bootstrapper.jar
+
CLASSPATH=$SERVICEMIX_HOME/bin/bootstrapper.jar:$SERVICEMIX_HOME/bin/daemon.jar:$SERVICEMIX_HOME/bin/logger.jar:$SERVICEMIX_HOME/bin/servicemix.jar
+ if $cygwin; then
+ SERVICEMIX_HOME=`cygpath --path --windows "$SERVICEMIX_HOME"`
+ CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
+ CLASSWORLDS_CONF=`cygpath --path --windows "$CLASSWORLDS_CONF"`
+ CYGHOME=`cygpath --windows "$HOME"`
+ JAR=`cygpath --windows "$JAR"`
+ fi
+ cd $SERVICEMIX_HOME/conf
+ exec $JAVA -Dfelix.home=$SERVICEMIX_HOME -jar $JAR $SERVICEMIX_HOME start
+}
+
+main() {
+ init
+ run $@
+}
+
+main $@
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/servicemix.sh
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/servicemix.sh
------------------------------------------------------------------------------
svn:executable = *
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/servicemix.sh
------------------------------------------------------------------------------
svn:keywords = Date Revision
Added:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/unix_shortcuts.xml
URL:
http://svn.apache.org/viewvc/incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/unix_shortcuts.xml?view=auto&rev=540783
==============================================================================
---
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/unix_shortcuts.xml
(added)
+++
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/unix_shortcuts.xml
Tue May 22 15:53:27 2007
@@ -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
"$INSTALL_PATH/Uninstaller/uninstaller.jar""
+ initialState="noShow"
+ iconFile="trashcan_full"
+ iconIndex="0"
+ workingDirectory=""
+ type="Application"
+ encoding="UTF-8"
+ description="Uninstall ${app} Server">
+ <createForPack name="Binaries" />
+ </shortcut>
+</shortcuts>
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/unix_shortcuts.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/unix_shortcuts.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange:
incubator/servicemix/branches/osgi/servicemix-osgi/installers/src/main/installers/unix_shortcuts.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml