Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » build.xml gets deleted randomly
build.xml gets deleted randomly [message #519568] Tue, 09 March 2010 05:56 Go to next message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 266
Registered: July 2009
Senior Member
Hi all,

Here's an issue that has had us puzzled for some time:

We have a set of plugin projects, one of which (lets call it A)
contributes ant tasks. These ant tasks need to be exported as a jar
file, so in addition to the standard java and plugin manifest builders
project A uses an ANT Builder to create this jar file from a specific
set of source files. What jar file to create and what source files to
compile into it is defined in a file called build.xml that resides at
the root of project A in our workspace. So far so good. This seems to be
working quite nicely.

The puzzling bit is that every so often Eclipse will complain about not
being able to find build.xml when trying to run the Ant Builder. Looking
in the package explorer, the build.xml resource is still there, but it
has actually been deleted on the file system!

Luckily, all our sources are in SVN, so the file is easily restored, but
it is puzzling nonetheless. Has anybody run into a similar issue before?
Are we doing something terribly stupid here? Is this a known bug (I've
searched bugzilla, but didn't run into anything that sounded like this,
but as there were so many things related to building I may easily have
missed the important one)?

Any comments would be appreciated.

Many thanks in advance,

Steffen
Re: build.xml gets deleted randomly [message #519601 is a reply to message #519568] Tue, 09 March 2010 12:40 Go to previous messageGo to next message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
Thanks for posting this Steffen.

Replying merely to CC myself via forum notifications.
Re: build.xml gets deleted randomly [message #519643 is a reply to message #519568] Tue, 09 March 2010 15:10 Go to previous message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
This is normal, the build.xml file is something that the PDE build will automatically generate, so you are not supposed to use it. Use a name other than build.xml and you will be fine.

Re: build.xml gets deleted randomly [message #519686 is a reply to message #519643] Tue, 09 March 2010 12:12 Go to previous message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 266
Registered: July 2009
Senior Member
Many thanks,

Steffen

On 09/03/2010 15:10, Francis Upton wrote:
> This is normal, the build.xml file is something that the PDE build
> will automatically generate, so you are not supposed to use it. Use a
> name other than build.xml and you will be fine.
Previous Topic:convert webworks help to eclipse help
Next Topic:Difficulties setting the enablement of a command
Goto Forum:
  


Current Time: Fri Apr 26 08:50:45 GMT 2024

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

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

Back to the top