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 190343 - Spring configuration Icon
Summary: Spring configuration Icon
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Spring (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
: 203517 (view as bug list)
Depends on: 203959
Blocks:
  Show dependency tree
 
Reported: 2010-09-13 19:09 UTC by navid
Modified: 2011-11-24 13:55 UTC (History)
2 users (show)

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 navid 2010-09-13 19:09:08 UTC
When you create a spring configuration file through the new-file wizard
,created file's icon will looks like a plain XML file.
After restarting Netbeans, config's icon will be recognized as a spring-config file .

It seems the problem with icons happens with JSF too, please look at following topic :

http://forums.netbeans.org/viewtopic.php?t=21455

I'm using: 

Netbeans 6.9.1
Windows Vista(x86) SP2
JDK 1.6U21
Maven2 based project.
Comment 1 Erno Mononen 2010-10-13 11:22:25 UTC
Taking over Alexey's JSF and Spring issues.
Comment 2 Martin Fousek 2011-10-10 05:54:22 UTC
Similar troubles for faces-config.xml seems to be resolved. Spring configuration files remain.
Comment 3 Martin Fousek 2011-10-18 16:06:52 UTC
*** Bug 203517 has been marked as a duplicate of this bug. ***
Comment 4 Martin Fousek 2011-10-19 11:37:27 UTC
I found out that the issue is caused by Datasystems API issue #203959 so I'm waiting for resolution from Jarda.
Comment 5 Martin Fousek 2011-11-09 21:59:35 UTC
Looks that it works well by creating spring configuration file thru new file wizard now but still not in cases of Spring project creation. It will still need a little bit of evaluation what happens there.
Comment 6 Martin Fousek 2011-11-10 07:09:09 UTC
So it looks like that the loader can't still recover from files with many errors and since the base Spring configuration files are quite long it exactly happens there.

Anyway, since these templates aren't anywhere shown to users I workaround the second problem and I'm creating always template for specific Spring version.

All Spring configuration files should be recognised well since web-main #cde0a0f8d81e.
Comment 7 Quality Engineering 2011-11-11 15:39:36 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/cde0a0f8d81e
User: Martin Fousek <marfous@netbeans.org>
Log: #190343 - Spring configuration Icon