felix 1.0.1

cusax-fix
Damian Minkov 18 years ago
parent bf504f6c13
commit 1d4595529e

@ -182,7 +182,7 @@
<fileset dir="${lib}"> <fileset dir="${lib}">
<include name="*.jar"/> <include name="*.jar"/>
<include name="installer-exclude/*.jar"/> <include name="installer-exclude/*.jar"/>
<include name="bundles/*.jar"/> <include name="bundle/*.jar"/>
</fileset> </fileset>
<fileset dir="${os.lib.home}"> <fileset dir="${os.lib.home}">
@ -764,7 +764,7 @@
<!--sysproperty key="net.java.sip.communicator.SC_HOME_DIR_LOCATION" <!--sysproperty key="net.java.sip.communicator.SC_HOME_DIR_LOCATION"
value="${user.home}"/--> value="${user.home}"/-->
<!-- Setting properties necessary for dependencies on native libs.--> <!-- Setting properties necessary for dependencies on native libs.-->
<sysproperty key="java.library.path" <sysproperty key="java.library.path"
path="${ld.library.path}:${path}:${dyld.library.path}"/> path="${ld.library.path}:${path}:${dyld.library.path}"/>

@ -3,7 +3,7 @@
<type>org.netbeans.modules.ant.freeform</type> <type>org.netbeans.modules.ant.freeform</type>
<configuration> <configuration>
<general-data xmlns="http://www.netbeans.org/ns/freeform-project/1"> <general-data xmlns="http://www.netbeans.org/ns/freeform-project/1">
<!-- Created by Brian Burch on September 27, 2006 <!-- Created by Brian Burch on September 27, 2006
The master version is held in CVS, as The master version is held in CVS, as
/ide/nbproject/project.xml. You should copy it to /ide/nbproject/project.xml. You should copy it to
/nbproject/project.xml (when NetBeans is not running!) /nbproject/project.xml (when NetBeans is not running!)
@ -89,13 +89,14 @@
<java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/2"> <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/2">
<compilation-unit> <compilation-unit>
<package-root>src</package-root> <package-root>src</package-root>
<classpath mode="compile">lib/felix.jar:lib/jdic-all.jar:lib/kxml-min.jar:lib/servicebinder.jar:lib/bundle/junit.jar:lib/bundle/log4j.jar:lib/bundle/org.apache.felix.servicebinder-0.8.0-SNAPSHOT.jar:lib/installer-exclude/aclibico-2.1.jar:lib/installer-exclude/backport-util-concurrent.jar:lib/installer-exclude/bcprov-jdk14-130.jar:lib/installer-exclude/commons-logging.jar:lib/installer-exclude/concurrent.jar:lib/installer-exclude/dnsjava-2.0.3.jar:lib/installer-exclude/JainSipApi1.2.jar:lib/installer-exclude/JainSipRi1.2.jar:lib/installer-exclude/jcalendar-1.3.2.jar:lib/installer-exclude/jdom.jar:lib/installer-exclude/jmf.jar:lib/installer-exclude/jml-1.0b1.jar:lib/installer-exclude/joscar-client.jar:lib/installer-exclude/joscar-common.jar:lib/installer-exclude/joscar-protocol.jar:lib/installer-exclude/jsocks-klea.jar:lib/installer-exclude/jspeex.jar:lib/installer-exclude/junit.jar:lib/installer-exclude/log4j-1.2.8.jar:lib/installer-exclude/nist-sdp-1.0.jar:lib/installer-exclude/retroweaver-rt-2.0.jar:lib/installer-exclude/rome-0.9.jar:lib/installer-exclude/smack.jar:lib/installer-exclude/smackx-jingle.jar:lib/installer-exclude/smackx.jar:lib/installer-exclude/Stun4J.jar:lib/installer-exclude/xalan-2.6.0.jar.ant:lib/installer-exclude/ymsg_network_v0_61.jar:lib/os-specific/linux/installer-exclude/jmf.jar:lib/os-specific/linux/jdic_stub.jar:lib/os-specific/mac/AppleJavaExtensions.jar:lib/os-specific/mac/growl.jar:lib/os-specific/mac/jdic_stub.jar:lib/os-specific/mac/installer-exclude/jmf.jar:lib/os-specific/windows/installer-exclude/jmf.jar:lib/os-specific/windows/installer-exclude/sound.jar</classpath> <classpath mode="compile">lib/felix.jar:lib/jdic-all.jar:lib/bundle/junit.jar:lib/bundle/log4j.jar:lib/bundle/org.apache.felix.servicebinder-0.9.0-SNAPSHOT.jar:lib/installer-exclude/aclibico-2.1.jar:lib/installer-exclude/backport-util-concurrent.jar:lib/installer-exclude/bcprov-jdk14-130.jar:lib/installer-exclude/commons-logging.jar:lib/installer-exclude/concurrent.jar:lib/installer-exclude/dnsjava-2.0.3.jar:lib/installer-exclude/JainSipApi1.2.jar:lib/installer-exclude/JainSipRi1.2.jar:lib/installer-exclude/jcalendar-1.3.2.jar:lib/installer-exclude/jdom.jar:lib/installer-exclude/jmf.jar:lib/installer-exclude/jml-1.0b1.jar:lib/installer-exclude/joscar-client.jar:lib/installer-exclude/joscar-common.jar:lib/installer-exclude/joscar-protocol.jar:lib/installer-exclude/jsocks-klea.jar:lib/installer-exclude/jspeex.jar:lib/installer-exclude/junit.jar:lib/installer-exclude/log4j-1.2.8.jar:lib/installer-exclude/nist-sdp-1.0.jar:lib/installer-exclude/retroweaver-rt-2.0.jar:lib/installer-exclude/rome-0.9.jar:lib/installer-exclude/smack.jar:lib/installer-exclude/smackx-jingle.jar:lib/installer-exclude/smackx.jar:lib/installer-exclude/Stun4J.jar:lib/installer-exclude/xalan-2.6.0.jar.ant:lib/installer-exclude/ymsg_network_v0_61.jar:lib/os-specific/linux/installer-exclude/jmf.jar:lib/os-specific/linux/jdic_stub.jar:lib/os-specific/mac/AppleJavaExtensions.jar:lib/os-specific/mac/growl.jar:lib/os-specific/mac/jdic_stub.jar:lib/os-specific/mac/installer-exclude/jmf.jar:lib/os-specific/windows/installer-exclude/jmf.jar:lib/os-specific/windows/installer-exclude/sound.jar:lib/installer-exclude/fmj-sc.jar:lib/installer-exclude/pircbot.jar:lib/installer-exclude/jsch-0.1.33.jar</classpath>
<source-level>1.4</source-level> <source-level>1.5</source-level>
</compilation-unit> </compilation-unit>
<compilation-unit> <compilation-unit>
<package-root>test</package-root> <package-root>test</package-root>
<unit-tests/> <unit-tests/>
<source-level>1.4</source-level> <classpath mode="compile">lib/felix.jar:lib/bundle/junit.jar:classes:lib/installer-exclude/joscar-client.jar:lib/installer-exclude/joscar-common.jar:lib/installer-exclude/joscar-protocol.jar:lib/installer-exclude/smack.jar:lib/installer-exclude/Stun4J.jar</classpath>
<source-level>1.5</source-level>
</compilation-unit> </compilation-unit>
</java-data> </java-data>
</configuration> </configuration>

