This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: kawa 1.14 release candidate available


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]