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

Key: IDEADEV-18261
Type: Bug Bug
Status: Reopened Reopened
Priority: Major Major
Assignee: Anna Kozlova
Reporter: chen libing
Votes: 0
Watchers: 2
Operations

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

Jar source has been asigned to $MODULE_DIR$"?

Created: 22 Jun 07 12:34   Updated: 05 Aug 08 19:49
Component/s: Project Configuration
Fix Version/s: Selena 7096

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. error.PNG
(8 kb)

Build: 7,020
Fixed in build: 7,095
Severity: High


 Description  « Hide
Following code in .classpath file:
<classpathentry kind="lib" path="C:/Documents and Settings/foobar/.maven/repository/jdbc/oracle/oracle-10.1.0.2.0.jar" sourcepath="">
After importing the eclipse project, jar source has been asigned to $MODULE_DIR$", and module can not work any more.
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://C:/Documents and Settings/foobar/.maven/repository/jdbc/oracle/oracle-10.1.0.2.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$MODULE_DIR$" />
</SOURCES>
</library>
</orderEntry>

 All   Comments   Work Log   Change History      Sort Order:
chen libing - 22 Jun 07 13:20
Using .classpath to store classpath information, and source is absent for jar file. IDEA will make module dir as source dir for jar file.

Alexander Chernikov - 29 Jul 07 18:07
7096: fixed, but not completely. Now the sourcepath="" entry is not changed to $MODULE_DIR$, but just ignored. I.e. library has no source root in IDEA. In case of linking .iml to .classpath the sourcepath entry is just erased from .classpath after editing project properties in IDEA.