@ -1,7 +1,7 @@
# #
# Framework config properties. # Framework config properties.
# #
org.osgi.framework.system.packages= org.osgi.framework; \ org.osgi.framework.system.packages= org.osgi.framework; ; version=1.3.0, \
javax.swing; \ javax.swing; \
javax.swing.event; \ javax.swing.event; \
javax.swing.table; \ javax.swing.table; \
@ -37,7 +37,8 @@ org.osgi.framework.system.packages= org.osgi.framework; \
com.apple.eio; \ com.apple.eio; \
org.xml.sax.helpers; org.xml.sax.helpers;
felix.auto.start.10= reference:file:lib/bundle/org.apache.felix.servicebinder-0.8.0-SNAPSHOT.jar felix.auto.start.10= reference:file:lib/bundle/org.apache.felix.bundlerepository-1.0.0.jar \
reference:file:lib/bundle/org.apache.felix.servicebinder-0.9.0-SNAPSHOT.jar
#reference:file:lib/bundle/org.apache.felix.bundlerepository-0.8.0-SNAPSHOT.jar #reference:file:lib/bundle/org.apache.felix.bundlerepository-0.8.0-SNAPSHOT.jar
#\ #\
# file:lib/bundle/shell.jar \ # file:lib/bundle/shell.jar \

