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.
NB 5.5 dev 200606160200 JDK 1.6.0 b87 Description: ============ An user is unable to create new "EJB project with existing sources" for JavaEE 5 without a conf files folder. Steps to reproduce: =================== A) Setup 1) Unpack attached project to your <work folder>. 2) Attach glassfish to your NB. B) Create new project 1) press Ctrl+Shift+N to open new project dialog 2) from category "Enterprise" pick "EJB project with existing sources" 3) to "Location" field fill '<work folder>/customer-cmp-ejb' 4) to "Project Name" field fill 'customer' 5) to "Project Folder" field fill '<work folder>/customer' 6) "Java EE 5" should be selected, press "Next" 7) here comes the problem The problem: ============ NB won't allow you to create project without unless you define "Configuration Files Folder". According to my knowledge there is no config folder necessary for projects created under Java EE 5.
Created attachment 31109 [details] EJB sources
Sorry, but no. The configuration files folder is necessary for the NetBeans projects. It contains more than just ejb-jar.xml -- for example the server-specific deployment descriptors or the persistence.xml file if the projects uses JPA. Note an ejb-jar.xml file is not required for Java EE 5 projects though.