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.
Since the build infrastructure depends on the scripts in the org.netbeans.modules.apisupport.harness module which is not available for the 4.1 in any form (right?) every try to call an ant target failed with message that nbplatform.*.harness.dir must be defined (since it doesn't exist in the target platform)
You need to have the harness for 4.1. We haven't made it yet.
Let's leave this open at least as task so people can be able to track when it is available. Thanks.
Note that we could - and probably should - put a check into the Platform Manager dialog code, so that if you add a new platform which has no harness/ dir, it will use the harness location from the default platform instead. Won't help 4.1 users much however, because the trunk harness will add OpenIDE-Module-Requires: org.openide.modules.ModuleFormat1 to every module, which will not load in NB 4.1. Could be solved (together with issue #59671) by just removing that trick and instead adding this req to each existing trunk module (and newly created modules).
No time for it.