Ok, sorry for my first explanation.
I've read the FAQ carefully and It means that I need mount the "usbfs"
filesystem in my linux OS (Ubuntu x64) and I need three .jar compiled files
in my java's classpath (/usr/lib/jvm/jdk1.*** ) to develop any USB
application with Netbeans.
First of all I have mounted the "usbfs" in "fstab" with "rw" permissions as
the FAQ tells and It looks that works correctly.
Then, once I've downloaded and extracted the source tarballs I have 3
directories: "javax-usb" & "javax-usb-ri" & "javax-usb-ri-linux", so I open
a shell and I'm going to the first directory (javax-usb) and I write "ant
all -l errors", It generates a text file with a lot of warnings
(1. WARNING in .../javax-usb/src/javax/usb/UsbAbortException.java (at line
19)
[javac] public class UsbAbortException extends UsbException
[javac] ^^^^^^^^^^^^^^^^^
[javac] The serializable class UsbAbortException does not declare a
static final serialVersionUID field of type long...)
but at the final of the page there is a following text "BUILD SUCCESSFULL"
and it creates the jsr80.jar file.
Ok then, I'm going to the second directory (javax-usb-ri) and I make the
same process and the error file informs me the following:
(1. ERROR in
/home/cantovell/jsr80/javax-usb-ri/src/com/ibm/jusb/DefaultUsbInterfacePolicy.java
(at line 12)
[javac] import javax.usb.*;
[javac] ^^^^^^^^^
[javac] The import javax.usb cannot be resolved...)
well, I put the "javax-usb/src/javax" directory in "javax-usb-ri/src" and I
compile again and It generates a text file with a lot of warnings but it
creates the .jar file too.
But in the last directory I can get no the .jar file. I put
"javax-usb/src/javax" in "javaxusb-ri-linux/src" and I put
"javax-usb/src/javax/usb/util/" in "javax-usb-ri-linux/src/com/ibm/jusb/", I
compile and the error file says:
(1. ERROR in
/home/cantovell/jsr80/javax-usb-ri-linux/src/com/ibm/jusb/os/linux/JavaxUsb.java
(at line 168)
[javac] private static UsbHubImp createUsbHubImp( String key, int
maxPorts )
[javac] ^^^^^^^^^
[javac] UsbHubImp cannot be resolved to a type...)
Thanks for all. Regard from Majorca island.
2008/9/16 Dan Streetman <[EMAIL PROTECTED]>
> Think you'll need to provide a bit more details than
> "javax-usb-ri-linux is not compiled successfully."
>
> Don't forget to read the FAQ too.
> http://javax-usb.org/faq.html
>
> On Mon, Sep 15, 2008 at 7:25 PM, Joan Pachón Quetglas
> <[EMAIL PROTECTED]> wrote:
> > I'm trying to compile the three modules with "ant" command but I have
> some
> > problems:
> >
> > - The first (javax-usb) is compiled successfully with the comand "ant
> all".
> >
> > - The second (javax-usb-ri) is compiled successfully if I put the
> > "../src/javax" directory from the first packet in ../javax-usb-ri/src/
> >
> > - And the last one "javax-usb-ri-linux" is not compiled successfully.
> >
> > Somebody can help me?
> >
> > PD: Sorry for my bad english.
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > javax-usb-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/javax-usb-devel
> >
> >
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
javax-usb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel