Re: Re[2]: (no subject)
Paul Nasrat <[email protected]> Mon, 11 Apr 2005 09:42:54 +0100
| Newsgroups | gmane.comp.java.jrpm.devel |
|---|---|
| Organization | Red Hat, Inc. |
| Message-ID | <[email protected]> |
On Mon, 2005-04-11 at 11:23 +0300, Zig wrote: > Hello Paul, > > Tuesday, January 11, 2005, 4:09:53 PM, you wrote: > >> as yannick said: There are almost no specs available. Most the work > >> we have done was by reading the code from rpm and trying to reimplement > >> it in java. There are still many things where jrpm will not have the > >> same results as a call to rpm. > >> There was some work to read also raw headers (from headerUnload) and > >> from rpmdb by Paul Nasrat. > PN> I have some simple code using db4-java to read from an rpmdb, I've not > PN> had a chance to do much more due to other work but I can post an example > PN> later today. > > Still waiting for your code :) I think I may have just sent to Michael. > If I'm not mistaken rpm uses Berkley DB. Is that possible to > read it by using Berkley DB Java Edition? (http://www.sleepycat.com/products/je.shtml) No the ondisk format is incompatible between je and native db4. However the api has changed substantially to be more java like since I first wrote the code, so I need to rework my stuff to fit in with that. > If so, than jRPM could be well integrated with native rpm system. db4 jni works fine. Paul ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click