[sip-comm-dev] Resource Management Service


#1

Hey all,

We are currently working on a new resource management policy that would allow to better organize all sounds icons colors and other resources
We can discuss that later but the point now is that I am about to commit a part of it
so be prepared to experience some broken builds.

damencho

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

Hi,

I just tried to use this new service in a webstart version. But there it
fails to run. DefaultLanguagePack.getJarfilName() throws a
NullPointerException, as there is no "file" in the jar URL (as the jar
is loaded from the web). I tried to use this URL directly, but still I
get an exception that the properties could not be loaded:

SCHWERWIEGEND: Cannot load locales.
java.util.zip.ZipException: error in opening zip file
  at java.util.zip.ZipFile.open(Native Method)
  at java.util.zip.ZipFile.<init>(ZipFile.java:114)
  at java.util.jar.JarFile.<init>(JarFile.java:133)
  at java.util.jar.JarFile.<init>(JarFile.java:70)
  at
net.java.sip.communicator.plugin.defaultresourcepack.DefaultLanguagePackImpl.<init>(DefaultLanguagePackImpl.java:31)
  at
net.java.sip.communicator.plugin.defaultresourcepack.DefaultResourcePackActivator.start(DefaultResourcePackActivator.java:54)
  at
org.apache.felix.framework.util.SecureAction$Actions.run(SecureAction.java:853)
  at java.security.AccessController.doPrivileged(Native Method)
  at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:580)
  at org.apache.felix.framework.Felix._startBundle(Felix.java:1536)
  at org.apache.felix.framework.Felix.startBundle(Felix.java:1470)
  at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1065)
  at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)
  at java.lang.Thread.run(Thread.java:619)

But still I can see a localized GUI (maybe some caching?)

Sebastian

Damian Minkov schrieb:

···

Hey all,

We are currently working on a new resource management policy that would
allow to better organize all sounds icons colors and other resources
We can discuss that later but the point now is that I am about to commit
a part of it
so be prepared to experience some broken builds.

damencho

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

--
/**
* Sebastian Heib
* Software Developer
*
* Synyx GmbH & Co. KG
* Business in Components
* Karlstr. 68
* 76137 Karlsruhe
*
* phone +49(0)721 66 24 866
* fax +49(0)721 66 48 877
* eMail heib@synyx.de
* www http://www.synyx.de
* irc irc.synyx.de
*
* Sitz der Gesellschaft: Karlsruhe
* Registergericht: Mannheim
* Handelsregisternummer: HRA 4793
* USt-IdNr.: DE249264296
*
* Komplement�rin: Elatech Verwaltungs GmbH
* Sitz der Gesellschaft: Karlsruhe
* Gesch�ftsf�hrer: Markus Daniel
* Registergericht: Mannheim
* Handelsregisternummer: HRB 7250
*/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net