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.
Property cluster.path.final contains also clusters not available in standard build because it is read from ide/launcher/netbeans.clusters. Then if you call ant -f j2ee.kit/build.xml test-build it generates broken paths in property test-sys-prop.cluster.path.final in test.properties in nbbuild\build\testdist\qa-functional\enterprise\org-netbeans-modules-j2ee-kit. There is a check whether given path exists: // check if <disk drive>:\path is property" String path = token + ":" + nextToken; if (new File(path).exists()) { nextToken = null; } else { path = token; } It should be enough to use proper delimiter according to operating system. I will try to fix it.
Right, the StringTokenizer should I guess be constructed using File.pathSeparator, and the weird block you quote deleted. If you need to parse a path that might use either : or ; regardless of OS (e.g. because the original property might have been defined as a path using ':' in project.properties), copy org.netbeans.spi.project.support.ant.PropertyUtils.tokenizePath.
Fixed using tokenizePath() as Jesse suggested and "replacement mechanism" for test.properties separated to dedicated method. #47feb1644138
Integrated into 'main-golden', will be available in build *201103190400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/47feb1644138 User: Jiri Skrivanek <jskrivanek@netbeans.org> Log: #196800 - test.properties are now correctly created for non existing files.
Integrated into 'main-golden', will be available in build *201103250400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2ff6bc4bce22 User: Jiri Skrivanek <jskrivanek@netbeans.org> Log: #196800 - Excluded property not useful when creating test.properties.
Did you intentionally backport this as releases #87d2ed5ef5d4, releases #38e50159abe1, etc.?
Yes, I needed to make tests work for release70.
I see. Just confusing because the actual 7.0 release bits - releases #a693229ccdbb (see bug #198166) - uses a different version of ShorterPaths (in harness) than exists in the tip of the release70 branch. Complicated diagnosis of bug #197941.