This is required by the API, which has to know what OS-specific implementation to load. The Linux implementation sets it to its own LinuxUsbServices class. A Windows implementation, and any other OS-specific implementation, would set it to whatever that implementation provides, e.g. probably on Windows the implementation would provide a WindowsUsbServices.
On Wed, 14 Jan 2004, grant wrote: >Is there a way to is make this as OS independent as possible. Is this >properties file needed when running the app on windows, or only linux? If >it's needed for both, what would the file contain for windows? > >Thanks for the reply. > >-----Original Message----- >From: Roger Lindsjö [mailto:[EMAIL PROTECTED] >Sent: Wednesday, January 14, 2004 9:33 AM >To: grant >Cc: [EMAIL PROTECTED] >Subject: Re: [javax-usb-devel] javax.usb.properties > > > >grant wrote: >> I?m trying to figure out what should be contained in javax.usb.properties. >> >> I?m using RI from CVS. I?ve seen an example containing: >> >> javax.usb.services = com.ibm.jusb.os.linux.LinuxUsbServices >> >> But com.ibm.jusb.os.linux doesn?t exist at all. > >This file exists in javax-usb-ri-linux. > >> Basically, all that I am trying to do is get information from USB >> devices attached to the client machine, and not do any reads/writes to >> the device itself. Seems simple enough, but I?m just lost. > >I think Dan has this functionallity for Windows. On linux you can also >do read/writes, but I don't know how much you can do on other platforms. > >Roger Lindsjö > >Scanned for viruses and spam by Codepipe Technoglogies >\n\nScanned on 14 January 2004 09:52:08 > >Scanned for viruses and spam by Codepipe Technoglogies >\n\nScanned on 14 January 2004 13:18:00 > > >------------------------------------------------------- >This SF.net email is sponsored by: Perforce Software. >Perforce is the Fast Software Configuration Management System offering >advanced branching capabilities and atomic changes on 50+ platforms. >Free Eval! http://www.perforce.com/perforce/loadprog.html >_______________________________________________ >javax-usb-devel mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/javax-usb-devel > -- Dan Streetman [EMAIL PROTECTED] --------------------- 186,272 miles per second: It isn't just a good idea, it's the law! ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ javax-usb-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/javax-usb-devel