Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 194738 - [releng] org.eclipse.rse.tests fails to build when imported with source folders
Summary: [releng] org.eclipse.rse.tests fails to build when imported with source folders
Status: CLOSED INVALID
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Martin Oberhuber CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-28 07:11 EDT by Martin Oberhuber CLA
Modified: 2007-07-12 08:24 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2007-06-28 07:11:42 EDT
+++ This bug was initially created as a clone of Bug #194733 +++

With the TM 2.0 Release RSE-SDK.zip installed into Eclipse 3.3 SDK:

File > Import > Plug-In-Development > Projects with Source Folders > org.eclipse.rse.tests

The imported plugin fails 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.

For most projects it won't be much of an issue because the sources are not meant to be built anyways; but for the tests it is, because "Import with Source Folders" is necessary in order to get the preconfigured *.launch file for running the Unit Tests under PDE out of a workspace.
Comment 1 Martin Oberhuber CLA 2007-06-28 07:13:00 EDT
INVALID - added by accident
Comment 2 Martin Oberhuber CLA 2007-06-28 07:13:21 EDT
closing.