This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
build failure using ant with default settings
- From: Jamison Hope <jrh at theptrgroup dot com>
- To: Kawa mailing list <kawa at sourceware dot org>
- Date: Wed, 18 Apr 2012 12:24:47 -0400
- Subject: build failure using ant with default settings
With a fresh checkout of Kawa, `ant` with default build settings:
with-awt=true
with-swing=true
with-sax2=true
enable-jemacs=false
enable-xml=true
enable-servlet=false
enable-android=false
fails in slib-scm-classes when it tries to compile gnu/kawa/slib/
swing.scm.
There are a bunch of unknown class warnings for gnu.kawa.models
classes and
finally a NPE "in inline-compiler for #<procedure as>" at swing.scm:
19:37.
I don't have time to fully debug this at the moment, but the
workaround is
to first invoke `ant -Denable-jemacs=true jemacs-java-classes` and
then `ant`.
One problem, clearly, is that swing.scm, and therefore the slib-scm-
classes
target, depends upon gnu/kawa/models/*.java but this is not reflected in
build.xml. Another is that gnu/kawa/models/*.java are only compiled if
enable-jemacs=true.
I presume that Make-based building does not have this issue (or that
it used
to but this got fixed at some point) and so to fix the ant targets we
just
need to update them to match what Make does.
Any volunteers?
Thanks,
Jamie
--
Jamison Hope
The PTR Group
www.theptrgroup.com