Natures and Builders [message #172212] |
Thu, 18 December 2003 22:25  |
Eclipse User |
|
|
|
Originally posted by: GeorgeBaby.comcast.net
I'm creating a plugin to manage projects of a new type. I'd like to use my
own builder type, but when I create a project (and have the wizard add the
nature), no reference to the builder shows up in the .project file, just the
nature is shown. I'm assuming that I don't have the nature properly
associated with the builder, but I can't tell what I've done wrong. I've
tried many variations (qualifing the builder reference in the nature with
the project id, or not qualifying it; using hasNature as true/false or
omitted altogether, and never get a builder).
Could someone point out my error?
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>a1</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
<nature>packagebuilder.OVPIPackageNature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<plugin
id="packagebuilder"
name="%OVPI"
version="0.0.1">
<extension
id="OVPIPackageNature"
name="%OVPIPackageNature"
point="org.eclipse.core.resources.natures">
<runtime>
<run
class="xxx.natures.BuilderNature">
</run>
</runtime>
<builder
id="packagebuilder.PackageBuilder">
</builder>
</extension>
<extension
id="PackageBuilder"
name="%OVPIBuilder"
point="org.eclipse.core.resources.builders">
<builder hasNature="true">
<run
class="xxx.builders.PackageBuilder">
</run>
</builder>
</extension>
</plugin>
|
|
|
|
|
|
|
|
|
|
|
|
Re: Natures and Builders [message #180065 is a reply to message #180027] |
Wed, 14 January 2004 14:22  |
Eclipse User |
|
|
|
Originally posted by: richkulp.NO.SPAM.us.ibm.com
A year ago, which is the last time I needed to do this kind of stuff,
and the last time I looked at it, it didn't say that. :-) The additional
comment had been added since then.
However, it doesn't really stand out and can be easily missed in the
comment. And it wasn't clear why this was important to not configure
them. That would be nice to know.
--
Thanks, Rich Kulp
|
|
|
Powered by
FUDForum. Page generated in 0.04319 seconds