Skip to main content



      Home
Home » Newcomers » Newcomers » Ant editor outline view support for ant-contrib?
Ant editor outline view support for ant-contrib? [message #259443] Fri, 27 June 2008 15:19 Go to next message
Eclipse UserFriend
Originally posted by: ednotover.gmail.com

Greetings,
I'm new to Eclipse and I'm using it for ant. Many of my build files
make use of ant-contrib (e.g., <if>, <var>, etc.). It does not appear
that the ant editor's outline is aware of the ant-contrib syntax, so the
nice outline support doesn't come into play for, say, property definitions
within an <if>. In my outline view, I just see:

- <> if
. isset
+ <> then
- <> else
. property

There I'm not seeing the representative property icon, and I'm not seeing
the property's name displayed.
Is there a plugin I can use that will add recognition for ant-contrib?
If not, where in the eclipse source should I start looking to make
modifications for this sort of support?

Thanks,
Ed
Re: Ant editor outline view support for ant-contrib? [message #261094 is a reply to message #259443] Mon, 14 July 2008 18:30 Go to previous message
Eclipse UserFriend
I know of no plug-in that will add ant-contrib support.

If you are interested in adding the support, please log a bug report so we
can all follow/help your progress.

The outline model is based on subclasses of /org.eclipse.ant.ui/Ant Tools
Support/org/eclipse/ant/internal/ui/model/AntElementNode.jav a

Likely you would want to base your implementation off of the
org.eclipse.ant.internal.ui.model.AntPropertyNode.

Sorry for the delay on a response
Darins
http://runnerwhocodes.blogspot.com

"Ed" <ednotover@gmail.com> wrote in message
news:b4f64211c81a19d63f3fa3eda3b52e58$1@www.eclipse.org...

> Greetings,
> I'm new to Eclipse and I'm using it for ant. Many of my build files
> make use of ant-contrib (e.g., <if>, <var>, etc.). It does not appear
> that the ant editor's outline is aware of the ant-contrib syntax, so the
> nice outline support doesn't come into play for, say, property definitions
> within an <if>. In my outline view, I just see:
>
> - <> if
> . isset
> + <> then
> - <> else
> . property
>
> There I'm not seeing the representative property icon, and I'm not seeing
> the property's name displayed.
> Is there a plugin I can use that will add recognition for ant-contrib?
> If not, where in the eclipse source should I start looking to make
> modifications for this sort of support?
>
> Thanks,
> Ed
>
Previous Topic:Searching through my project
Next Topic:Deactivate password dialog at startup
Goto Forum:
  


Current Time: Sat May 10 06:25:20 EDT 2025

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

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

Back to the top