|
From: Michael A. <mic...@ze...> - 2003-10-22 07:47:29
|
OK, for all those wanting to know, I finally got babeldoc to compile
using the ant plugin in eclipse. The trick is: you have to use the M4
build of version 3. In prior versions, it was not possible to set the
working directory when running ant, which caused problems in the custom
tasks in the bootstrap jar. Normally, when running in an IDE, the
working dir is set to your home directory, or something similar, and
that is where the moduleFinder was looking for modules to build. Of
course, there aren't any modules in my home directory, which was causing
the problem. In build M4, it is possible to set the working directory
when running ant in a separate VM, and everything is now happy. It
probably means that the moduleFinder task (and probably the others)
should be updated to use the base_dir property from ant, rather than the
getProperty("user.dir"). But that's for another day.
Cheers...
MikeA
|