This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: kawa 1.14 release candidate available
- From: Per Bothner <per at bothner dot com>
- To: Christopher Meng <cickumqt at gmail dot com>
- Cc: "kawa at sourceware dot org" <kawa at sourceware dot org>
- Date: Mon, 30 Sep 2013 11:16:40 -0700
- Subject: Re: kawa 1.14 release candidate available
- Authentication-results: sourceware.org; auth=none
- References: <524922CF dot 5000607 at bothner dot com> <CAHcXnBFSoyh7rcdozoNGwFUuGNUx7yj-BcpC3U392kJ52Pk1ig at mail dot gmail dot com>
On 09/30/2013 08:36 AM, Christopher Meng wrote:
I have some errors(no patches applied):
http://pastebin.com/Fu0e8eZG
Ant is trying to build the servlet-classes, because enable-servlet
is true. This various defaults to trues or false depending
on whether the class javax.servlet.Filter exists in the classpath or not.
Clearly javax.servlet.Filter is missing, so it looks like something
is overriding enable-servlet. Perhaps a build.properties file?
Perhaps -Dbuild.properties is set on the command line?
As an alternative to chnaging whatever set enable-servlet to true,
it might be better to actually make sure that servlet.jar is javac's
classpath. It's harmless if servlet.jar is missing at run-time,
since the core kawa classes don't depend on the servlet classes;
it just enables an extra feature.
I notice on Fedora 18 (haven't tried 19 or 20) each package
that depends on servlets installs its own copy of servlet.jar
or servlet-api-3.0.jar. I tried:
$ sudo yum provides '*/servlet*.jar'
So there is no canonical servlet package that kawa can build
against.
--
--Per Bothner
per@bothner.com http://per.bothner.com/