DevFaqNbPlatformAndHarnessMixAndMatch
I want to use one version of the Platform with another version of the build harness. Can I?
Yes, you can use a pristine platform download (or platform built from sources) and use an external harness from another platform version without sacrificing repeatable builds. Just as the in-IDE module development support defaults to using the harness included with the IDE, ignoring the harness bundled with the platform, so you can configure your module or suite to use a specific harness location. As described in harness/README set up a relative path for the platform, but make the harness separate, e.g.
suite.dir=${basedir}
netbeans.dest.dir=${suite.dir}/../nb_sources/nbbuild/netbeans
# Rather than:
#harness.dir=${netbeans.dest.dir}/harness
# use:
harness.dir=${suite.dir}/../special-harness
Applies to: NetBeans 6.5

