Andrew Janke created NETBEANS-3722: -------------------------------------- Summary: Weird "{dir}={dir}" text in "Cannot find NetBeans build harness" error message Key: NETBEANS-3722 URL: https://issues.apache.org/jira/browse/NETBEANS-3722 Project: NetBeans Issue Type: Bug Affects Versions: 11.2 Environment: macOS 10.14 on iMac Pro Reporter: Andrew Janke
I'm trying to get https://github.com/tunnelvisionlabs/antlrworks2 building under Apache NetBeans 11. This is a project that was previously running under NetBeans 8.2. When I do a Clean and Build, I get this error: platform.download: /Users/janke/local/repos/antlrworks2/build.xml:7: The following error occurred while executing this line: /Users/janke/local/repos/antlrworks2/nbproject/build-impl.xml:42: Cannot find NetBeans build harness. Check that nbplatform.nb82.netbeans.dest.dir and nbplatform.nb82.harness.dir are defined. On a developer machine these are normally defined in /Users/janke/Library/Application Support/NetBeans/11.2/build.properties=/Users/janke/Library/Application Support/NetBeans/11.2/build.properties but for automated builds you should pass these properties to Ant explicitly. You may instead download the harness and platform: -Dbootstrap.url=.../tasks.jar -Dautoupdate.catalog.url=.../updates.xml What does it mean by "in /Users/janke/Library/Application Support/NetBeans/11.2/build.properties=/Users/janke/Library/Application Support/NetBeans/11.2/build.properties "? Those are the same values, and I don't get what the "=" sign means there. It looks like this message is coming from nbproject/buil-impl.xml, which has this: <ant antfile="nbproject/platform.xml"/> <fail message="Cannot find NetBeans build harness. ${line.separator}Check that nbplatform.${nbplatform.active}.netbeans.dest.dir and nbplatform.${nbplatform.active}.harness.dir are defined. ${line.separator}On a developer machine these are normally defined in ${user.properties.file}=${netbeans.user}/build.properties ${line.separator}but for automated builds you should pass these properties to Ant explicitly. ${line.separator}You may instead download the harness and platform: -Dbootstrap.url=.../tasks.jar -Dautoupdate.catalog.url=.../updates.xml"> <condition> <not> <available file="${harness.dir}/suite.xml"/> I don't know if this build-impl.xml thing is something from NetBeans 11, or if it's a leftover from NetBeans 8.2. (BTW, do you know how to fix this error in the first place?) -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists