[PPL-devel] [Fwd: Re: automake/514: check_JAVA files are always compiled]
Roberto Bagnara
bagnara at cs.unipr.it
Wed Jan 10 20:18:32 CET 2007
-------- Original Message --------
Subject: Re: automake/514: check_JAVA files are always compiled
Date: Wed, 10 Jan 2007 19:35:35 +0100
From: Ralf Wildenhues <Ralf.Wildenhues at gmx.de>
Organization: Department of Numerical Simulation, University of Bonn
To: Roberto Bagnara <bagnara at cs.unipr.it>
CC: bug-automake at gnu.org, automake-gnats at sources.redhat.com
References: <20061222151049.14149.qmail at sourceware.org> <458BE8F1.3020904 at cs.unipr.it>
Hello,
* Roberto Bagnara wrote on Fri, Dec 22, 2006 at 03:17:21PM CET:
>
> The subject says all. Is there any workaround?
> check_JAVA files are always compiled, not only in case of `make check'.
Quoting 'info Automake Java':
| Any `.java' files listed in a `_JAVA' variable will be compiled with
| `JAVAC' at build time. By default, `.java' files are not included in
| the distribution, you should use the `dist_' prefix to distribute them.
[...]
| Currently Automake enforces the restriction that only one `_JAVA'
| primary can be used in a given `Makefile.am'. The reason for this
| restriction is that, in general, it isn't possible to know which
| `.class' files were generated from which `.java' files, so it would be
| impossible to know which files to install where. For instance, a
| `.java' file can define multiple classes; the resulting `.class' file
| names cannot be predicted without parsing the `.java' file.
Seems it's working as documented, no?
No, I don't know why this limitation exists, or what would be needed to
lift it. I don't know Automake's java support very well.
Hope that helps.
Cheers,
Ralf
--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara at cs.unipr.it
More information about the PPL-devel
mailing list