Hi Nicolas :-)

Well, I've done a lot of work on pulling bjdwp into Barry, and it went
farther than I was anticipating.  Which is great.

First, the shock: there is no more bjdwp/ directory.  Both tstparser
(now called bdptest for Barry Debug Parser Test) and bjdwp are under
tools/ and link against the required libraries that are build out of
the usual src/ directory.

The src/ directory contains all the files and headers and now produces
three libraries:

        libbarry
        libbarrydp (the debug parser library)
        libbarryjdwp (the java server library)

You can look in the Makefile.am to see the files that make up these
libraries.  The new libraries are composed of:

        libbarrydp:
                dp_parser.cc
                dp_codinfo.cc

        libbarryjdwp:
                j_record.cc
                j_jdwp.cc
                j_message.cc
                j_server.cc
                j_manager.cc

Only the required headers are installed, and they are all installed under
$prefix/include/barry:

        threadwrap.h (used to be handler.h, but this is so generic, might
                        as well include it in the main library)
        dp_codinfo.h
        j_manager.h
        j_server.h

Both JDWP test programs only have to #include <barry/barry.h> to make use of
what they need.

I haven't audited the library code in great detail yet, but it compiles.
And since it has been moved into the main tree, the autoconf conversion
work happened automatically.

The endian.h headers are available for the internal implementation code,
yet the App/library split is maintained.

Please add whatever files you need to the main src/ directory, and just
add them to the corresponding library file lists in Makefile.am.

It was fairly easy to create multiple libraries out of the same src/
directory.  I'm happy about that.

I hope this doesn't make merging your .debug parser work too hard.
Let me know if you have any questions.  It should be pretty straightforward
to add to the libbarrydp library now.

Thanks again for all this code! :-)

- Chris


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to