Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336735

Summary: [Refactoring] Auto build should be turned off during refactoring
Product: [Technology] Tigerstripe Reporter: Navid Mehregani <nmehrega>
Component: CoreAssignee: Project Inbox <tigerstripe.core-inbox>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chrhartl, yuri
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Project
none
patch-336735 none

Description Navid Mehregani CLA 2011-02-09 12:13:16 EST
Build Identifier: 

When refactoring an artifact in large projects, Eclipse fires off multiple build requests, which can significantly hinder the performance of refactoring. This will only happen when 'Build Automatically' is enabled.  

Auto builds should be programmatically shut off when refactoring is initiated.  It should be re-enabled when refactoring is complete.  This will trigger a single build operation at the end of refactoring as opposed to many build operations between refactoring.

Reproducible: Always

Steps to Reproduce:
1. Import the attached project in Tigerstripe
2. Make sure build automatically is enabled
3. Refactor the name of Ent0 to something else
4. Notice the build operations that occur during refactoring.  This problem gets worse as the size of the projects increase
Comment 1 Navid Mehregani CLA 2011-02-09 12:13:54 EST
Created attachment 188602 [details]
Project
Comment 2 Valentin Yerastov CLA 2011-03-06 14:17:30 EST
Created attachment 190504 [details]
patch-336735

Done.
Comment 3 Yuri Strot CLA 2011-03-07 06:41:42 EST
Patch applied.
Comment 4 Navid Mehregani CLA 2011-03-17 12:27:36 EDT
Verified. Thanks!