Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Builders invoked "during" CVS update operation -> file doesn't exist
Builders invoked "during" CVS update operation -> file doesn't exist [message #185866] Tue, 16 November 2004 14:48 Go to next message
Eclipse UserFriend
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 #185874 is a reply to message #185866] Tue, 16 November 2004 16:03 Go to previous messageGo to next message
Eclipse UserFriend
Have you set the build to refresh to allow Eclipse to "notice" the changes?
See the Refresh tab for the builder

HTH
Darins

"Malte Finsterwalder" <finsterwalder@acm.org> wrote in message
news:cndli9$dge$1@www.eclipse.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 #185898 is a reply to message #185874] Wed, 17 November 2004 03:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: finsterwalder.acm.org

Darin Swanson wrote:

> Have you set the build to refresh to allow Eclipse to "notice" the changes?
> See the Refresh tab for the builder

I tried it with refresh, but that didn't change anything.

The way I understand the refresh settings is that I can tell eclipse to
refresh AFTER my builder is done, to notice the changes the builder created.

Greetings,
Malte


> HTH
> Darins
>
> "Malte Finsterwalder" <finsterwalder@acm.org> wrote in message
> news:cndli9$dge$1@www.eclipse.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 Go to previous message
Eclipse UserFriend
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
Previous Topic:How's supposed to work IMethodBinding.getJavaElement()
Next Topic:Eclipse wierdness
Goto Forum:
  


Current Time: Thu Aug 28 21:29:08 EDT 2025

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

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

Back to the top