History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-18153
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Vladislav Kaznacheev
Reporter: Daniel Aborg
Votes: 1
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Eclipse import ignores projects with a variable reference in a sourcepath attribute in .classpath

Created: 06 Jun 07 23:32   Updated: 25 Jul 07 19:36
Component/s: IDE Configuration
Fix Version/s: Selena 7096

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Windows XP
Issue Links:
Duplicate
 
This issue is duplicated by:
IDEA-13374 IDEA 7 build 7020 does not recognise ... Resolved

Build: 6,981
Fixed in build: 7,092
Severity: Medium


 Description  « Hide
Add the following entry to an Eclipse project's .classpath:
<classpathentry kind="var" path="JUNIT_HOME/junit.jar" sourcepath="ECLIPSE_HOME/plugins/org.eclipse.jdt.source_3.0.0/src/org.junit_3.8.1/junitsrc.zip"/>

The Eclipse Project import does not show this project. If you remove the sourcepath attribute it does.

Workaround: In this particular case it's possible to use the Eclipse JUnit 3 Library instead of the above reference.



 All   Comments   Work Log   Change History      Sort Order:
Alexander Chernikov - 14 Jun 07 20:18
Bug confirmed in 7017. Eclipse 3.2.2 really understands paths without leading slash, IDEA does not accept them.

Workaround: add a leading slash:

<classpathentry kind="var" path="JUNIT_HOME/junit.jar" sourcepath="/ECLIPSE_HOME/plugins/org.eclipse.jdt.source_3.0.0/src/org.junit_3.8.1/junitsrc.zip"/>