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 83888 - test.dir is not created
Summary: test.dir is not created
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB Project (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords: REGRESSION
: 83895 84120 84279 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-31 11:24 UTC by Lukas Jungmann
Modified: 2006-10-03 12:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log (27.19 KB, text/plain)
2006-08-31 11:25 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2006-08-31 11:24:12 UTC
[fresh build, new userdir, jdk 1.5.0_06]

-start ide
-register glassfish
-create new ejb module

=>

source root for tests ($PROJECT_ROOT/test) is not created on the disk

this seems to be random when reproducing manually (see also attached log), but
it is always reproducible by qa-functional tests
Comment 1 Lukas Jungmann 2006-08-31 11:25:30 UTC
Created attachment 33460 [details]
ide log
Comment 2 Jiri Skrivanek 2006-08-31 13:46:41 UTC
*** Issue 83895 has been marked as a duplicate of this issue. ***
Comment 3 Jiri Skrivanek 2006-08-31 13:50:10 UTC
I can reproduce it manually always:

- add glassfish server instance in Runtime view
- create a new enterprise application
- call 'New|Session Bean' context menu item on ejb project node and the
following exception is thrown:

java.lang.IllegalStateException: No FileObject found for the following URL:
file:/D:/Development/builds/NB55/nb55Userdir-20060831124346/EnterpriseApplication1/EnterpriseApplication1-ejb/test/

Build 20060831-0900, JDK1.6.0-b93, WindowsXP.
Comment 4 Lukas Jungmann 2006-09-04 12:33:52 UTC
*** Issue 84120 has been marked as a duplicate of this issue. ***
Comment 5 Andrei Badea 2006-09-06 14:15:21 UTC
*** Issue 84279 has been marked as a duplicate of this issue. ***
Comment 6 Andrei Badea 2006-09-06 16:11:15 UTC
Seems caused by the fix of issue 82815, which removed the creation of the test
folder:

http://www.netbeans.org/source/browse/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/api/EjbJarProjectGenerator.java?r1=1.1.2.6.2.12&r2=1.1.2.6.2.13

I guess that wasn't intentional, so I will add it back.
Comment 7 Andrei Badea 2006-09-07 14:25:26 UTC
Fixed.

Checking in EjbJarProjectGenerator.java;
/cvs/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/api/EjbJarProjectGenerator.java,v
 <--  EjbJarProjectGenerator.java
new revision: 1.1.2.6.2.14; previous revision: 1.1.2.6.2.13
done
Comment 8 Lukas Jungmann 2006-10-03 12:22:18 UTC
v.