Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ant-dev] Ant/External Tools for 2.2


Gregor,

Please open a bug report against Platform Ant and attach your "DOM based Ant document" so we can have a look.

Thanks
Darins



Gregor Heinze <gregor.heinze@xxxxxxxx>
Sent by: platform-ant-dev-admin@xxxxxxxxxxx

04/04/03 10:24 AM
Please respond to platform-ant-dev

       
        To:        platform-ant-dev@xxxxxxxxxxx
        cc:        
        Subject:        Re: [platform-ant-dev] Ant/External Tools for 2.2



I've sent this message already wednesday but it never appeared in the list so
I send it again now:

Tuesday, 1. April 2003 21:35, Jared Burns wrote:

JB> Here are a few thoughts about things we could do for 2.2 in addition to bug
JB> fixes. I'd like to do the architectural changes; the features are just ideas,
JB> not necessarily things I'm crazy about.

JB> Architecture:
JB> 1. Rework plug-in structure.
JB>   - Move Ant UI code to org.eclipse.ant.ui plugin
JB>   - Move generic bits (like variables) into the debug framework
JB> 2. Create/choose an Ant model. We have a few competing "Ant models" in our
JB> world. They should be unified.

JB> Features:
JB> 1. Wizard for creating Ant buildfiles. We could do anything from simply
JB> creating a skeleton that defines a named project and the default target to
JB> generating templates for common scenarios like building, packaging, and
JB> deploying.
JB> 2. More UI manipulation of buildfiles. Things like adding and removing targets
JB> and tasks via the outline.
JB> 3. Add refactoring support for Ant. Rename and Extract Target come to mind as
JB> valid refactorings.

JB> Thoughts? Additional ideas?

JB> - Jared


I allowed myself to play a bit with the code of the plugin.
Doing this I've replaced the AntModel of the outline view with a DOM
based AntDocument. The Ant build file is then parsed into a DOM tree
which is shown in the outline as the old AntModel. Based on this DOM
model it's quite easy to implement things like adding and removing of
targets etc.

I can sent the code if someone is interested.


Beste regards,
Gregor

_______________________________________________
platform-ant-dev mailing list
platform-ant-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ant-dev



Back to the top