diff options
author | Emil Ivov <emcho@jitsi.org> | 2007-01-19 10:10:44 +0000 |
---|---|---|
committer | Emil Ivov <emcho@jitsi.org> | 2007-01-19 10:10:44 +0000 |
commit | afc93b878babae0d9acc5612dba0ddcb553d15db (patch) | |
tree | 22cbd22e3039cb26de8bae3d77abb003178006d0 | |
parent | e51985200bedd93866ee6804dd1fea922caaa178 (diff) | |
download | jitsi-afc93b878babae0d9acc5612dba0ddcb553d15db.zip jitsi-afc93b878babae0d9acc5612dba0ddcb553d15db.tar.gz jitsi-afc93b878babae0d9acc5612dba0ddcb553d15db.tar.bz2 |
Use sip-communicator's launcher instead of directly running felix.main
-rw-r--r-- | build.xml | 42 | ||||
-rw-r--r-- | resources/install/debian/sip-communicator.sh.tmpl | 2 | ||||
-rwxr-xr-x | resources/install/linux/run.sh | 2 | ||||
-rwxr-xr-x | resources/install/windows/run.bat | 2 |
4 files changed, 24 insertions, 24 deletions
@@ -358,7 +358,7 @@ name="${macosx.app.name}" shortname="SIP Communicator" signature="sipc" - mainclass="org.apache.felix.main.Main" + mainclass="net.java.sip.communicator.launcher.SIPCommunicator" icon="src/net/java/sip/communicator/impl/gui/resources/common/logo/sc_logo_128x128.icns" jvmversion="1.4+" version="${sip-communicator.version}" @@ -433,7 +433,7 @@ </exec> <!-- Put the current date in the changelog --> - <exec executable="/bin/date" + <exec executable="/bin/date" outputproperty="date" > <arg value="-R"/> </exec> @@ -642,7 +642,7 @@ <sysproperty key="java.net.preferIPv6Addresses" value="true"/> - <!-- Setting properties necessary for dependencies on native libs.--> + <!-- Setting properties necessary for dependencies on native libs.--> <sysproperty key="java.library.path" value="${ld.library.path}:${path}"/> <env key="LD_LIBRARY_PATH" value="${ld.library.path}"/> <env key="PATH" value="${path}"/> @@ -1069,7 +1069,7 @@ javax.swing.event, javax.swing.border"/> <zipfileset src="${lib}/commons-logging.jar" prefix=""/> </jar> </target> - + <!-- BUNDLE-YAHOO --> <target name="bundle-yahoo"> <!-- Creates a bundle containing the yahoo impl of the protocol provider.--> @@ -1165,7 +1165,7 @@ javax.swing.event, javax.swing.border"/> prefix="net/java/sip/communicator/plugin/msnaccregwizz"/> </jar> </target> - + <!-- BUNDLE-PLUGIN-YAHOOACCREGWIZZ --> <target name="bundle-plugin-yahooaccregwizz"> <!-- Creates a bundle for the plugin Yahoo Account Registration Wizard.--> @@ -1235,28 +1235,28 @@ javax.swing.event, javax.swing.border"/> prefix="net/java/sip/communicator/impl/growlnotification" /> </jar> </target> - - <!--BUNDLE-AUDIO NOTIFIER--> + + <!--BUNDLE-AUDIO NOTIFIER--> <target name="bundle-audionotifier"> <!-- Creates a bundle for the audio notifier service.--> <jar compress="false" destfile="${bundles.dest}/audionotifier.jar" manifest="src/net/java/sip/communicator/impl/audionotifier/audionotifier.manifest.mf"> - <zipfileset dir="${dest}/net/java/sip/communicator/service/audionotifier" - prefix="net/java/sip/communicator/service/audionotifier"/> + <zipfileset dir="${dest}/net/java/sip/communicator/service/audionotifier" + prefix="net/java/sip/communicator/service/audionotifier"/> <zipfileset dir="${dest}/net/java/sip/communicator/impl/audionotifier" prefix="net/java/sip/communicator/impl/audionotifier" /> - <zipfileset dir="resources/sounds" - prefix="resources/sounds"/> + <zipfileset dir="resources/sounds" + prefix="resources/sounds"/> </jar> </target> - - <!-- BUNDLE-PLUGIN-EXAMPLE PLUGIN --> - <target name="bundle-plugin-exampleplugin"> - <!-- Creates a bundle for the plugin SIP Account Registration Wizard.--> - <jar compress="false" destfile="${bundles.dest}/exampleplugin.jar" - manifest="src/net/java/sip/communicator/plugin/exampleplugin/exampleplugin.manifest.mf"> - <zipfileset dir="${dest}/net/java/sip/communicator/plugin/exampleplugin" - prefix="net/java/sip/communicator/plugin/exampleplugin"/> - </jar> - </target> + + <!-- BUNDLE-PLUGIN-EXAMPLE PLUGIN --> + <target name="bundle-plugin-exampleplugin"> + <!-- Creates a bundle for the plugin SIP Account Registration Wizard.--> + <jar compress="false" destfile="${bundles.dest}/exampleplugin.jar" + manifest="src/net/java/sip/communicator/plugin/exampleplugin/exampleplugin.manifest.mf"> + <zipfileset dir="${dest}/net/java/sip/communicator/plugin/exampleplugin" + prefix="net/java/sip/communicator/plugin/exampleplugin"/> + </jar> + </target> </project> diff --git a/resources/install/debian/sip-communicator.sh.tmpl b/resources/install/debian/sip-communicator.sh.tmpl index 77616e7..400ddd1 100644 --- a/resources/install/debian/sip-communicator.sh.tmpl +++ b/resources/install/debian/sip-communicator.sh.tmpl @@ -32,6 +32,6 @@ cd $SCDIR if [ -f $javabin ] then - $javabin -classpath "$LIBPATH/felix.jar:$LIBPATH/kxml-min.jar:$LIBPATH/servicebinder.jar:$LIBPATH/bundle/org.apache.felix.servicebinder-0.8.0-SNAPSHOT.jar:$LIBPATH/BrowserLauncher2.jar:$SCDIR/sc-bundles/util.jar" -Dicq.custom.message.charset=windows-1251 -Dfelix.config.properties=file:$LIBPATH/felix.client.run.properties -Djava.util.logging.config.file=$LIBPATH/logging.properties org.apache.felix.main.Main + $javabin -classpath "$LIBPATH/felix.jar:$LIBPATH/kxml-min.jar:$LIBPATH/servicebinder.jar:$LIBPATH/bundle/org.apache.felix.servicebinder-0.8.0-SNAPSHOT.jar:$LIBPATH/BrowserLauncher2.jar:$SCDIR/sc-bundles/util.jar" -Dicq.custom.message.charset=windows-1251 -Dfelix.config.properties=file:$LIBPATH/felix.client.run.properties -Djava.util.logging.config.file=$LIBPATH/logging.properties net.java.sip.communicator.launcher.SIPCommunicator exit $? fi diff --git a/resources/install/linux/run.sh b/resources/install/linux/run.sh index 343e354..6c1b51c 100755 --- a/resources/install/linux/run.sh +++ b/resources/install/linux/run.sh @@ -2,4 +2,4 @@ mkdir -p $HOME/.sip-communicator/log export PATH=$PATH:native export JAVA_HOME=jre -${JAVA_HOME}/bin/java -classpath "lib/BrowserLauncher2.jar:lib/felix.jar:lib/kxml-min.jar:lib/servicebinder.jar:lib/bundle/org.apache.felix.servicebinder-0.8.0-SNAPSHOT.jar:sc-bundles/util.jar" -Dicq.custom.message.charset=windows-1251 -Dfelix.config.properties=file:./lib/felix.client.run.properties -Djava.util.logging.config.file=lib/logging.properties org.apache.felix.main.Main +${JAVA_HOME}/bin/java -classpath "lib/BrowserLauncher2.jar:lib/felix.jar:lib/kxml-min.jar:lib/servicebinder.jar:lib/bundle/org.apache.felix.servicebinder-0.8.0-SNAPSHOT.jar:sc-bundles/util.jar" -Dicq.custom.message.charset=windows-1251 -Dfelix.config.properties=file:./lib/felix.client.run.properties -Djava.util.logging.config.file=lib/logging.properties net.java.sip.communicator.launcher.SIPCommunicator diff --git a/resources/install/windows/run.bat b/resources/install/windows/run.bat index a1d8f4c..4a715a3 100755 --- a/resources/install/windows/run.bat +++ b/resources/install/windows/run.bat @@ -1,3 +1,3 @@ mkdir %UserProfile%/.sip-communicator/log set PATH=%PATH%;native -start javaw -classpath "lib/BrowserLauncher2.jar;lib/felix.jar;lib/kxml-min.jar;lib/servicebinder.jar;lib/bundle/org.apache.felix.servicebinder-0.8.0-SNAPSHOT.jar;sc-bundles/util.jar" -Dicq.custom.message.charset=windows-1251 -Dfelix.config.properties=file:./lib/felix.client.run.properties -Djava.util.logging.config.file=lib/logging.properties org.apache.felix.main.Main +start javaw -classpath "lib/BrowserLauncher2.jar;lib/felix.jar;lib/kxml-min.jar;lib/servicebinder.jar;lib/bundle/org.apache.felix.servicebinder-0.8.0-SNAPSHOT.jar;sc-bundles/util.jar" -Dicq.custom.message.charset=windows-1251 -Dfelix.config.properties=file:./lib/felix.client.run.properties -Djava.util.logging.config.file=lib/logging.properties net.java.sip.communicator.launcher.SIPCommunicator |