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.

Bug 27178 - Way to obtain fileset of newly created classes during compiler postprocessing
Summary: Way to obtain fileset of newly created classes during compiler postprocessing
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-10 16:20 UTC by Tomas Zezula
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2002-09-10 16:20:59 UTC
RMI module requires to obtain the fileset of newly
created classes during postprocessing phase to
detect the Remote ones and run rmic on them.
Comment 1 Svata Dedic 2002-10-02 08:23:21 UTC
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 ? 
Comment 2 Svata Dedic 2002-12-04 14:30:30 UTC
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.