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 131070 - Configuration file not detected or added in dialog box
Summary: Configuration file not detected or added in dialog box
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Spring (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-25 17:21 UTC by tusharvjoshi
Modified: 2008-03-27 12:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Eclipse Project for Import (2.18 KB, application/x-compressed)
2008-03-25 17:33 UTC, tusharvjoshi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tusharvjoshi 2008-03-25 17:21:17 UTC
When the source of the project is in a linked folder the spring configuration files are not detected and not shown if
they are added from other folders.


Steps to reproduce the bug:
1. Create an Eclipse project with minimal files, and one beans-config.xml spring configuration file
2. Import that workspace through the Eclipse Project Importer feature, this will link the project in Netbeans to the
Eclipse workspace source folder and only the path to the source is maintained in the project.properties file and the
nbproject folder is created only for the configuration details by Netbeans IDE 6.1 Beta
3. Add a library Spring Framework 2.5 from the Project Properties doalog
4. Open the project properties dialog again after closing it once to see the Spring Framework Note and now try to Add
the configuration file to through the Add File button
5. Dialog shown the nbfolder directory and only has knowledge of the Netbeans folder, even if we choose the
beans-config.xml from its original path it is not shown in the list.

6. Alternatively the detect button will also not detect any spring configuration files
Comment 1 tusharvjoshi 2008-03-25 17:33:29 UTC
Created attachment 59054 [details]
Eclipse Project for Import
Comment 2 Andrei Badea 2008-03-27 12:10:32 UTC
Very nice report, thanks! Should be fixed now.

9b6a346e2e5b