Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Custom builder problem
Custom builder problem [message #147921] Tue, 09 March 2004 09:36 Go to next message
Eclipse UserFriend
Hi all
I'm trying to create a simple builder but it seems not to be detected.
the extension point is defined as this:

<extension id="mavenbuilder"
name="Maven Builder"
point="org.eclipse.core.resources.builders">
<builder hasNature="false" >
<run class="ar.com.miguelgriffa.eclipse.mavenbuilder.MavenBuilder ">
</run>
</builder>
</extension>

Then I try to add the builder to the .project like this:

<buildSpec>
<buildCommand>
<name>mavenbuilder</name>
<arguments/>
</buildCommand>
</buildSpec>

any idea what am I doing wrong?

I'm using M7 by the way.
also

should this builder appear in the external tools builders?
how can I contribute it there?

thanks for any info/tip!
Re: Custom builder problem [message #147941 is a reply to message #147921] Tue, 09 March 2004 10:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: smesh.openrules.com

> <name>mavenbuilder</name>
use <pluginID>.<builderID>, not just builderID

for example: <name>org.eclipse.jdt.core.javabuilder</name>
pluginID = org.eclipse.jdt.core
builderID = javabuilder

Sam Mesh - http://openrules.com
Life is very short, and there's no time,
For coding and testing, my friend.
Re: Custom builder problem [message #147955 is a reply to message #147941] Tue, 09 March 2004 10:43 Go to previous messageGo to next message
Eclipse UserFriend
I'm sorry
I don't understand how the resulting .project should be
replacing the builder id by the plugin id didn't work
but I don't think that's what you meant.
The problem was in the .project file?
could you explain me little more how the file should be?
Great thanks for the time and effort

Sam Mesh wrote:
> > <name>mavenbuilder</name>
> use <pluginID>.<builderID>, not just builderID
>
> for example: <name>org.eclipse.jdt.core.javabuilder</name>
> pluginID = org.eclipse.jdt.core
> builderID = javabuilder
>
> Sam Mesh - http://openrules.com
> Life is very short, and there's no time,
> For coding and testing, my friend.
Re: Custom builder problem [message #147961 is a reply to message #147955] Tue, 09 March 2004 11:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: smesh.openrules.com

- Every builder resides in some plugin.
- Every plugin has a pluginID. (Defined in plugin.xml)
- The example below is for the case when your plugin has the pluginID
"miguel.griffa" :)

> <buildSpec>
> <buildCommand>
> <name>miguel.griffa.mavenbuilder</name>
> <arguments/>
> </buildCommand>
> </buildSpec>

If your plugin is
Sam Mesh - http://openrules.com
Life is very short, and there's no time,
For coding and testing, my friend.
Re: Custom builder problem [message #147985 is a reply to message #147961] Tue, 09 March 2004 12:31 Go to previous message
Eclipse UserFriend
Thank you!
works perfeclty now!
woooho

Sam Mesh wrote:
> - Every builder resides in some plugin.
> - Every plugin has a pluginID. (Defined in plugin.xml)
> - The example below is for the case when your plugin has the pluginID
> "miguel.griffa" :)
>
> > <buildSpec>
> > <buildCommand>
> > <name>miguel.griffa.mavenbuilder</name>
> > <arguments/>
> > </buildCommand>
> > </buildSpec>
>
> If your plugin is
> Sam Mesh - http://openrules.com
> Life is very short, and there's no time,
> For coding and testing, my friend.
Previous Topic:imports not recognized with source subdirectory
Next Topic:how to use CompareUI and Differencer
Goto Forum:
  


Current Time: Wed May 07 16:21:23 EDT 2025

Powered by FUDForum. Page generated in 0.04446 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top