ກຸ່ມສົນທະນາ ຮູບພາບ ສາລະບົບ ເວັບ
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Java Sample?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Erik Larsson  
View profile  
 More options Jul 14 2009, 8:35 pm
From: Erik Larsson <eri...@kth.se>
Date: Tue, 14 Jul 2009 15:35:17 +0200
Local: Tues, Jul 14 2009 8:35 pm
Subject: Re: Java Sample?
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 <cocoadu...@gmail.com> 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


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google