It would be nice if we could reference the source root of
the current class from the file option components. For
example, I would love to specify that my javadoc should
always go to $SRCROOT/doc, regardless of what files I'm
trying to javadoc.
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":
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.