On Sun, 6 Oct 2019 at 13:59, mlist <[email protected]> wrote: > On Sun, 6 Oct 2019 12:15:25 +0100 Neil C Smith wrote: > > > If you build from checkout you also have to manually specify the > > metabuild branch and hash information. > > > Also, use release112 tip. > > How do I do these please? > > I am attaching the short bash script I use to build.
If building from a git checkout you currently need to pass in the branch and hash info to the build. There is a change in master (and therefore beta3) that will try and pick up that info from the .git folder, but still won't work with a checked out tag (because it's detached). The easiest way to build a (beta) release is from the source zip download in the announcement. To pass in the information to the build, eg. from git checkout 11.2-beta2, use git show to see the git hash. It should match the tag for beta2 in the file at https://github.com/apache/netbeans-jenkins-lib/blob/master/meta/netbeansrelease.json#L134 This file is where version info is stored. To build 11.2-beta2 from git checkout you should then be able to run ant -Dmetabuild.branch=release112 -Dmetabuild.hash=86e1b2eb194e8e9628a66e6ee1a128134c70671a For beta1, check out that tag, and then pass in the different hash. In the source zip for betas (and coming release), the above information is stored in an extra file gitinfo.properties inside nbbuild. By release112 tip I mean just git checkout release112. Hope that helps! Best wishes, Neil --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
