Bug 32974 - Invalid classpath error on ..classpath edition
Summary: Invalid classpath error on ..classpath edition
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 RC2   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 32690
Blocks:
  Show dependency tree
 
Reported: 2003-02-25 10:18 EST by Jerome Lanneluc CLA
Modified: 2003-03-10 11:36 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Lanneluc CLA 2003-02-25 10:18:06 EST
Build 2.1RC1 + latest jdtcore

1. Create Java project (prj=src=bin)
2. Edit .classpath:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
    <classpathentry kind="src" output="bin2" path="src1"/>
    <classpathentry kind="src" path="src2"/>
    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    <classpathentry kind="output" path="bin"/>
</classpath>
3. Save .classpath
Observe: You get 2 'Missing required source folder' markers (OK) but you also 
get a 'Cannot nest output folder 'Test/bin2' inside output folder 'Test' (WRONG)
Comment 1 Jerome Lanneluc CLA 2003-02-25 10:22:34 EST
Looks like this bug was introduced after RC1.
Comment 2 Philipe Mulet CLA 2003-02-25 13:16:30 EST
The set classpath operation was incorrectly causing full validation of 
classpath, even though it had verified it successfully already upfront.

Fixed in latest.
Comment 3 David Audel CLA 2003-03-10 11:36:26 EST
Verified.