Boost logo

Boost-Build :

Subject: Re: [Boost-build] Picking up building Java in Boost
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-04-17 04:44:57

On Thursday 16 April 2009 01:01:18 John Bito wrote:
> My project is predominantly C and I've been happy moving from a
> fifteen-year-old make build to boost/bjam. The point of the project
> is to integrate some enhancements written in Java, so I'll have to
> build the jar files. I saw that some code was written by someone
> outside the project about 5 years ago. Vladimir discussed it with
> Emilio Lesende and at the end of the thread
> <> sent a link
> <> that
> isn't working today.

It's probably gone :-(

> If Emeliano's code is available somewhere, I'd be interested in
> picking it up and seeing about making it work with bjam 3.1.17 and a
> recent version of the Boost build.

Actually, I suspect that java support does not need any smartness at all --
can you just run javac on all java sources and then run jar on every .class
that is produced. You might need to put GLOB in between to collect the
list of .class files without resorting to unportable commands such as
> I also have a code-generator that produces a collection of C files, so
> I'd be looking for ways to handle rules that generate multiple
> targets.

Can you describe your use case in more detail? If a code generate produces
a fixed set of targets, it's easy to handle.

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at