Binary file not shown.

@ -37,7 +37,7 @@ org.osgi.framework.system.packages= org.osgi.framework; \
# file:lib/bundle/tablelayout.jar \ # file:lib/bundle/tablelayout.jar \
# #
felix.auto.start.1= file:lib/bundle/org.apache.felix.servicebinder-0.8.0-SNAPSHOT.jar \ felix.auto.start.1= file:lib/bundle/org.apache.felix.servicebinder-0.9.0-SNAPSHOT.jar \
file:lib/bundle/junit.jar file:lib/bundle/junit.jar
# file:lib/bundle/shell.jar \ # file:lib/bundle/shell.jar \
# file:lib/bundle/bundlerepository.jar \ # file:lib/bundle/bundlerepository.jar \

Binary file not shown.

Binary file not shown.

@ -32,6 +32,6 @@ cd $SCDIR
if [ -f $javabin ] if [ -f $javabin ]
then then
$javabin -classpath "$LIBPATH/jdic_stub.jar:$LIBPATH/jdic-all.jar:$LIBPATH/felix.jar:$LIBPATH/kxml-min.jar:$LIBPATH/servicebinder.jar:$LIBPATH/bundle/org.apache.felix.servicebinder-0.8.0-SNAPSHOT.jar:$SCDIR/sc-bundles/util.jar" -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/jdic_stub.jar:$LIBPATH/jdic-all.jar:$LIBPATH/felix.jar:$SCDIR/sc-bundles/util.jar" -Dfelix.config.properties=file:$LIBPATH/felix.client.run.properties -Djava.util.logging.config.file=$LIBPATH/logging.properties org.apache.felix.main.Main
exit $? exit $?
fi fi

@ -1,4 +1,4 @@
mkdir -p $HOME/.sip-communicator/log mkdir -p $HOME/.sip-communicator/log
export PATH=$PATH:native export PATH=$PATH:native
java -classpath "lib/jdic-all.jar:lib/jdic_stub.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" -Djava.library.path=native -Dfelix.config.properties=file:./lib/felix.client.run.properties -Djava.util.logging.config.file=lib/logging.properties org.apache.felix.main.Main java -classpath "lib/jdic-all.jar:lib/jdic_stub.jar:lib/felix.jar:sc-bundles/util.jar" -Djava.library.path=native -Dfelix.config.properties=file:./lib/felix.client.run.properties -Djava.util.logging.config.file=lib/logging.properties org.apache.felix.main.Main

@ -2,4 +2,4 @@ mkdir -p $HOME/.sip-communicator/log
export PATH=$PATH:native export PATH=$PATH:native
export JAVA_HOME=jre export JAVA_HOME=jre
${JAVA_HOME}/bin/java -classpath "lib/jdic-all.jar:lib/jdic_stub.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" -Djava.library.path=native -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/jdic-all.jar:lib/jdic_stub.jar:lib/felix.jar:sc-bundles/util.jar" -Djava.library.path=native -Dfelix.config.properties=file:./lib/felix.client.run.properties -Djava.util.logging.config.file=lib/logging.properties org.apache.felix.main.Main

@ -1,3 +1,4 @@
mkdir "%UserProfile%/.sip-communicator/log" mkdir "%UserProfile%/.sip-communicator/log"
set PATH=%PATH%;native set PATH=%PATH%;native
start javaw -classpath "lib/jdic-all.jar;lib/jdic_stub.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" -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/jdic-all.jar;lib/jdic_stub.jar;lib/felix.jar;sc-bundles/util.jar" -Dfelix.config.properties=file:./lib/felix.client.run.properties -Djava.util.logging.config.file=lib/logging.properties org.apache.felix.main.Main
servicebin

