Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [Dltk-dev] DLTK Builder refactoring

Thanks!

-----Original Message-----
From: dltk-dev-bounces@xxxxxxxxxxx [mailto:dltk-dev-bounces@xxxxxxxxxxx]
On Behalf Of Alex Panchenko
Sent: Sunday, October 05, 2008 2:45 PM
To: DLTK Developer Discussions
Subject: Re: [Dltk-dev] DLTK Builder refactoring

Hi,

At the moment it is in HEAD, new build will be available on Monday.

Regards,
Alex

----- Original Message -----
From: "Eden Klein" <eden@xxxxxxxx>
To: "DLTK Developer Discussions" <dltk-dev@xxxxxxxxxxx>
Sent: Sunday, October 5, 2008 7:12:44 PM GMT +06:00 Almaty, Novosibirsk
Subject: RE: [Dltk-dev] DLTK Builder refactoring

Hi Alex,

I just downloaded the latest integration build
(dltk-core-sdk-I-I200809251012-200809251012-incubation.zip) and I don't
see the new extension point (org.eclipse.dltk.core.buildParticipant).

Does it exist only in Head or am I missing something?

Eden

-----Original Message-----
From: dltk-dev-bounces@xxxxxxxxxxx [mailto:dltk-dev-bounces@xxxxxxxxxxx]
On Behalf Of Alex Panchenko
Sent: Friday, October 03, 2008 4:51 PM
To: DLTK Developer Discussions
Subject: [Dltk-dev] DLTK Builder refactoring

Hi all,

I have made the builder infrastructure refactoring.
The goal is the ability to use any parsers & ASTs when building the
project.

Now IBuildParticipants are called from the org.eclipse.dltk.core plugin.
org.eclipse.dltk.validators.core is used only to launch external
validators.

All build participants now should be configured - i.e. the parser step
too.
e.g. for ruby:

   <extension
         point="org.eclipse.dltk.core.buildParticipant">
      <buildParticipant
            
class="org.eclipse.dltk.core.builder.ParserBuildParticipantFactory"
            id="org.eclipse.dltk.ruby.buildParticipant.parser"
            name="Ruby parser"
            nature="org.eclipse.dltk.ruby.core.nature">
      </buildParticipant>
      <buildParticipant
 
class="org.eclipse.dltk.ruby.internal.parser.RubyTodoParserType"
            id="org.eclipse.dltk.ruby.todo"
            name="Ruby TODO task parser"
            nature="org.eclipse.dltk.ruby.core.nature">
            <requires
                  id="org.eclipse.dltk.ruby.buildParticipant.parser">
            </requires>
      </buildParticipant>
   </extension>

1st one is standard parser, 2nd one is TODO parser and it depends on the

1st.

Interfaces are changed to the:

public interface IBuildParticipantFactory {
    IBuildParticipant createBuildParticipant(IScriptProject project)
            throws CoreException;
}
public interface IBuildParticipant {
    void build(IBuildContext context) throws CoreException;
}

Regards,
Alex

_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev


Back to the top