Re: proxy release of 2.2.1

It is generally a hard problem to partition source files into
independent packages.
If you want some help to do this it would be best to write a
computer program that will do it automatically for any collection, find
cycles etc.
I did this once but I have no time to do it again!
As I recall, jigsaw had some dependencies which would require the
creation
of a few more interface classes to break it up.

1)You could start with a known entry point source
file
and try to compile it. It would of course fail to compile but the
failure
message should indicate a needed dependency which you could then auto
find and add to the list of sources.

2) Another possibility is to supply flags to the JRE to persuade it to
list classes
as they are loaded.

3) Another possibility is to look in the generated class files. The
compiler store the *real* import dependencies in the class file
header
(rather than those mere programmer estimates of dependencies listed in
the source file)

All approaches may need some human guidance to find classes not
statically
linked (e.g loaded by name from property values) but this should be a
small
proportion.

Option 3 is the most favorable and I have complete source to an old
"jmake" which
has classes for decoding class files and graphing the dependencies.
Just ask and I will send it. (53Kbytes).


Stephane Nicoll wrote:
> 
> Hello,
> 
> Are you going to release a proxy package of 2.2.1 ? I found the proxy package
> of 2.0.5 very useful since I am using the proxy functionnalities only in my
> projects. And of course I cannot afford to add 8 Mo of files since most of
> them are unused.
> 
> So If someone can help me! I have already tried to make my own proxy pacakge
> for 2.2.0 but I don't know which file are mandatory and which aren't.
> 
> Thank you,
> 
> Stéphane

-- 
Christopher William Turner, http://www.cycom.co.uk/ "Serving fine Java
since 1996"

Received on Tuesday, 9 April 2002 06:45:12 UTC