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 build.xml patch for Android


On Tue, 03 Jul 2012 11:57:15 -0700, Per Bothner <per@bothner.com> wrote:
> On 07/03/2012 11:39 AM, craven@gmx.net wrote:
> > On Tue, 03 Jul 2012 11:28:24 -0700, Per Bothner <per@bothner.com> wrote:
> >> Could you try the attached patch?
> >
> > It seems good, however it fails because gnu.kawa.slib.gui still
> > references the models. Just looking into how to disable building that
> > file too for android..
> 
> Could you try the updated patch?

Thank you! This seems to work perfectly. No more need to remove any
files from the jar.

The only notices I get from ProGuard are:

Note: gnu.kawa.reflect.CompileBuildObject calls
'(gnu.kawa.reflect.CompileBuildObject)Class.forName(variable).newInstance()'
Note: kawa.repl: can't find dynamically referenced class kawa.GuiConsole
Note: kawa.repl accesses a method 'console()' dynamically
      Maybe this is library method 'java.lang.System { java.io.Console
      console(); }'

I'm not sure what kawa.GuiConsole is, I can't find it in the .jar.. Is
this something obsolete?

Thanks for fixing this Per, this makes working with android much easier,
imho!

Greetings,
Peter


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