This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
NbModuleProject should cache the source and test directories from call to call.
Actually pretty annoying in practice.
Well it now uses a PropertyEvaluator to find the values of the properties, so the only overhead should be getting the cached property value from the PE, then calling PropertyUtils.resolveFileObject. That call however might be slower than is desirable.
I just tried to speed up PU.rFO by taking a shortcut for the common case that the path is a simple /-separated relative path. But also caching some directories in NbModuleProject just in case.
Hope this is enough: committed Up-To-Date 1.33 apisupport/project/src/org/netbeans/modules/apisupport/project/NbModuleProject.java
Verified.