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.
Create a web freeform project. The created project's project.properties does not have property for used for Enterprise Resources - resource.dir This is causing issues with UseDatabaseAction, Sun Server Resources etc. , all of which depend on obtaining this value from the project
I'm confused with this issue. Freeform project doesn't use project.propertis file, properties are stored in project.xml. If project.properties is not used by freeform, what do you mean by "created project's project.properties"? Could you clarify it more, please? Nevertheless you are right, freeform project doesn't care about resource.dir.
Is resource creation not supported for web freeform or did I miss a huge chunk of discussion. The plugins use getEnterpriseResourceDirectory() to identify the directory in which resources will be created. This is available in EJB freeform project. But the web freeform does not provide this. Without this value, the resources will not get created in the correct location for web freeform project (appserver plugin) and in UseDatabase action calls, there are exceptions being generated. SO what is the equivalent in web freeform.
From my point of view resource creation is not supported in web freeform project. There is no "resource.dir" property defined in this project which means that getEnterpriseResourceDirectory() method is not implemented and UI for setting this property is missing as well. Is it enough to set resource.dir for resource creation? Don't you need also server instance? Server instance is not set in web freeform too. Do we want to fix it in 5.5? It sounds to me like a new feature in web freeform so can we do it now?
I don't believe this was ever supported in freeform project. This is a substantial change, I think we will need to introduce the concept of target server instance for freeform projects, which will also be useful for other areas (e.g. JPA support). Let's make this an enhancement for NB 6.0.
Changing to enhancement as Petr proposed.
Just an FYI, the EJB freeform project does support this feature. So the lack of this support does not apply to all freeform projects.