Re: Compilation Time | More questions -Charsets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ok, thanks for that, I may move to Eclipse if needed.

Actually we are hacking the ClassLoader in a way we break Java Spec,
so this may not be really interested for main maintainers. The idea is
to split the glibj.zip: the very useful class to boot the VM (jamvm)
and our custom ClassLoader are kept in a local file while all other
are stored in a distant file that is accessed by our ClassLoader. The
goal is to have a minimal Java environment to embed on minimal systems
and that is still able to run Java apps.

This hack was quite easy and seems to work, although we have to check
for perfs.

Now we are investigating the charsets classes since for sure we don't
need them all on our minimal system. JamVM tries to load a bunch of
them when initializing and we would stick to one (8859 or UTF8 for
example). You may give us a hint again about how to make jamvm/gnu
classpath work with only one charset. In a general way, we want to get
rid off everything that would be platform specific and keep only what
we need.

Thanks for any info.


2007/4/23, Mark Wielaard <mark@xxxxxxxxx>:
On Mon, 2007-04-23 at 09:33 -0600, Tom Tromey wrote:
> >>>>> "Martin" == Martin Schlienger <m.schlienger@xxxxxxxxx> writes:
>
> Martin> Each time we change the ClassLoader.java class, compilation
> Martin> lasts quite a long and I am not really convinced that
> Martin> everything need to be recompiled. I am quite a beginner with
> Martin> Makefile but it seems that no real check is done and
> Martin> everything is compiled by default.
>
> Martin> Maybe you can give me some tricks on that or tell me what method you
> Martin> use when hacking Classpath.
>
> IMNSHO, the best way to do incremental development on Classpath is to
> use Eclipse.  It will only recompile the minimum necessary when you
> make a change.  There a HOWTO for setting this up on the wiki -- it
> isn't as trivial as we would like, but it is doable, and once you have
> it set up you rarely have to tweak it.

That page is here btw:
http://developer.classpath.org/mediation/ClasspathHackingWithEclipse
It is slightly easier than described there now that the CDT is usually
available in most distros out of the box.

It sounds like an interesting hack to the ClassLoader. Please do let us
know how it works out.

Cheers,

Mark




[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux