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

Bug 264439

Summary: [releng] rse.ui, files.core and tm.terminal fail to build when imported with source folders
Product: [Tools] Target Management Reporter: Martin Oberhuber <mober.at+eclipse>
Component: RSEAssignee: Martin Oberhuber <mober.at+eclipse>
Status: RESOLVED FIXED QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: minor    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M6   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 194733    
Bug Blocks:    

Description Martin Oberhuber CLA 2009-02-10 18:08:31 EST
+++ This bug was initially created as a clone of Bug #194733 +++

With the TM 3.1M5 RSE-SDK.zip installed into Eclipse 3.5M5 SDK:

File > Import > Plug-In-Development > Projects with Source Folders > org.eclipse.rse.ui
org.eclipse.rse.subsystems.files.core
org.eclipse.tm.terminal

The imported plugins fail to build, because default project settings are Java 1.4 compliance without "assert". Workaround: Go to Project Properties, Java Compiler, JDK Compliance and set the following:
   Disable "Use default compliance settings"
   Generated .class compatibility = 1.4
   Source compatibility = 1.4

I think that in order to fix this, .settings/org.eclipse.jdt.core.prefs file should be part of the source build for all those projects that use Java 1.4 with assert.
Comment 1 Martin Oberhuber CLA 2009-02-10 18:09:40 EST
Fixed by adding .settings/ and build.properties to the source build:
[264439] fix source build for 1.4 plugins with assert