this is fixed/changed in CVS.  Thanks.

On Jan 11, 2008 2:58 AM,  <[EMAIL PROTECTED]> wrote:
> Hello Vitaly,
>
> Thank you for your advice. Within the eclipse platform every plug-in has
> it's own classpath and I can not put
> any resource to the system classpath, due to it is not accessible form the
> plug-in.
> To solve my problem I had to hack the class javax.usb.UsbHostManager.java
> Within the class the
> properties file is loaded using:
>
> InputStream i =
> ClassLoader.getSystemResourceAsStream(JAVAX_USB_PROPERTIES_FILE);
>
> I modified this line to use the plug-ins classloader, then it works just
> fine:
>
> InputStream i =
> UsbHostManager.class.getClassLoader().getResourceAsStream(JAVAX_USB_PROPERTIES_FILE);
>
>
> Regards,
>
> Markus
>
> _____________________________________________________________________________________
>
> Hydrometer GmbH, Industriestraße 13, 91522 Ansbach,
> Telefon + 49 981 1806 0, Telefax +49 981 1806 615
> Sitz der Gesellschaft: Ansbach, Registriergericht: Ansbach HRB 69
> Geschäftsführer: Johannes Sappa (Sprecher), Dr.-Ing. Robert Westphal
>
> Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese
> E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen.
> Informieren Sie    uns bitte, wenn Sie diese E-Mail fälschlicherweise
> erhalten haben. Bitte löschen Sie in diesem Fall die Nachricht. Jede
> unerlaubte Form der Reproduktion, Bekanntgabe, Änderung, Verteilung
> und/oder Publikation dieser E-Mail ist strengstens untersagt.
>
> The contents of the above mentioned e-mail is not legally binding. This
> e-mail contains confidential and/or legally protected information. Please
> inform us if you have received this e-mail by mistake and delete it in such
> a case. Each unauthorized reproduction, disclosure, alteration,
> distribution and/or publication of this e-mail is strictly prohibited.
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> javax-usb-devel mailing list
> javax-usb-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/javax-usb-devel
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
javax-usb-devel mailing list
javax-usb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to