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.
I have a project that has test classes only, no src classes. i have placed all requiered jars on the class path. running compile againt the test class i get init: deps-jar: BUILD FAILED (total time: 0 seconds) No error messeges are displayed. So, i went to the shell prompt, in my NB project dir and typed ant and i get: Buildfile: build.xml -pre-init: -init-private: -init-user: -init-project: -init-macrodef-property: -do-init: -post-init: -init-check: -init-macrodef-javac: -init-macrodef-junit: -init-macrodef-nbjpda: -init-macrodef-debug: -init-macrodef-java: -init-presetdef-jar: init: deps-jar: -pre-pre-compile: -pre-compile: -do-compile: BUILD FAILED /space/work/NB_CSI_AMS_TEST/nbproject/build-impl.xml:229: The following error occurred while executing this line: /space/work/NB_CSI_AMS_TEST/nbproject/build-impl.xml:112: srcdir attribute must be set! Total time: 1 second there are 2 issues here: 1. the IDE hid the message of the error. 2. I should be able to create projects with test classe only, and not src classes.... why is this limitaion....
Wrong component.
Definitely not P2, having regular j2seproject with no sources is a corner case. Adding Karel to CC list, the same behavior is in the [web|j2ee]project.
Web applications insist on having src/java directory even in wizard - it is P2 issue 52706 for Web, because it is quite common scenario in web tier.
Checking in src/org/netbeans/modules/java/j2seproject/resources/build-impl.xsl; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/resources/build-impl.xsl,v <-- build-impl.xsl new revision: 1.61; previous revision: 1.60 done