[CMake] Is there a tool pretty much like cmake for Java?

Andreas Schneider asn at cynapses.org
Sat Nov 6 05:57:09 EDT 2010


On Monday, November 01, 2010 17:18:53 Michał Czuczman wrote:
>  On 10/22/2010 10:58 PM, Ben Boeckel wrote:
> > On Fri, Oct 22, 2010 at 04:45:42PM -0400, Ben Boeckel forgot to attach
> > files
> > 
> > Actually attaching things now.
> > 
> > --Ben
> 
> This is still not a perfect solution.
> 
> 
> 1. The script guesses output class file names only from source file
> names.  So one cannot have definitions of multiple classes within a
> single file, nor use nested classes.  This is a major issue for me.

That's why I introduced a script to search for class files creating relative 
paths and writing it to a file! Ben removed it. I will look at the changes in 
~4 weeks and will propose a new version.

> 2. The generated jar file has class files stored with absolute paths
> instead of paths relative to the <target>_CLASS_DIR.  But this is probably
> easy to fix.

That was already working just fine, see above.


	-- andreas



More information about the CMake mailing list