Subject: Re: [Boost-build] Java toolset
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2012-02-26 18:42:32
On Sun, Feb 26, 2012 at 5:31 PM, Ian Emmons <iemmons_at_[hidden]> wrote:
> I think this would be a great addition to Boost.Build, but I would be careful about your target audience. I suspect that writing a general-purpose java toolset is unlikely to attract many users. Things like ant and Eclipse are very well entrenched and quite mature. However, there are a considerable number of mixed Java-C++ code bases (interfaced using JNI), and creating a unified build system for these is painful.
This is exactly my case. I have to compile a jvm, its java
dependencies and a few JNI code for its libraries.
> I did this by writing ant scripts for the bulk of my java code, jam files that are invoked from the ant scripts to build my C++ code, and a bit of Boost.Build trickery to invoke javac and javah to build the JNI layer.
> If you were to create a toolset aimed primarily at JNI build tasks along with an ant task or two to make ant and Boost.Build interface easily, that would be a very useful addition to Boost.Build (and ant).
I would like to avoid creating build.xml files, that's why I'm trying
to create a java toolset.
> Ian Emmons
-- Felipe Magno de Almeida
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk