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.
Summary: | EJB and WEB archive names | ||
---|---|---|---|
Product: | javaee | Reporter: | alanpetersen <alanpetersen> |
Component: | Code | Assignee: | Andrei Badea <abadea> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | vkraemer |
Priority: | P4 | ||
Version: | 5.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
alanpetersen
2005-10-29 00:08:39 UTC
Pavle, need your comment on this. It's simple to fix the lower case issue and I would do it for 5.0 if you have time. Using package name - I would not do this. The problem is you do not know the package name in advance, you can have several package names, etc. This convetion is hard to enforce in tool. You can set the project name to package name or you can edit the jar file name in nbproject/project.properties. we may want to consider prepopulating the package field of the wizards based on the project name (initially). Once somebody changes it we would use the human entered value as the default for the next wizard invocation (in that project) Another alturnative is to NOT set the jar name when the project is created... The jar name could be computed at build time (if the user did not set its name explicitly)... This is a radical change though... Not recommended as the solution to a P4 bug... that is for sure. Vince, sorry, I don't quite get you. Which package field of the wizards do you mean? I see no "package" field in the New Web/EJB Project wizard? Or you are suggesting to add one? The package field is in the new ejb or servlet wizard, not the project wizard. The bp convention basically tells folks to make their jar file be the 'significant' package name... so if you have a bunch of ejbs defined in a package like org.netbeans.j2ee.sample.beanie, then the jar file that holds them "should" be named beanie.jar (or is that beanieEjb.jar??). Since we create the project first (instead of the beans), supporting the convention means that a bean created in project Foo should default to being in package foo, until the user says otherwise. I agree with Pavel... the bp convention is really hard to follow from a development tool. I will tell them that it doesn't seem like a practical thing to do. TM 5.0 -> TBD The way how names for archives are used in NetBeans is stable and accepted for a long time without any problems. Closing this issue as WONTFIX. |