You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by mlist <ml...@riseup.net> on 2019/10/06 10:52:24 UTC

Re: Building NetBeans 11.2-beta1

On Sat, 5 Oct 2019 18:09:09 +0100 Neil C Smith wrote:

> I'm glad we will no longer have this issue in 11.2!  Try building the
> beta of that instead, and report back problems. ;-)

OK, I have built 11.2 (from GitHub's tag '11.2-beta1').

Help->About shows:

Apache NetBeans IDE DEV (Build 20191006-unknown-revn)

Also running it from console shows quite a few WARNING and INFO messages.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Building NetBeans 11.2-beta1

Posted by mlist <ml...@riseup.net>.
On Sun, 6 Oct 2019 13:03:16 +0200 Geertjan Wielenga wrote:

> If it builds and runs, that’s great. Don’t worry about the messages.

Thanks.
What about the version number? Is it normal?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Building NetBeans 11.2-beta1

Posted by Geertjan Wielenga <ge...@apache.org>.
So, that’s great.

If it builds and runs, that’s great. Don’t worry about the messages.

Gj

On Sun, 6 Oct 2019 at 12:52, mlist <ml...@riseup.net> wrote:

> On Sat, 5 Oct 2019 18:09:09 +0100 Neil C Smith wrote:
>
> > I'm glad we will no longer have this issue in 11.2!  Try building the
> > beta of that instead, and report back problems. ;-)
>
> OK, I have built 11.2 (from GitHub's tag '11.2-beta1').
>
> Help->About shows:
>
> Apache NetBeans IDE DEV (Build 20191006-unknown-revn)
>
> Also running it from console shows quite a few WARNING and INFO messages.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: Building NetBeans 11.2-beta1

Posted by mlist <ml...@riseup.net>.
Thank you!


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Building NetBeans 11.2

Posted by mlist <ml...@riseup.net>.
I see.
Thanks again.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Building NetBeans 11.2

Posted by Neil C Smith <ne...@apache.org>.
On Thu, 21 Nov 2019, 09:56 mlist, <ml...@riseup.net> wrote:

>
> Something strange though. When I started the build of 11.2 it wanted to
> import settings from 11.1, not from 11.2-beta (which itself had already
> imported the settings of 11.1 earlier).
>
> Why is that?
>

Not strange, just how it works. Only importing from releases is currently
supported there, although Tools / Options / Import should allow for copying
some things over from the beta.

Someone mentioned working on changing the import code recently? We need
something better here as it's also the one thing that needs manual updating
between releases still.

Best wishes,

Neil

>

Re: Building NetBeans 11.2

Posted by mlist <ml...@riseup.net>.
On Wed, 20 Nov 2019 22:12:49 +0000 Neil C Smith wrote:

> As I already said, if you're building from git change the metabuild hash on
> the ant build line to match 11.2

Oh. Finally I got that.
Thanks!

Something strange though. When I started the build of 11.2 it wanted to
import settings from 11.1, not from 11.2-beta (which itself had already
imported the settings of 11.1 earlier).

Why is that?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Building NetBeans 11.2

Posted by Neil C Smith <ne...@apache.org>.
On Wed, 20 Nov 2019, 22:04 mlist, <ml...@riseup.net> wrote:

>
> I checked out with tag '11.2' but after building Help->About still
> shows 11.2-beta.
>

As I already said, if you're building from git change the metabuild hash on
the ant build line to match 11.2

Best wishes,

Neil

>

Re: Building NetBeans 11.2

Posted by mlist <ml...@riseup.net>.
On Wed, 20 Nov 2019 09:16:03 +0000 Neil C Smith wrote:

> You need to change the hash on the build line to match the git hash of the
> release. Or check the gitinfo.properties file in the source zip download.
> In fact, building from source zip recommended. Or if not, the git tag. The
> release branch is ahead of the release already.

I checked out with tag '11.2' but after building Help->About still 
shows 11.2-beta.

What tag should I use for '11.2' (final, stable release)?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Building NetBeans 11.2

Posted by Neil C Smith <ne...@apache.org>.
On Wed, 20 Nov 2019, 08:44 mlist, <ml...@riseup.net> wrote:

> Anybody? Please.
>
> On Sat, 16 Nov 2019 22:43:05 +0200 mlist wrote:
>
> > I have just rebuilt using 'release112' (just like before) hoping that
> > this will update me to the latest version 11.2 (as per GitHub and as
> > per your explanation). However Help->About of the build still shows
> > 11.2-beta2.
>

You need to change the hash on the build line to match the git hash of the
release. Or check the gitinfo.properties file in the source zip download.
In fact, building from source zip recommended. Or if not, the git tag. The
release branch is ahead of the release already.

Best wishes,

Neil

>

Re: Building NetBeans 11.2

Posted by mlist <ml...@riseup.net>.
Anybody? Please.

On Sat, 16 Nov 2019 22:43:05 +0200 mlist wrote:

> I have just rebuilt using 'release112' (just like before) hoping that
> this will update me to the latest version 11.2 (as per GitHub and as
> per your explanation). However Help->About of the build still shows
> 11.2-beta2.
> 
> Is it that the branch is not updated properly or am I doing something
> wrong?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Building NetBeans 11.2-beta1

Posted by mlist <ml...@riseup.net>.
Hi again.

On Mon, 7 Oct 2019 19:08:27 +0100 Neil C Smith wrote:

> 11.2-beta2 is a tag, release112 is the branch.  The tag is a fixed
> point, the branch will be updated for beta3 and the release itself.

I have just rebuilt using 'release112' (just like before) hoping that
this will update me to the latest version 11.2 (as per GitHub and as
per your explanation). However Help->About of the build still shows
11.2-beta2.

Is it that the branch is not updated properly or am I doing something
wrong?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Building NetBeans 11.2-beta1

Posted by Neil C Smith <ne...@apache.org>.
On Mon, 7 Oct 2019 at 19:02, mlist <ml...@riseup.net> wrote:
> What is the difference between checking out 11.2-beta2 and release112?

11.2-beta2 is a tag, release112 is the branch.  The tag is a fixed
point, the branch will be updated for beta3 and the release itself.

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Building NetBeans 11.2-beta1

Posted by mlist <ml...@riseup.net>.
On Mon, 7 Oct 2019 12:34:51 +0100 Neil C Smith wrote:

> By release112 tip I mean just git checkout release112.

Thanks Neil.

What is the difference between checking out 11.2-beta2 and release112?

I notice that for both git show outputs:

commit 86e1b2eb194e8e9628a66e6ee1a128134c70671a (HEAD -> release112, tag: 11.2-beta2, origin/release112)

IOW: which naming to use long term?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Building NetBeans 11.2-beta1

Posted by Neil C Smith <ne...@apache.org>.
On Sun, 6 Oct 2019 at 13:59, mlist <ml...@riseup.net> 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: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Building NetBeans 11.2-beta1

Posted by mlist <ml...@riseup.net>.
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.


Re: Building NetBeans 11.2-beta1

Posted by Neil C Smith <ne...@apache.org>.
On Sun, 6 Oct 2019, 11:52 mlist, <ml...@riseup.net> wrote:

> On Sat, 5 Oct 2019 18:09:09 +0100 Neil C Smith wrote:
>
> > I'm glad we will no longer have this issue in 11.2!  Try building the
> > beta of that instead, and report back problems. ;-)
>
> OK, I have built 11.2 (from GitHub's tag '11.2-beta1').
>
> Help->About shows:
>
> Apache NetBeans IDE DEV (Build 20191006-unknown-revn)
>

This is expected. Build from the source zip download. If you build from
checkout you also have to manually specify the metabuild branch and hash
information. There is some code in master now that will make a best attempt
to calculate this from a git checkout, but may only work on branch tips at
present.

Also, use release112 tip. It's current beta2. As someone pointed out
elsewhere I haven't got around to pushing the tag yet.

Best wishes,

Neil

>