I'm working on an independent Java bindings project, which has the 
advantage of implementing all FUSE 2.6 + the extended MacFUSE 2.0 
operations (getxtimes etc.).
You can try it out for yourselves:

http://hem.bredband.net/unsound/jfuse/jfuse-0.1.tar.bz2 (compiled 
libraries, javadoc and Java sources)
http://hem.bredband.net/unsound/jfuse/libjfuse-0.1.tar.bz2 (JNI library 
sources)

There are two example filesystems included:
- HelloFS (org.catacombae.jfuse.examples.HelloFS)
    Simplest filesystem you can imagine.
- TestFS (org.catacombae.jfuse.test.TestFS)
    A filesystem that I'm using for testing the library. It is writable, 
all contents are stored in memory, and it seems to pass fsx tests. It 
also implements the extended MacFUSE callbacks for changing chflags and 
the extended time values.

It's in a very early stage, so some feedback would be much appreciated. 
Extended attributes have not been tested or considered at all, so those 
callbacks may need to be modified in the future.
Mac OS X compiled code exists for i386, x86_64, ppc and ppc64 so any JDK 
1.5+ should be usable.

- Erik Larsson ( http://hem.bredband.net/catacombae )

David Trott wrote:
> I can't help you with the Obj-C bit, but if you are looking for a
> straight Java -> C binding check out:
>
> http://github.com/dtrott/fuse4j
>
> I still have two issues on mac:
> + Only supports JDK 1.5
> + I don't have a good way of disabling extended attributes at the
> moment (you have to implement support in your Java FS - return 0 not
> ENOTSUP).
>
> Dave.
>
>
>
>
> On Jul 2, 11:59 pm, KO <[email protected]> wrote:
>   
>> Hello, I am hoping to write a MacFUSE Userspace FS in Java.  I have
>> written a basic Read/Write MacFUSE FS in Obj-C and have written
>> applications in Java, however I cannot figure out how to bridge the
>> two.  My major hurdle is method definitions.
>>
>> Does anybody have a sample Java implementation of MacFUSE that I may
>> use as a starting point?  I just need to figure out how to hook into
>> the Objective-C delegate so that my methods get called.
>>
>> Thanks,
>> KO
>>     
> >
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MacFUSE" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/macfuse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to