From: SourceForge.net <no...@so...> - 2007-02-28 21:52:21
|
Bugs item #1671278, was opened at 2007-02-28 21:52 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1671278&group_id=44253 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: JUnit integration Group: 6: Crashes Status: Open Resolution: None Priority: 7 Private: No Submitted By: Stephen Wong (sbwong) Assigned to: Nobody/Anonymous (nobody) Summary: Unit testing hands if package is wrong Initial Comment: If a file in a DrJava project has a package designation that does not match its actual directory location, DrJava will compile the project with no error, but will hang (forever hourglass) when "Test Project" is clicked. This is a holdover from the pre-project days of DrJava when it could open and compile individual files that were on separate directory trees. DrJava still tries to resolve the package directories separately for each file and thus will compile, without error, a situation where a file is in an incorrect physical directory for its specified package. However, the JUnit subsystem will not tolerate this and will hang. Resolution suggestion: remove DrJava's latent ability to compile individual files on different physical source trees. From a pedagogical standpoint, this feature is completely unnecessary and since mislabeling the package name is a common mistake by beginning students, all this feature does is cause problems because DrJava does not currently catch this error. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1671278&group_id=44253 |