Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [antview] buildfiles unclearly shown in ant view
[antview] buildfiles unclearly shown in ant view [message #259078] Wed, 07 July 2004 06:31 Go to next message
Eclipse UserFriend
Hi.

Situation:
Ant buildfiles appear in the antview simply under their respective
project-name as defined in the buildfile. Additionally, the full
project-path appears in the status line once a single buildfile is
selected.
For my project/buildfile setup, this has a major drawback, since I use
automated copies of one single bootstrap-buildfile across projects (in
this way, a) only one bootstrap buildfile needs to be maintained, i.e.
some changes I don't need to apply to dozens of buildfiles and b) users
are guaranteed to face the same simple and wellknown build
targets/behaviour on every project). As a consequence, now all dozen+
bootstrap/master-buildfiles appear under the same name in the ant view. To
find the right one, I'd need to select one after the other until I can
confirm by statuslines projectpath info.

Possible solution:
OK, I _can_ setup some external tools configurations and live with that.
But since I'd just love to use the wonderful antview, which a) is all in
all a tad faster to use, when you need to select among all projects
buildfiles and b) allows for directly opening a buildfile via context menu
and c) is a lot faster for setup of build triggers.

Favorable solution:
I'd really like to be able to change the appearance of buildfiles in
antview in such a way that the buildfiles are shown with full project-path
as in statusline or with name of the enclosing project or with an
arbitrary name of my choice.


Unfortunately I wasn't able to find any informations in the manual, via
Google and in this newsgroup, indicating whether or how this is possible
with 3.0 final release. If you know how to do this or if you can tell me
where I can read up on how to do this or if you definitely know that it is
not possible, please tell me. If it's not possible or noone seems to know,
I'll probably file a request for enhancement on this little issue.

If you really had the patience to read this far: Great thanks for your
attention!

Cheers,
Joerg.
Re: [antview] buildfiles unclearly shown in ant view [message #259247 is a reply to message #259078] Wed, 07 July 2004 11:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.rizzoweb.com

Joerg Buchberger wrote:

> Hi.
>
> Situation: Ant buildfiles appear in the antview simply under their
> respective project-name as defined in the buildfile. Additionally,
> the full project-path appears in the status line once a single
> buildfile is selected. For my project/buildfile setup, this has a
> major drawback, since I use automated copies of one single
> bootstrap-buildfile across projects
[snip]
> As a consequence, now all
> dozen+ bootstrap/master-buildfiles appear under the same name in the
> ant view. To find the right one, I'd need to select one after the
> other until I can confirm by statuslines projectpath info.

I would recommend changing the project-name attribute whenever you copy
over the master build file to reflect the actual project it is being
copied into.
Should be pretty easy if you use Ant itself to copy the build.xml.

HTH,
Eric
Re: [antview] buildfiles unclearly shown in ant view [message #259500 is a reply to message #259247] Thu, 08 July 2004 03:51 Go to previous message
Eclipse UserFriend
Oh, yes! Why didn't I think of this myself.

Thanks for the hint, Eric.

Cheers,
Joerg.



Eric Rizzo wrote:

> Joerg Buchberger wrote:

> > Hi.
> >
> > Situation: Ant buildfiles appear in the antview simply under their
> > respective project-name as defined in the buildfile. Additionally,
> > the full project-path appears in the status line once a single
> > buildfile is selected. For my project/buildfile setup, this has a
> > major drawback, since I use automated copies of one single
> > bootstrap-buildfile across projects
> [snip]
> > As a consequence, now all
> > dozen+ bootstrap/master-buildfiles appear under the same name in the
> > ant view. To find the right one, I'd need to select one after the
> > other until I can confirm by statuslines projectpath info.

> I would recommend changing the project-name attribute whenever you copy
> over the master build file to reflect the actual project it is being
> copied into.
> Should be pretty easy if you use Ant itself to copy the build.xml.

> HTH,
> Eric
Previous Topic:How add a resourceFilter
Next Topic:Newbie Eclipse 3 plugin development questions - help required
Goto Forum:
  


Current Time: Sat May 10 00:58:04 EDT 2025

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

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

Back to the top