Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-09-22 01:50:49


On Friday 22 September 2006 01:05, Phillip Seaver wrote:
> Has anyone used boost-build to create jar files? One of my co-workers
> is compiling .java files into .class files and then making a .jar file
> out of the .class files. The problem is the paths in the class files.
> He basically needs to strip off everything but the original relative
> path. E.g., for apago/foo.java, he gets
> ....../link-static/threading-multi/apago/foo.class and he needs to pass
> just apago/foo.class to the jar creation program.

Isn't this the matter for passing right -C options to jar? Of course,
computing the right options might not be straight-forward. Or maybe not --
would
 
    jar
   -C ..../link-static/threading-multi
   <all .class file>

work?

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2

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