Skip to main content



      Home
Home » Newcomers » Newcomers » how to exclude a directory from auto-refresh
how to exclude a directory from auto-refresh [message #259982] Thu, 03 July 2008 16:24 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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.
>
Re: how to exclude a directory from auto-refresh [message #260224 is a reply to message #260047] Mon, 07 July 2008 10:10 Go to previous message
Eclipse UserFriend
Originally posted by: 4cs6fcg02.sneakemail.com

Adrian Herscu schreef:
> 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.

Please don’t top-post.

Add an RFE: http://bugs.eclipse.org/bugs.

H.
--
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
Previous Topic:class file there but Eclipse misses it, errantly says "build path is incomplete.
Next Topic:Release and Debug: why the second doesn't run?
Goto Forum:
  


Current Time: Wed Sep 03 07:09:32 EDT 2025

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

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

Back to the top