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 created an EJB Freeform project against the Gangster CMP qa-functional test (j2ee/test/qa-functional/data/freeform_projects/cmp2). The only change I made in the ejb freeform project wizard after selecting the location was to add a resource folder field. After the wizard completed, there was no project.properties file created in nbproject, but the project.xml had the following entry, which I guess is a replacement: <properties> <property name="resource.dir">asdfasdf</property> <property name="j2ee.platform">1.3</property> <property name="j2ee.server.type">J2EE</property> </properties> The problem is that those values seem to be ignored by our IDE runtime code. For example: 1) The project correctly picked up Sun Application Server as the available EJB platform. But calls to j2eeModuleProvider.getInstanceProperties() are failing because the implementation to return the server ID is returning null. 2) Some code related to looking up the resource folder isn't working somewhere because while the DeploymentConfiguration IS initialized with the resource folder specified in the wizard, the UI does not display the resource node, even if this folder is manually created.
Re. #1: The implementation does return the server ID, as implemented by EJBFreeformProvider.getServerID(). But it returns null as the server instance ID, which is as designed. The EJB project doesn't have a target server instance. As I was told, the server is only used to support visually editing the deployment descriptor. But because of this some things aren't working, for example CMPs from database (see issue 70307). Re. #2: The EJB freeform project doesn't have a Server Resources node. Since the issue summary claims the properties in project.xml are ignored, which is not true, closing as invalid.