This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 53669 - Jar file reference added to Libraries broken after opening props. again
Summary: Jar file reference added to Libraries broken after opening props. again
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-19 12:16 UTC by Milan Kubec
Modified: 2006-03-24 13:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2005-01-19 12:16:07 UTC
[dev-200501181900, JDK 1.5.0_02]

1) Create j2se project
2) Open Project Props, select Libraries
3) Add some jar file to comp. cp.
4) Close Properties
5) Open Properties, select Libraries - OK
6) Close Properties, project is marked by broken
reference
7) Open Properties, select Libraries - ERROR
Jar file reference is based on project folder
location and instead of file name there is
${file.reference.something.jar}
Jar file is then not included in compilation cp!
Comment 1 Petr Hrebejk 2005-01-19 15:33:11 UTC
Please verify carefully. Thanks.

Checking in ClassPathSupport.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/classpath/ClassPathSupport.java,v
 <--  ClassPathSupport.java
new revision: 1.2; previous revision: 1.1
done
Comment 2 Pavel Rehak 2005-01-19 16:23:02 UTC
This is Q-build stopper, please fix this in QBE200501181900 branch 
too.
Comment 3 Jesse Glick 2005-01-19 17:53:34 UTC
No unit test coverage for something this low-level?!
Comment 4 Petr Hrebejk 2005-01-20 10:45:18 UTC
Applyied to qbuidl branch

Checking in ClassPathSupport.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/classpath/ClassPathSupport.java,v
 <--  ClassPathSupport.java
new revision: 1.1.2.1; previous revision: 1.1
done
Comment 5 Milan Kubec 2005-01-20 13:05:55 UTC
Verified in dev-200501191900.