builder not running [message #91921] |
Fri, 11 July 2003 13:10  |
Eclipse User |
|
|
|
Originally posted by: jzhou.persistence.com
Hi,
I have a custom builder that should be run when the workspace/project is
saved. The build methods in my builder are not called upon a workspace
save(when the "build on save" option is turned). Does anyone know if the
builder has to be a save participant in order to have it called by the
workbench when save happens?
Thanks,
Jie
|
|
|
|
|
Re: builder not running [message #92621 is a reply to message #92310] |
Sat, 12 July 2003 14:56   |
Eclipse User |
|
|
|
Originally posted by: chaves.nospam.inf.ufsc.br
Jie,
The workbench is the Eclipse platform UI - builders, natures and resource
change listeners are concepts related to the Resources plug-in - they do
not have anything to do with the workbench.
So, the workbench does not call builders. And as Richard has pointed out,
if a builder is not present in the project build spec, it will not get
called when a resource in that project changes.
I suggest you to read the article on projects and builders, by John
Arthorne, available in the Eclipse corner.
HTH,
Rafael
Jie Zhou wrote:
> Hi,
> Thanks for the help.
> I just found out that the problem is not in my builder, it is that a
> resource change event was not fired so the workbench does not know to call
> the builder.
> Thanks,
> Jie
> "Richard L. Kulp" <richkulp@NOSPAM.us.ibm.com> wrote in message
> news:ben887$kil$1@eclipse.org...
> > Builder's need to be added to a project before it runs in that project.
> > How did you add your builder to a project.
> >
> > Rich
> >
|
|
|
Re: builder not running [message #93661 is a reply to message #92621] |
Mon, 14 July 2003 20:30   |
Eclipse User |
|
|
|
Originally posted by: jzhou.persistence.com
Sorry, I don't think I was using the right terminology. I meant Eclipse
framework, or is this still a wrong name to use? :-)
I do have all the right natures and builders defined/used in plugin.xml and
..project and the builder works fine if any of these menu options "Rebuild
Project", "Build Project" ..... is clicked.
Thanks,
Jie
"Rafael Chaves" <chaves.nospam@inf.ufsc.br> wrote in message
news:bepll4$bpn$1@eclipse.org...
> Jie,
>
> The workbench is the Eclipse platform UI - builders, natures and resource
> change listeners are concepts related to the Resources plug-in - they do
> not have anything to do with the workbench.
>
> So, the workbench does not call builders. And as Richard has pointed out,
> if a builder is not present in the project build spec, it will not get
> called when a resource in that project changes.
>
> I suggest you to read the article on projects and builders, by John
> Arthorne, available in the Eclipse corner.
>
> HTH,
>
> Rafael
>
> Jie Zhou wrote:
>
> > Hi,
>
> > Thanks for the help.
>
> > I just found out that the problem is not in my builder, it is that a
> > resource change event was not fired so the workbench does not know to
call
> > the builder.
>
> > Thanks,
>
> > Jie
>
> > "Richard L. Kulp" <richkulp@NOSPAM.us.ibm.com> wrote in message
> > news:ben887$kil$1@eclipse.org...
> > > Builder's need to be added to a project before it runs in that
project.
> > > How did you add your builder to a project.
> > >
> > > Rich
> > >
>
>
|
|
|
Re: builder not running [message #93937 is a reply to message #93661] |
Tue, 15 July 2003 09:52  |
Eclipse User |
|
|
|
Originally posted by: richkulp.NOSPAM.us.ibm.com
Double check to make sure that you have
Window->Preferences->Workbench->(checkbox) "Perform build automatically
on resource modification" checked. You shouldn't have "Build Project"
showing up if this checkbox is checked. If this is checked, then you
should only have "Rebuild..." and not any "Build..."
Rich
|
|
|
Powered by
FUDForum. Page generated in 0.03557 seconds