Builders invoked "during" CVS update operation -> file doesn't exist [message #185866] |
Tue, 16 November 2004 14:48  |
Eclipse User |
|
|
|
Originally posted by: finsterwalder.acm.org
Hi,
I tried to create a simple ant-file that copies a file during the build
of my project. Works find so far. Whenever I edit the file and save it
the ant task is executed.
But I have some problems with CVS operations since I added the Builder.
At first I set "Specify working set of relevant resource" in "Build
Options" to the single file I wanted to monitor.
This works fine, but from then on CVS operations don't work any more on
that file. I get some "can't delete file..." error on update or
override. :-(
So I choose the whole directory as relevant resources and it works fine
so far.
But I still have a problem with a cvs replace or update.
The builder is obviously run while the updated file is not present.
Can I somehow ensure that the builder is run AFTER the CVS operations
are completely finished?
Greetings,
Malte
|
|
|
|
|
Re: Builders invoked "during" CVS update operation -> file doesn't exist [message #185905 is a reply to message #185898] |
Wed, 17 November 2004 03:31  |
Eclipse User |
|
|
|
Originally posted by: finsterwalder.acm.org
I found a fix. I guess the problem isn't really eclipse after all.
If I delete the target file that is to be overwritten before I do the
copy, it works fine. Ant seams to determine, that the target file exists
and is newer or something and the doesn't do the copy.
I still wonder, why it didn't work using xcopy, though.
Greetings,
Malte
|
|
|
Powered by
FUDForum. Page generated in 0.06139 seconds