Re: [Java-gnome-developer] gnomevfs bindings
Brought to you by:
afcowie
From: dan <dan...@gm...> - 2005-07-26 05:27:13
|
So i created 4 classes, and later realized 2 of them were already in the gnome cvs. This leaves two classes Mime and MimeApplication that don't seem to yet be present in the bindings. I am playing around with creating a java-based desktop search similar to Beagle. So far it only supports text and openoffice files so it's not that exciting. (It also still re-indexes every time the program is launched) The Mime binding I have created successfully determine mime types and launch the appropriate application. This means, although I wrapped most of the mime functions present in the C libraries, I only use a few methods from these classes in my app. I don't know whether the rest of the Mime functions i wrapped work correctly. I have joined the java-hackers list and will start to follow what goes on there. I also will try to test the rest of my class methods before i consider a submission. thanks, Dan On Tue, 2005-07-26 at 11:47 +1000, Andrew Cowie wrote: > On Sat, 2005-23-07 at 19:23 -0400, dan wrote: > > I have created several classes allowing access to the mime > > functionality in gnomevfs. > > Excellent! > > > If java-gnome intends to wrap gnomevfs i > > will be happy to submit them. > > Well, first things first - you should probably join the > jav...@li... mailing list and submit your > code there. > > > I have never submitted code to a large > > project such as this one before, so if there is interest in these > > classes, could somebody give me some pointers on the procedure for > > submitting code. > > Pretty much anyone with CVS access can commit the code. Since this is > off the beaten path a bit, you'll probably have to go a bit extra to get > someone to look at your code. At the end of the day, we're all > volunteers, so whatever you can do to make it easier for someone to > review your code will help your cause. > > I would suggest as well that if you have a tiny little app or example > case that shows the bindings in use and/or the new/changed/fixed > functionality you are coding it would really help. I could look at your > code and go "um, yup, it compiles" but as I don't really know anything > about libgnomevfs it's hard for me to say whether or not your code does > the right thing. That's ok - I'm not the expert there - but *someone* > has to be able to say "yeah, it's cool" > > As for how to submit, you can either send along a patch (see `cvs diff`, > `patch` etc) or alternately copies of the complete code files (such that > someone could drop them in to a checkout of libgnomevfs-java [1] and do > the `cvs diff` themselves). > > AfC > Sydney > > [1]: which I think should disappear and just be a part of libgnome-java > |