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 80652 - New Entity Classes from DB and New Persistance Unit wizards does not work for EJB FreeForm project
Summary: New Entity Classes from DB and New Persistance Unit wizards does not work for...
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: EJB Freeform (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-19 19:48 UTC by Martin Schovanek
Modified: 2006-08-03 17:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2006-07-19 19:48:02 UTC
[#2006071900, jdk1.5.0]

The New Entity Classes from DB and New Persistance Unit wizards does not work
for EJB Free Form project. So they should be disabled in this project type. Next
disable the New Entity Class wizard, it does not make sense without the New
Persistance Unit wizard.
Comment 1 xam 2006-07-21 11:00:17 UTC
why should they be disabled ? They don't do more than creating a simple class 
with some annotations ?!
Comment 2 Andrei Badea 2006-07-21 15:47:13 UTC
Because both wizards require some support from the project which the freeform
project doesn't provide. I'm sorry, but the persistence features won't be
available in 5.5.
Comment 3 Andrei Badea 2006-07-26 13:55:59 UTC
Fixed by not offering these wizards in the freeform projects. Need to remove the
JSF Pages from Entity Class wizard as well.

Checking in
java/j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEProject.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEProject.java,v
 <--  J2SEProject.java
new revision: 1.56.2.2.2.12; previous revision: 1.56.2.2.2.11
done
Checking in
j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/AppClientProject.java;
/cvs/j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/Attic/AppClientProject.java,v
 <--  AppClientProject.java
new revision: 1.1.4.21; previous revision: 1.1.4.20
done
Checking in
j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/EjbJarProject.java;
/cvs/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/EjbJarProject.java,v
 <--  EjbJarProject.java
new revision: 1.50.2.6.2.29; previous revision: 1.50.2.6.2.28
done
Checking in
j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/ui/resources/layer.xml;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/ui/resources/Attic/layer.xml,v
 <--  layer.xml
new revision: 1.1.2.9.2.16; previous revision: 1.1.2.9.2.15
done
Checking in web/project/src/org/netbeans/modules/web/project/WebProject.java;
/cvs/web/project/src/org/netbeans/modules/web/project/WebProject.java,v  <-- 
WebProject.java
new revision: 1.85.2.3.2.32; previous revision: 1.85.2.3.2.31
done
Comment 4 Andrei Badea 2006-07-26 14:23:26 UTC
Also removed JSF Pages from Entity Class.

Checking in web/jsf/src/org/netbeans/modules/web/jsf/resources/layer.xml;
/cvs/web/jsf/src/org/netbeans/modules/web/jsf/resources/layer.xml,v  <--  layer.xml
new revision: 1.3.2.6.2.6; previous revision: 1.3.2.6.2.5
done
Checking in web/project/src/org/netbeans/modules/web/project/WebProject.java;
/cvs/web/project/src/org/netbeans/modules/web/project/WebProject.java,v  <-- 
WebProject.java
new revision: 1.85.2.3.2.33; previous revision: 1.85.2.3.2.32
done
Comment 5 Martin Schovanek 2006-08-03 17:18:43 UTC
v.