Re: how to new Compiled Classes BT into project
Tomas Zezula <[email protected]> Wed, 21 May 2003 17:04:19 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.projects.devel |
|---|---|
| Message-ID | <[email protected]> |
Ondrej Rypacek wrote: > Tomas Zezula wrote: > >> Chris Webster wrote: >> >>> Will the ability to create a new CompiledClasses target always be >>> available in the ui, when implemented? >>> >>> >> Well, from the UI point of view it is a bit complicated. There must >> be a UI which allows user to associate >> the CompiledClasses (BuildTarget) with some Source Component. >> (Probably part of new CompiledClasses wizard). >> The UI spec should be extended by this, if we want to support this >> use case. >> Tomas > > > > Well, that was my point. Without thinking of it much, I just deleted > the old "Compiled Classes" build target and expected to be able to > create a new one , where the wizard would allow me to select the sources. > > I think, that as it is displayed among build-targets, its behaviour > should be the same as of all other build targets. It should also be > possible to have several "Compiled Classes". It is no special > use-case, it just follows from the logic of the projects system. > > - Ondra Yes, but the BuildTarget needs to know the SourceComponent(s) to operate on. The CompilationUnit is a relation of a CompiledClasses BT and (SourceComponent)+. If the new CompiledClasses should have any effect it must be associated with the SourceComponent(s). This is very similar to the other BTs behaviour, e.g. the RMI BT requires as input CompiledClasses BT(s) to know its input. Probably The New From Template Wizard for CompiledClasses should let you choose these SourceComponent(s). But this should be solved in the UI Specification. Tomas > > >> >>> >>> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >