build.xml gets deleted randomly [message #519568] |
Tue, 09 March 2010 00:56  |
Eclipse User |
|
|
|
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 #519686 is a reply to message #519643] |
Tue, 09 March 2010 07:12  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03861 seconds