@ -1,6 +1,6 @@
package net.java.sip.communicator.impl.fileaccess; package net.java.sip.communicator.impl.fileaccess;
import org.ungoverned.gravity.servicebinder.*; import org.apache.felix.servicebinder.GenericActivator;
/** /**
* Invoke "Service Binder" to parse the service XML and register all services. * Invoke "Service Binder" to parse the service XML and register all services.

@ -4,6 +4,7 @@ Bundle-Description: A bundle that implements the file access package.
Bundle-Vendor: sip-communicator.org Bundle-Vendor: sip-communicator.org
Bundle-Version: 0.0.1 Bundle-Version: 0.0.1
Import-Package: org.osgi.framework, Import-Package: org.osgi.framework,
org.apache.felix.servicebinder,
org.xml.sax, org.xml.sax,
org.w3c.dom, org.w3c.dom,
javax.xml.transform, javax.xml.transform,

@ -6,7 +6,7 @@
*/ */
package net.java.sip.communicator.impl.history; package net.java.sip.communicator.impl.history;
import org.ungoverned.gravity.servicebinder.*; import org.apache.felix.servicebinder.GenericActivator;
/** /**
* Invoke "Service Binder" to parse the service XML and register all services. * Invoke "Service Binder" to parse the service XML and register all services.

@ -4,6 +4,7 @@ Bundle-Description: A bundle that implements the history package.
Bundle-Vendor: sip-communicator.org Bundle-Vendor: sip-communicator.org
Bundle-Version: 0.0.1 Bundle-Version: 0.0.1
Import-Package: org.osgi.framework, Import-Package: org.osgi.framework,
org.apache.felix.servicebinder,
net.java.sip.communicator.service.configuration, net.java.sip.communicator.service.configuration,
net.java.sip.communicator.service.fileaccess, net.java.sip.communicator.service.fileaccess,
net.java.sip.communicator.service.history, net.java.sip.communicator.service.history,

@ -166,19 +166,29 @@ private void detectCaptureDevices()
} }
//Linux //Linux
try // try
{ // {
V4LAuto v4lAuto = new V4LAuto(); // V4LAuto v4lAuto = new V4LAuto();
nDevices = v4lAuto.autoDetectDevices(); // nDevices = v4lAuto.autoDetectDevices();
logger.info("Detected " // logger.info("Detected "
+ nDevices // + nDevices
+" V4L video capture device."); // +" V4L video capture device.");
} // }
catch (Throwable exc) // catch (Throwable exc)
{ // {
logger.debug("No V4l video detected: " + exc.getMessage()); // logger.debug("No V4l video detected: " + exc.getMessage());
} // }
// try
// {
// new net.sf.fmj.media.cdp.civil.CaptureDevicePlugger().
// addCaptureDevices();
// CaptureDeviceManager.commit();
// }
// catch (Throwable exc)
// {
// logger.debug("No civil video detected: ", exc);
// }
} }
private void detectDirectAudio() private void detectDirectAudio()

@ -3,7 +3,8 @@ Bundle-Name: SIP Communicator Utility Packages
Bundle-Description: A bundle that export packages with utility classes. Bundle-Description: A bundle that export packages with utility classes.
Bundle-Vendor: sip-communicator.org Bundle-Vendor: sip-communicator.org
Bundle-Version: 0.0.1 Bundle-Version: 0.0.1
Import-Package: org.w3c.dom, Import-Package: org.osgi.framework,
org.w3c.dom,
org.xml.sax, org.xml.sax,
javax.xml.parsers, javax.xml.parsers,
org.apache.xml.serialize, org.apache.xml.serialize,

@ -4,6 +4,7 @@ Bundle-Description: A Service Implementation Compatibility Kit for the Media Ser
Bundle-Vendor: sip-communicator.org Bundle-Vendor: sip-communicator.org
Bundle-Version: 0.0.1 Bundle-Version: 0.0.1
Import-Package: org.osgi.framework, Import-Package: org.osgi.framework,
junit.framework,
net.java.sip.communicator.slick.media, net.java.sip.communicator.slick.media,
net.java.sip.communicator.service.media, net.java.sip.communicator.service.media,
net.java.sip.communicator.service.media.event, net.java.sip.communicator.service.media.event,

Loading…
Cancel
Save