how to exclude a directory from auto-refresh [message #259982] |
Thu, 03 July 2008 16:24  |
Eclipse User |
|
|
|
Originally posted by: bmf1972.fastmail.fm
Hi all,
Sometimes I must use Maven 2 to build some of my projects. When I am
doing this while these projects are open in Eclipse, the auto-refresh
process takes a very long time, consuming almost 100% of the CPU cycles,
and making Eclipse very unresponsive.
The reason is that during a clean Maven build, the target directory is
deleted and then files are added to it as the build proceeds. Eclipse is
trying to pickup these changes as they occur, slowing down the machine.
Is there any way to make Eclipse ignore some specified directory (e.g.
the target directory) for auto-refresh purposes?
TIA,
Adrian.
|
|
|
Re: how to exclude a directory from auto-refresh [message #259999 is a reply to message #259982] |
Fri, 04 July 2008 01:38   |
Eclipse User |
|
|
|
Originally posted by: codeslave.ca.ibm.com
You can disable the "Project > Build Automatically" checkbox.
Or, you can disable Window > Preferences > General > Workspace > Refresh
automatically.
Not sure if there's a per-project setting, however.
Adrian Herscu wrote:
> Hi all,
>
> Sometimes I must use Maven 2 to build some of my projects. When I am
> doing this while these projects are open in Eclipse, the auto-refresh
> process takes a very long time, consuming almost 100% of the CPU cycles,
> and making Eclipse very unresponsive.
>
> The reason is that during a clean Maven build, the target directory is
> deleted and then files are added to it as the build proceeds. Eclipse is
> trying to pickup these changes as they occur, slowing down the machine.
>
> Is there any way to make Eclipse ignore some specified directory (e.g.
> the target directory) for auto-refresh purposes?
>
> TIA,
> Adrian.
--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb
|
|
|
Re: how to exclude a directory from auto-refresh [message #260047 is a reply to message #259999] |
Fri, 04 July 2008 08:09   |
Eclipse User |
|
|
|
Originally posted by: bmf1972.fastmail.fm
Hi Nick, thanks for your fast reply.
I knew about these general settings and I am using them. The problem is
that sometimes I forget to turn them off... So I thought that there is a
per-project option option to exclude directories from auto-refresh.
Adrian.
Nick Boldt wrote:
> You can disable the "Project > Build Automatically" checkbox.
>
> Or, you can disable Window > Preferences > General > Workspace > Refresh
> automatically.
>
> Not sure if there's a per-project setting, however.
>
> Adrian Herscu wrote:
>> Hi all,
>>
>> Sometimes I must use Maven 2 to build some of my projects. When I am
>> doing this while these projects are open in Eclipse, the auto-refresh
>> process takes a very long time, consuming almost 100% of the CPU
>> cycles, and making Eclipse very unresponsive.
>>
>> The reason is that during a clean Maven build, the target directory is
>> deleted and then files are added to it as the build proceeds. Eclipse
>> is trying to pickup these changes as they occur, slowing down the
>> machine.
>>
>> Is there any way to make Eclipse ignore some specified directory (e.g.
>> the target directory) for auto-refresh purposes?
>>
>> TIA,
>> Adrian.
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.07938 seconds