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.
See issue 215976#16 for some background and see Glassfish EE Common module, class org.netbeans.modules.glassfish.eecommon.api.Utils, method computeModuleID(), line 132 There is a getName() method call on the ProjectInformation instance which isn't a good solution and we should rather use getDisplayName() method. I would change the method call, but can't say if it's completely safe to do that (there is a lot of things which seems to have dependency to computeModuleID return value - e.g. the Maven project with Glassfish server deployment etc.)
Tomas would it be possible to fix this for 7.3? It's blocking two Java EE maven issues (they are not a P2, but can imagine both might be problematic for users). I know there are some P1-P2s in Glassfish area at the moment, but if you find some free time, please take a look at this one.. thanks in advance.
OK, switching to getDisplayName(). I checked ant-based web projects and they also seem to use display name.
NetBeans web-main: ------------------ changeset: 238430:781969bd0560 summary: #217619 - Method computeModuleID() uses [ProjectInformation].getDisplayName() to compute ID now
Jiri, please check that mvn project s life cycle (build/deploy/redeploy) is still working fine. I tested WEB application and it's ok. It changed deployed application name to project's display name which is the correct one.
Integrated into 'main-golden', will be available in build *201211080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/781969bd0560 User: Tomas Kraus <TomasKraus@netbeans.org> Log: #217619 - Method computeModuleID() uses [ProjectInformation].getDisplayName() to compute ID now