Make target for compiling java classes only?
Volker Simonis
volker.simonis at gmail.com
Thu Jan 10 12:17:38 UTC 2008
What do you mean by "the Java classes of OpenJDK".
Every subproject contains some Jaca classes, so I'm afraid it's
not possible to build only all the Java classses from OpenJDK with
one build target.
If you are refering to the JDK Java classes you can get near that
by only building the JDK target. This will still build the native parts
of the Java classes, but I think that's not an issue (concerning the time
consumption) if you build the whole JDK part anyway.
In general you can build as follows:
make BUILD_DEPLOY=false BUILD_INSTALL=false BUILD_HOTSPOT=false
BUILD_LANGTOOLS=false BUILD_JDK=true BUILD_JAXP=false
BUILD_JAXWS=false BUILD_CORBA=false NO_IMAGES=true
You can choose which subprojets to build by setting the variables
appropriately. Notice that you should do a clean "make all" build
to the same build location at the beginning, before you try to build
single subprojects, otherwise you may have to set certain variables
like ALT_JDK_IMPORT_PATH or ALT_HOTSPOT_IMPORT_PATH that
point to a previous full build.
You may also consult jdk/README for how to build only the JDK and you
can also try the makefiles in the jdk/make subdirectories (e.g.
jdk/make/java/Makefile will only build the "java" classes like "java.lang",
"java.utils" and so on). However you'll probably also need to do a full
build before you can use them.
Regards,
Volker
On 1/10/08, Roman Kennke <roman.kennke at aicas.com> wrote:
> Hi there,
>
> I'm looking for a make target, that compiles only the Java classes of
> OpenJDK. Is there a way to do that? Thanks,
>
> /Roman
>
> --
> http://kennke.org/blog/
> --
> Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org
> aicas Allerton Interworks Computer Automated Systems GmbH
> Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
> http://www.aicas.com * Tel: +49-721-663 968-0
> USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
> Geschäftsführer: Dr. James J. Hunt
>
>
More information about the build-dev
mailing list