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.
RMI module requires to obtain the fileset of newly created classes during postprocessing phase to detect the Remote ones and run rmic on them.
What information do you have at start ? I assume you are implementing a build target, so you probably can have/construct a CompilerJob and add the `compiled classes' build step into it, right ? This may require changes in the compiler API. What if the user runs `Compiled classes' build step several times before she triggers project build (that includes RMIC postprocess) ? Wouldn't it be safer for your buildstep to collect all .class files modified from the last time RMIC was run ?
Compiled Classes now return classes from its getContents() in BuildTargetDescriptor. RMI may timestamp-check contents of the fileset to see what has changed from the last time RMIC was invoked.