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.
#201004120251, jdk1.6, Java EE 6, GF v3 to reproduce: ------------- 1) have a EAR project with a Session bean and App Client 2) run the project ERROR: the build script cycling, see the output: pre-init: init-private: init-userdir: init-user: init-project: do-init: post-init: init-check: init: deps-jar: deps-j2ee-archive: EnterpriseApplication27-app-client.init: EnterpriseApplication27-ejb.init: EnterpriseApplication27-app-client.init: EnterpriseApplication27-ejb.init: EnterpriseApplication27-app-client.init: ....
Regardless of what I try I cannot reproduce. Please attach your project and reopen. Thx.
Created attachment 97136 [details] Sample project
The problem is in your project setup: AppClient project has EJB project on its classpath and EJB project has AppClient project on its classpath. I can see how that happened: when you were creating Remote Interface for your EJB you selected in wizard to create EJB's remote interface in AppClient project. That does not make much sense - you want to place remote interface into a project (most likely Java class library) which then can be used by both EJB module (to implement the EJB) and AppClient module (to lookup EJB in runtime; and compile against in development time). The UI for remote interface destination should be improved and not list projects which would create cyclic dependency. As user error I do not think this is P1 anymore (and beta stopper). Up to QA to decide and change though. Thanks.
Changing the priority to P2.
This should be simple to fix. Could you have a look Tomas please.
I would probably display all the project (as it is now) but would not allow to continue with error saying "Cyclic project dependency would be created.". This is IMHO better because user knows what would be wrong, otherwise it's not possible to find out why the project is not listed in the combo box (or, at least for me it would be impossible :). Any objections?
it looks like bug 184763 is a dup of this issue.
*** Bug 184763 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden', will be available in build *201004270201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ User: Log:
Fixed, please verify. Thanks. http://hg.netbeans.org/web-main/rev/5cb7b53212ad