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.

Bug 78063 - Unable to create EJB project with existing sources
Summary: Unable to create EJB project with existing sources
Status: RESOLVED INVALID
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-16 13:10 UTC by Bernard Halas
Modified: 2006-06-30 19:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
EJB sources (18.69 KB, application/x-gzip)
2006-06-16 13:12 UTC, Bernard Halas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Halas 2006-06-16 13:10:18 UTC
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.
Comment 1 Bernard Halas 2006-06-16 13:12:25 UTC
Created attachment 31109 [details]
EJB sources
Comment 2 Andrei Badea 2006-06-30 19:33:09 UTC
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.