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.
Summary: | Cannot resolve path <install>/../../xtest/lib/junit.jar | ||
---|---|---|---|
Product: | apisupport | Reporter: | rrochat <rrochat> |
Component: | Harness | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | Keywords: | RELNOTE |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://issues.apache.org/bugzilla/show_bug.cgi?id=40281 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
rrochat
2006-08-16 19:59:16 UTC
Works for me in a 5.5 dev build. Please, before filing bug reports, check again in a development build. I don't know if you're seeing issue #77907 but that was fixed in the release55 branch at some point and still seems to be working. Can reproduce only if IDE is installed into a top-level subdir of the drive. E.g. on Linux, if IDE installed in /froggle, get [....] /froggle/harness/build.xml:133: Cannot resolve path /froggle/../../xtest/lib/junit.jar at org.apache.tools.ant.util.FileUtils.normalize(FileUtils.java:817) at org.apache.tools.ant.util.FileUtils.resolveFile(FileUtils.java:684) at org.apache.tools.ant.Project.resolveFile(Project.java:1292) at org.apache.tools.ant.IntrospectionHelper$7.set(IntrospectionHelper.java:983) at org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.java:393) [....] Will fix for Ant 1.7. Then runs with harmless warning Path element /froggle/../../xtest/lib/junit.jar doesn't exist. Possible release note: ---%<--- If your IDE is installed in a top-level directory on your disk - e.g. /netbeans on Unix, or C:\NetBeans on Windows - running unit tests for NetBeans module projects will fail with the message 'Cannot resolve path <install>/../../xtest/lib/junit.jar'. Workarounds: use Ant 1.7; or (recommended) install NetBeans in at least a second-level directory such as C:\NetBeans\5.5; or override target 'test-lib-init' in your module's build.xml to be a copy of the original target minus lines containing 'xtest'. ---%<--- |