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.
I noticed that a sun-ejb-jar.xml file exists in the archive even when it is not used. This should be removed is that is the case.
In talking to Ludo I sort of understood the rational for having it there in case the user wants to use any Sun specific features. Perhaps the UI should be morphed so that the file is shown in grey(light grey color , kind of like the hidden system files in Windows OS). When the user dbl clicks on it, you open it up for adding Sun specific stuff. If nothing is entered then that file does not exist in the archive. The light grey color should give the visual cue that the file does not exist but is shown in case you want to add Sun specific stuff.
We are not in the business of deleting files if we do not understand their history. If the user created it, we absolutely should not delete it _EVER_. If we create a trivial sun deployment descriptor automatically, there is no way to tell the difference. Note that sun deployment descriptors with trivial content are not created automatically in NB 5.5. Rather, they are created on demand. Closing as won't fix.
In this case the sun deployment descriptor was created automatically. I did not request/add any sun specific elements in the automatically created sun DD. "Note that sun deployment descriptors with trivial content are not created automatically in NB 5.5. Rather, they are created on demand." I do not understand...if they are created on demand then this file should not be seen in the archive since I did not "demand it"