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 74982 - Remove sun-ejb-jar.xml if it is not used
Summary: Remove sun-ejb-jar.xml if it is not used
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-13 00:05 UTC by dhirup
Modified: 2007-04-12 23:31 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dhirup 2006-04-13 00:05:22 UTC
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.
Comment 1 dhirup 2006-04-13 00:33:36 UTC
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.
Comment 2 _ pcw 2007-04-12 23:21:13 UTC
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.
Comment 3 dhirup 2007-04-12 23:31:54 UTC
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"