Peter Centgraf - 2003-07-20

Logged In: YES
user_id=431096

Your specific use case is now the default behavior of Javadoc.
It would still be nice to have this variable available. For
example, it would help with the use case in "Dynamic config
reload":

<http://sourceforge.net/tracker/index.php?
func=detail&aid=703276&group_id=44253&atid=438938>

Once we support arbitrary compiler flags, it could be used
there as well. We might want to call it $CUR_SRCROOT, or
something similar, to indicate that it is evaluated based on the
current active document.

I'm not sure how this could be implemented with our current
config framework. Whenever we move to a document with a
new srcroot, we'd need to reparse all of our config options,
store the new values, and call the appropriate listeners. We
should also make sure that things like classpaths get updated
properly to both add the new and remove the old values. This
might be hard and/or impossible.