On Sun, Oct 14, 2001 at 12:29:15PM -0700, Jack Greenbaum was heard to remark:
> The perl script at the bottom of the quoted email below shows driving the gnucash
> engine from Perl.. I need Java. The current SWIG development version supports
> Java.  So here's the point: I am volunteering to help develop a SWIG-derived Java
> interface to gnucash, and examples. 

Excellent!

> Is there anyone working on this today? 

I don't beleive so.

> If not then I could use a little support
> to get me going on this. From reading gnucash-devel for a couple of months it
> seems that to build on the SWIG work already done for perl etc 

I beleive the 'hard part' will be making swig work.

In particular, you'll need to do things like write the swig wrapper to 
convert glib linked lists into whatever it is that Java uses for 
sequences/lists.

> I need to be
> building from CVS. 

Only because the swig code isn't in the gnucash-1.6.4-source-tar,gz file.
I will attach the swig code to this email.

Otherwise I recomment working from the 1.6.4. source tar file, rather
than from the current CVS.   This is because the CVS code is changing
daily, and is quite unstable, and could lead to considerable unhappines
on your part.

Hmmmmm, on the other hand, the current CVS code did cleanup up &
rationalize the concept of a 'session', and so eventuallty, you'll
want to join forces there ... but other than that, little in the engine
has changed, so 98% of you work will be protable.

> My question is are all of the dependencies for gnucash in CVS?

No; none of them are.  A 'dependency' is soemthing that by definition
is not a part of gnucash, and thus, wouldn't be in the gnuash cvs.

> I'm concerned about g-wrap, for example. 

For your task, you'll need only to build the 'engine' part of the code,
and for that you won't need g-wrap.  (Although that is changing in the
1.7/CVS version).

But g-wrap is easy to build & install ...

> Is there a "Building GNC from CVS"
> How-To so I don't have to figure it all out? 

The README should cover it ...

> Thanks in advance for the help.

In order to make sure that your efforts are not 'wasted', I strongly
suggest sending in patches as you get each piece of the java bindings
working.  You don't have to get everything working perfectly before
sending in a patch.



-- 
pub  1024D/01045933 2001-02-01 Linas Vepstas (Labas!) <[EMAIL PROTECTED]>
PGP Key fingerprint = 8305 2521 6000 0B5E 8984  3F54 64A9 9A82 0104 5933

Attachment: s
Description: gnucash-swig-files.tar.gz

Reply via email to