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

Bug 126802

Summary: [import/export] Programatic option to prevent java source compilation on EAR import
Product: [WebTools] WTP Java EE Tools Reporter: William Kral <wkral>
Component: jst.j2eeAssignee: Kaloyan Raev <kaloyan>
Status: RESOLVED WONTFIX QA Contact: Chuck Bridgham <cbridgha>
Severity: enhancement    
Priority: P3 CC: cbridgha, jsholl, kaloyan, yenlu
Version: 1.0.1Keywords: helpwanted
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description William Kral CLA 2006-02-07 16:03:54 EST
Tools which invoke the EAR import operation need an option to prevent the java source compilation when importing an EAR or EJB-JAR.

This is to prevent the overwriting of pre-existing class files in an EAR or EJB-JAR archive which in some circumstances need to be preserved.
Comment 1 Kaloyan Raev CLA 2008-09-01 12:00:00 EDT
Assigning to Kaloyan for evaluation
Comment 2 Kaloyan Raev CLA 2008-09-24 07:14:04 EDT
You can do this by disabling the Project > Build Automatically option in the workbench. 

I am not aware of a way to tell a specific Java project to not participate in the automatic build. If there is such need, the issue should be addressed to the JDT project.