Sven Helmberger
-
2003-09-06
if you get compile errors like
BUILD FAILED
java.lang.NoSuchMethodError:
com.sun.tools.javah.Main.<init>([Ljava/lang/String; )V
it's because Sun decided to get rid of a Constructor
which is called from the Javah-Task.
You can install a nightly build of ant to fix this or
you replace $SOURCE_ROOT/src/java/build.xml file with
the attached file.
(replaced the javah-Task with and equivalent exec-Task)
this is only needed for ant versions up to and
including 1.5.4
as further versions will be fixed in this regard.