Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » build.xml gets deleted randomly
build.xml gets deleted randomly [message #519568] Tue, 09 March 2010 00:56 Go to next message
Eclipse UserFriend
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 07:40 Go to previous messageGo to next message
Eclipse UserFriend
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 10:10 Go to previous message
Eclipse UserFriend
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 07:12 Go to previous message
Eclipse UserFriend
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 May 16 11:25:47 EDT 2025

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

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

Back to the top