[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Writing custom builder
|
On Mon, Jun 01, 2009 at 03:55:42PM -0400, Elena Laskavaia wrote:
> Did you add you builder to the project? Or register a nature that is associated with a builder?
>
Hmm. Looks like I missed something. In "builders" preferences it's
impossible to add my builder because "New" dialog contains no my builder
too.
I've created nature extension:
<extension
id="buildernature"
name="Some Nature"
point="org.eclipse.core.resources.natures">
<builder
id="my_builder_id">
</builder>
<runtime>
<run
class="NatureClass">
</run>
</runtime>
</extension>
Where NatureClass is empty Nature class. After this I've added breakpoint
to "configure" method of this Nature. However it is not called. Also I've
modified test project ".project" file to add my nature to list. However
breakpoint still never reached.
Something missing? Should I add some other extension to hook project creation
and add my nature to project this way? Looks like it is possible to create
custom New Project Wizard. But I want to add my Builder to all CDT (or even
non-CDT) projects. Any suggestions?
--
WBR, Dmitry
Attachment:
signature.asc
Description: Digital signature