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.
Product Version = NetBeans IDE 7.0 Beta (Build 201011152355) Operating System = Mac OS X version 10.6.5 running on x86_64 Java; VM; Vendor = 1.6.0_22 Runtime = Java HotSpot(TM) 64-Bit Server VM 17.1-b03-307 1. New Project -> Java EE -> Enterprise Application 2. Choose default settings 3. Choose glassfish server After project is created in Project tab 4. Delete EnterpriceApplication-war (delete content) 5. Delete EnterpriceApplication-ejb (delete content) 6. Delete EnterpriseApplication (deleting content is not possible) Exception is thrown: pre-init: init-private: init-userdir: init-user: init-project: do-init: post-init: init-check: init: undeploy-clean: deps-clean: /Users/michalo/NetBeansProjects/EnterpriseApplication2/nbproject/build-impl.xml:560: The following error occurred while executing this line: java.io.FileNotFoundException: /Users/michalo/NetBeansProjects/EnterpriseApplication2/EnterpriseApplication2-ejb/build.xml (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:268) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:177) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:82) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:393) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor137.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397) at org.apache.tools.ant.Project.executeTarget(Project.java:1366) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1249) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154) BUILD FAILED (total time: 0 seconds) 7. EnterpriseApplication is now removed from the Project list
I'm able to reproduce it . But the category of the issue is wrong. It has no any relation to samples. This is common Enterprise application build problem. I reassign it to EAR component but probably this is wrong. I don't now exact component name for enterprise application project functionality.
Not reproducible according to Denis. Please reopen if you disagree.