[kaffe] using ant to build kaffe - ant needs non-free java!

Dalibor Topic robilad at yahoo.com
Sun Aug 4 14:52:39 PDT 2002

--- Grzegorz Prokopski <gadek at debian.org> wrote:
> Hello! 
> I've read in java ml archives that you're going to
> use ant to build 
> kaffe. Unfortunatelly ant is still in contrib - it
> means, it needs 
> non-free java to be build and/or used. 

No, not really. When I heard that Jim was developing a
java based build system, I proposed to use ant for
that. The proposal was rether vague, and when I played
around with ant, I had a couple of problems to get the
latest CVS snapshots to run. I had a nice conversation
about improving support for ant in kaffe and vice
versa with an ant deveopler, and that was it, as other
issues demanded my attention.

> So I digged a bit around - it seems that since ant
> is contrib - any 
> code that uses ant - will be at best in contrib too.
> All the libs 
> I packaged for ArgoUML use ant ;-) 

Yeah, I was wondering about how well free software
like kaffe mixes with apache SF licenses, like ant,
tomcat, etc.

> After some small and simple hacks in ant code and
> deb build setup
> I got to the point where I am getting:
> java.lang.IllegalArgumentException: Object type
> doesn't match method's
> class
> 	at
> java.lang.reflect.Method.invoke(Method.java:native)
> 	at
> 	at
> and so on... (full output should be at
>  http://home.sente.pl/greg/java.txt till I delete
> the file)
> I found out, that the problem was already reported,
> however nobody
> even replayed to the mail:

Sometimes things slip by, we are all humans ;)

> Maybe 1.0.7 kaffe release (not packaged for debian
> yet) solved

I've done some work on the reflection classes during
May fixing a couple of bugs etc, so I might have
squashed that one, too. Could you give 1.0.7 a try and
see if the errors persist? In that case please put up
the modified ant source that you are using on the web,
as your small and simple hacks to the source could
help us find the bug faster.

The code has changed a bit, so Method.invoke, which is
at the top of your stack trace, is no longer native,
for example.

best regards,

dalibor topic

Do You Yahoo!?
Yahoo! Health - Feel better, live better

More information about the kaffe mailing list