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

Key: IDEADEV-18910
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Nikolay Chashnikov
Reporter: Alexander Chernikov
Votes: 0
Watchers: 0
Operations

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

Server-specific descriptors are removed from facet if server support plugin is disabled

Created: 13 Jul 07 19:27   Updated: 27 Sep 07 23:15
Component/s: Project Configuration, J2EE
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 7,065


 Description  « Hide
I had a project with a module with a web facet. Sun-web.xml was added as Glassfish-specific descriptor.
After opening in 7065 facet auto detection has created new web facet for the same module. I opened project structure and changing nothing press Ok.
Sun-web.xml was removed from existing facet configuration.
The following lines was erased from .iml file after saving:
...
        <descriptors>
          <deploymentDescriptor name="sun-web.xml" url="file://$MODULE_DIR$/WEB-INF/sun-web.xml" optional="false" version="2.5.0" />
        </descriptors>
...


 All   Comments   Work Log   Change History      Sort Order:
Alexander Chernikov - 13 Jul 07 19:28
Same happened with sun-application.xml of java EE facet.

Alexander Chernikov - 13 Jul 07 19:53
The problem has gone, if Glassfish plugin is turned on.
Otherwise the descriptor is erased from .iml file on every project open, independently on facet auto detection.