Jul 29th, 2011, 06:26 PM
Why this behaviour on 'package explorer' after to do 'Update Project Configuration'
With STS 2.7.0 I did realize about the follow behavior:
After to create a Spring Template Project of type Simple Spring Utiliy Project and create within the src/main/resources directory any new directory, I did realize this new directory is color white, even if I create a xml file within this new directory, it remain being color white.
I can compile and work without any problems, but after to do simply right click on the project -> Maven -> Update Project Configuration... this directory or any others within the src/main/resources directory changes its color to the classic color (yellow) and all still working yet.
I have this behaviour even If I create from the scratch a new Simple Spring Utiliy Project and inmediately I create for example a directory within src/main/resources called abc with a file abc.xml within it, see resource01.png for a better understanding. Other observation of this image see, the order of the follow directories
After to just I have created the two files mentioned above (BTW I didn't none change to the pom.xml file) I do right click on the project -> Maven -> Update Project Configuration... and I got resource02.png, the colors have been changed from white to yellow, and again I have other observation of this image, see the order of the follow directories
I can refresh all the project, close and open again, clean and build and all remain with this 'new' structure and presentation
This behavior is normal? I know is not critical or is not a bug, but I am just being curious
Thanks in advanced
- Manuel Jordan
Kill Your Pride, Share Your Knowledge With All
The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7
Technical Reviewer of Apress
- Pro SpringSource dm Server
- Spring Enterprise Recipes: A Problem-Solution Approach
- Spring Recipes: A Problem-Solution Approach, 2nd Edition
- Pro Spring Integration
- Pro Spring Batch
- Pro Spring 3
- Pro Spring MVC: With Web Flow
- Pro Spring Security