Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ant-dev] External Tags in Ant Editors outline

I would argue *not* to expand external entities - at least in the 2.1 time
frame. Selecting an element in an expanded external entity cannot relate to
content in the current source file being edited. In the future, I would say
that we could expand the entities, and allow navigation to the asscoaited
source file.

Darin




|---------+---------------------------------->
|         |           Jared Burns            |
|         |           <jared-eclipse@xxxxxxxx|
|         |           m>                     |
|         |           Sent by:               |
|         |           platform-ant-dev-admin@|
|         |           eclipse.org            |
|         |                                  |
|         |                                  |
|         |           02/18/2003 10:12 AM    |
|         |           Please respond to      |
|         |           platform-ant-dev       |
|         |                                  |
|---------+---------------------------------->
  >---------------------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                                             |
  |       To:       platform-ant-dev@xxxxxxxxxxx                                                                                                |
  |       cc:                                                                                                                                   |
  |       Subject:  Re: [platform-ant-dev] External Tags in Ant Editors outline                                                                 |
  |                                                                                                                                             |
  >---------------------------------------------------------------------------------------------------------------------------------------------|




Pro:
1. The parser returns the external entities as part of the file.
2. If you ask Ant to list the targets in a file, it will include targets
defined in external entities.
Con:
1. The Java editor doesn't allow you to expand imports in the outliner to
view
their contents.

Darin and I have gone back and forth on this a few times and the
conversation
has repeatedly come down to the nature of external entities: Are they
analagous to import/include statements or #define statements? That is,
should
we interpret them simply as references to outside files or should their
contents be inlined into the editor? Based on the way Ant and the parser
behave, we've been lead to believe that the contents of the external
entities
should be thought of as more or less inlined.

- Jared

On Tuesday 18 February 2003 03:25 am, Alf.Schiefelbein@xxxxxxxx wrote:
> > Out of interest how would you like to have external targets, etc be
>
> indicated
>
> > in the outline. Apache ant makes no such distinction (-projecthelp)
>
> I don't think that external tags belong into the outline. I understand
the
> outline as a resemblance of the contents of the file, and since external
> entities are not in the file, they don't belong into the outline.
>
> alf
>
> _______________________________________________
> platform-ant-dev mailing list
> platform-ant-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-ant-dev

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






Back to the top