Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to correlate the ant-runtime location with the current eclipse home?
How to correlate the ant-runtime location with the current eclipse home? [message #333007] Wed, 19 November 2008 13:01
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
When I upgrade to a new eclipse version, then I usually put the new
version into a new subdirectory whose name contains the version number,
e.g. C:\eclipse_3.4.1.

When I later - once I am convinced that everything seems fine and
stable - remove the old eclipse directory (C:\eclipse_3.3.2 in my case)
then suddenly several projects that use ant build files suddenly fail to
build. The reason is that under Window => Preferences => Ant => Runtime
the entries under "Ant Home Entries (Default)" point to an explicit
directory,
C:\eclipse_3.3.2\eclipse\plugins\org.apache.ant_<version-here >\lib\...
and not something that is relative to the current eclipse location.

It's of course trivial to click the "Ant Home..."-button and assign the
new location again, but then - next time I migrate again - I have the
same stupid effect *again*! So I keep stumbling over this about every 6
months or so, when I update to a newer eclipse version and I find that a
kind of annoying, esp. since I tend to forget from one time to the next,
what one has to change and fix again and then this always takes some
time to dig this out and recall, what has to be done.

Can't one somehow automatically assign the new ant-location here or let
eclipse find that location automagically?

Michael
Previous Topic:Keeping custom (non text) editor in sync with underlying resource changes
Next Topic:strange warning on an ant build.xml file
Goto Forum:
  


Current Time: Sat Apr 27 05:05:43 GMT 2024

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

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

Back to the top