Making sure all nb-javac sources are covered by CPE was: Two paths to access Javac ASTs

2021-04-02 Thread Jaroslav Tulach
> OK, looks like we're good to move forward on this if the ambiguity about
> CPE applying to all sources can be addressed. Over to you!
> 
> https://issues.apache.org/jira/browse/LEGAL-563
> 

Congratulations Neil! The path to avoid downloading of `nb-javac` after each 
start with an empty user directory is now open!

How do we check all files of `nb-javac` are covered by CPE? Matthias prepared 
the nb-javac source code for [upload of bits to Maven central](https://
github.com/oracle/nb-javac/pull/2) - as part of that a JAR file with sources is 
being generated. It can be used to build the whole `nb-javac`. I've just:

```
$ wget https://repo1.maven.org/maven2/com/dukescript/nbjavac/nb-javac/
15.0.0.2/nb-javac-15.0.0.2-sources.jar
$ unzip nb-javac-15.0.0.2-sources.jar
$ JAVA_HOME=/jdk-8/ ant -f ./make/langtools/netbeans/nb-javac/build.xml
```

and got the two `nb-javac*.jar` files as expected. Now, if I instead of 
building the sources scan them for CPE and look for 

'particular file .* subject to the "Classpath" exception'

as the `LICENSE.md` suggests I get:
```
$ wget https://repo1.maven.org/maven2/com/dukescript/nbjavac/nb-javac/
15.0.0.2/nb-javac-15.0.0.2-sources.jar
$ unzip nb-javac-15.0.0.2-sources.jar
$ rm nb-javac-15.0.0.2-sources.jar
$ find . -type f | while read X; do grep -r 'particular file as subject to the 
"Classpath" exception as provided' $X >/dev/null || echo No CPE in $X; done
No CPE in ./SECURITY.md
No CPE in ./LICENSE.txt
No CPE in ./CONTRIBUTING.md
No CPE in ./make/langtools/netbeans/nb-javac/nbproject/project.properties
No CPE in ./make/langtools/netbeans/nb-javac/nbproject/genfiles.properties
No CPE in ./make/langtools/netbeans/nb-javac/nbproject/build-impl.xml
No CPE in ./make/langtools/netbeans/nb-javac/nbproject/project.xml
No CPE in ./make/langtools/netbeans/nb-javac/pom-nb-javac.xml
No CPE in ./make/langtools/netbeans/nb-javac/manifest.mf
No CPE in ./make/langtools/netbeans/nb-javac/test/com/sun/tools/javac/jvm/
Test1.class
No CPE in ./make/langtools/netbeans/nb-javac/test/com/sun/tools/javac/jvm/
V48gen.class
No CPE in ./make/langtools/netbeans/nb-javac/test/com/sun/tools/javac/jvm/
Test2.class
No CPE in ./make/langtools/netbeans/nb-javac/test/com/sun/tools/javac/parser/
DocCommentParserTest.java
No CPE in ./make/langtools/netbeans/nb-javac/build.xml
No CPE in ./README.md
```

Looking at the list of files missing the required sentence, I see none that 
becomes part of one of the `nb-javac*.jar` files and could hold such license 
text. I conclude that nb-javac-15.0.0.2 as published on Maven central by Toni 
is fully covered by Classpath "exception".


-jt

PS: Maybe the license of ./make/langtools/netbeans/nb-javac/pom-nb-javac.xml 
could be fixed for next release, right Matthias?





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

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





Re: Profiler crash on Windows (was: [NOTICE] Last PRs for Apache NetBeans 12.4 Beta)

2021-04-02 Thread Neil C Smith
On Thu, 1 Apr 2021 at 22:06, Lars Bruun-Hansen  wrote:
> Thanks, Matthias, for uploading.

Thanks!

> I've just created PR-2853 which is the PR which will actually make the
> new binaries part of the NetBeans IDE distribution.

Currently seems to be a Travis failure in that, and one caused by PR-2700.

Best wishes,

Neil

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

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





Re: Making sure all nb-javac sources are covered by CPE was: Two paths to access Javac ASTs

2021-04-02 Thread Neil C Smith
On Fri, 2 Apr 2021 at 08:48, Jaroslav Tulach  wrote:
>
> > OK, looks like we're good to move forward on this if the ambiguity about
> > CPE applying to all sources can be addressed. Over to you!
> >
> > https://issues.apache.org/jira/browse/LEGAL-563
> >
>
> Congratulations Neil! The path to avoid downloading of `nb-javac` after each
> start with an empty user directory is now open!
>
> How do we check all files of `nb-javac` are covered by CPE?

"We" don't!  Before you get too congratulatory, the resolution we have
at present is -

"As long as Oracle can provide a clear statement in LICENSE.txt that
nb-javac is licensed under GPL+CPE in its entirety"

It takes the issue of the NetBeans PMC auditing everything out of the
equation entirely at the moment.  It leaves us with the need for an
unambiguous clarification in the Oracle nb-javac repository that all
sources (at least those used to create the binary), and any binary
created from that repository, are covered by CPE.  Ideally we would
also be using an Oracle distributed binary unambiguously under those
terms.  We might be OK with the current binary distribution, and we
might be OK with the clarification being elsewhere than the
LICENSE.txt file, but we need to go back to legal when we know what's
feasible from Oracle side.  Hopefully we then have a precedent for
what needs to happen with CPE inclusion in future.

As a matter of fact, is there a full unambiguous list of what sources
and related binaries carry CPE in the whole of OpenJDK somewhere?

Best wishes,

Neil

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

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





Re: [NOTICE] Last PRs for Apache NetBeans 12.4 Beta

2021-04-02 Thread Geertjan Wielenga
Just to say I’ll be branching around 21:00 CET to give maximum time for
everyone needing to merge to complete their merging for Beta.

Gj

On Thu, 1 Apr 2021 at 20:28, Jakub Herkel  wrote:

> Maybe these two PR could be included (but they need final review &
> approval):
>
> https://github.com/apache/netbeans/pull/2544
> https://github.com/apache/netbeans/pull/2612
>
> best regards
>
> Jakub
>
> On Thu, Apr 1, 2021 at 1:12 PM Tomáš Procházka  wrote:
> >
> > Would it be possible to review
> https://github.com/apache/netbeans/pull/2772 which makes PHP Annotation
> API public?
> > It will allow to implement support for more annotations than only those
> in listed friend modules.
> >
> > Regards,
> > Tom
> >
> >
> > On 01. 04. 21 11:45, Geertjan Wielenga wrote:
> > > Hi all,
> > >
> > > Your brave release managers (the undersigned and Neil C. Smith), will
> > > according to our schedule tomorrow put together a Beta release for
> 12.4,
> > > including a vote thread once the sources and convenience binaries are
> > > available.
> > >
> > > That means that, please:
> > >
> > > 1. This is a last call for PRs to be included in Beta.
> > >
> > > 2. Tomorrow we'll stop merging while release124 branch is created.
> > >
> > > 3. The current delivery branch will be deleted and a new one will be
> > > created on feature freeze.
> > >
> > > Feel free to respond with any concerns or questions or any PRs that
> are not
> > > merged yet that need to not be forgotten about.
> > >
> > > Thanks,
> > >
> > > Gj
> > >
> >
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> > For additional commands, e-mail: dev-h...@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: AW: How to Implement a New Language

2021-04-02 Thread John Kostaras
Hallo,
the best 'tutorial' is chapter 11 of Pro Apache NetBeans

book, even though it doesn't use the modern trend of TextMate and LSP, but
it is based on ANTLR.

This confluence page

provides an overview of the status of language support of Apache Netbeans.
The situation is really bad, compared to the language support that existed
back in  NetBeans 8.2 for example, or even earlier versions. There are many
old and half-baked plugins for many languages, and I don't know what is the
best way to move ahead in this respect.

Kind regards,

John.



On Mon, 29 Mar 2021 at 23:02, antonio  wrote:

> Very true. Maintaining an ANTLR grammar over the years is difficult and
> time consuming (see for instance all the changes to the NetBeans C++
> grammar in NetBeans [1]).
>
> LSP servers, when mantained by knowledgeable teams, may give better
> results with less effort. Apple, for instance, decided to move to clangd
> (from libclang) a few years back ([2]).
>
> For simpler languages/DSLs I think Eclipse's XText
> https://www.eclipse.org/Xtext/ outperforms JetBrain's MPS
> https://www.jetbrains.com/mps/ (the generated parsers could then be
> reused in NetBeans).
>
> Cheers,
> Antonio
>
> [1]
>
> https://github.com/emilianbold/netbeans-releases/commits/master/cnd.modelimpl/src/org/netbeans/modules/cnd/modelimpl/parser/cppparser.g
>
> [2]
> https://lists.llvm.org/pipermail/cfe-dev/2018-April/057668.html
>
>
> El 29/3/21 a las 11:39, Christian Lenz escribió:
> > Hey all,
> >
> > for myself I prefer adding new languages with textmate nowadays and LSP.
> It is not possible for some languages to find updated versions of the ANTLR
> Grammar file. For example C#. I dunno how it is for rust but yeah, I still
> prefer Textmate. We Need to figure out how we can create the Tokens based
> on the textmate file instead of ANTLR. I would prefer that. In the end,
> everythins should be then the same as for ANTLR.
> >
> >
> > Cheers
> >
> > Chris
> >
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: [NOTICE] Last PRs for Apache NetBeans 12.4 Beta

2021-04-02 Thread Josh Juneau
Thanks Geertjan!  I am working on trying to get the following PR to pass
all Travis tests:

[NETBEANS-5216] Jakarta EE 9 Project Support



Josh Juneau
juneau...@gmail.com
http://jj-blogger.blogspot.com
https://www.apress.com/us/search?query=juneau




On Fri, Apr 2, 2021 at 8:46 AM Geertjan Wielenga
 wrote:

> Just to say I’ll be branching around 21:00 CET to give maximum time for
> everyone needing to merge to complete their merging for Beta.
>
> Gj
>
> On Thu, 1 Apr 2021 at 20:28, Jakub Herkel  wrote:
>
> > Maybe these two PR could be included (but they need final review &
> > approval):
> >
> > https://github.com/apache/netbeans/pull/2544
> > https://github.com/apache/netbeans/pull/2612
> >
> > best regards
> >
> > Jakub
> >
> > On Thu, Apr 1, 2021 at 1:12 PM Tomáš Procházka  wrote:
> > >
> > > Would it be possible to review
> > https://github.com/apache/netbeans/pull/2772 which makes PHP Annotation
> > API public?
> > > It will allow to implement support for more annotations than only those
> > in listed friend modules.
> > >
> > > Regards,
> > > Tom
> > >
> > >
> > > On 01. 04. 21 11:45, Geertjan Wielenga wrote:
> > > > Hi all,
> > > >
> > > > Your brave release managers (the undersigned and Neil C. Smith), will
> > > > according to our schedule tomorrow put together a Beta release for
> > 12.4,
> > > > including a vote thread once the sources and convenience binaries are
> > > > available.
> > > >
> > > > That means that, please:
> > > >
> > > > 1. This is a last call for PRs to be included in Beta.
> > > >
> > > > 2. Tomorrow we'll stop merging while release124 branch is created.
> > > >
> > > > 3. The current delivery branch will be deleted and a new one will be
> > > > created on feature freeze.
> > > >
> > > > Feel free to respond with any concerns or questions or any PRs that
> > are not
> > > > merged yet that need to not be forgotten about.
> > > >
> > > > Thanks,
> > > >
> > > > Gj
> > > >
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> > > For additional commands, e-mail: dev-h...@netbeans.apache.org
> > >
> > > For further information about the NetBeans mailing lists, visit:
> > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > >
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> > For additional commands, e-mail: dev-h...@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
> >
>


Re: Compiling shared libraries (cnd.remote)

2021-04-02 Thread Christian Oyarzun
Hi Antonio,

1) +1 for dropping Solaris.

2) Have you heard back from ASF infra in regard to macOS agents?

Since AWS now has macOS EC2 instances, maybe we could apply for promotional
credits for a Jenkins agent?
https://aws.amazon.com/blogs/opensource/aws-promotional-credits-open-source-projects/
https://aws.amazon.com/ec2/instance-types/mac/
https://issues.apache.org/jira/browse/INFRA-17961

Best regards,
Christian

On Sun, Mar 21, 2021 at 4:05 PM antonio  wrote:

> Hi all,
>
> As you may know the module "cnd.remote" uses some shared libraries to
> access files through ssh [1]. It seems the source code for these shared
> libraries was included in the 4th donation (see [2]).
>
> I've asked Infra if we could have Jenkins agents for compiling on
> Solaris and MacOS, but it seems we only have Windows and Linux Jenkins
> buildbots.
>
> Questions are:
>
> 1) Do we want to drop Solaris support? If not, would it be possible to
> get an Oracle box/docker image for compiling the library? Once compiled
> I don't think we'll have to compile it again frequently.
>
> 2) ASF Infra doesn't have MacOS agents, but maybe we can get one in
> Azure (they're finding out). How are we currently compiling the MacOS
> installers?
>
> Thanks,
> Antonio
>
>
> [1]
>
> https://github.com/apache/netbeans/blob/bf55111bb537c857f70d3fbaa80f04481cb2eb87/cnd/cnd.remote/nbproject/project.properties#L30
>
> We have previous binary versions of the shared libraries (CDDL License)
> for Solaris and Linux, but there're different fingerprints:
>
>
> https://netbeans.osuosl.org/binaries/2B7152611CB7729C6B5E61E7E2E02060D56FFE1D-cnd-rfs-1.0.zip
> and here:
>
> https://netbeans.osuosl.org/binaries/2BCF2047382FB68A2F275677745C80E79B4046AB-cnd-rfs-1.0.zip
>
> [2]
> https://github.com/apache/netbeans/tree/cnd/cnd/cnd.remote/tools
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: Compiling shared libraries (cnd.remote)

2021-04-02 Thread antonio

Some comments below

El 2/4/21 a las 17:12, Christian Oyarzun escribió:

Hi Antonio,

1) +1 for dropping Solaris.


I managed to download a Solaris Virtual Box image (3Gb) and install it 
on my box (with a free subscription for myself). This may be good for 
compiling for Solaris 11 X64, but not for Sparc. Haven't tried this path 
yet, though.


It would be great if Oracle donated some hardware/cloud agent to the ASF 
for cross-compilation in Solaris. This could be used by different Apache 
projects also. Any Oraclers want to push this internally? General 
instructions on how to host an external agent are here:


https://infra.apache.org/hosting-external-agent.html



2) Have you heard back from ASF infra in regard to macOS agents?


They're waiting for us to request them. AFAIU the request may or may not 
go ahead (depending on budget and mainteinance costs, I imagine).




Since AWS now has macOS EC2 instances, maybe we could apply for promotional
credits for a Jenkins agent?
https://aws.amazon.com/blogs/opensource/aws-promotional-credits-open-source-projects/
https://aws.amazon.com/ec2/instance-types/mac/
https://issues.apache.org/jira/browse/INFRA-17961


Azure has also macOS agents, but for Azure pipelines, not Jenkins.

https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml

List of tooling is impressive:

https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.14-Readme.md#java

Shall I reopen INFRA-17961? If so we may want to have a list of things 
we want to do with these agents. Things I can think of:


- Build the NetBeans shared libraries on MacOS.
- Build some CND shared libraries for MacOS.
- Build the installers? Are these APL-v2 licensed?
- Anything else?

Kind regards,
Antonio

P.S.: Both AWS and Azure are ASF platinum sponsors!

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

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





Re: Compiling shared libraries (cnd.remote)

2021-04-02 Thread Lars Bruun-Hansen
Hi Antonio

missed this one.

Specially for cnd.remote when you ask what platforms should be
supported, do you mean where the IDE is running or the platform OS of
the remote target?
Example: Solaris hasn't been relevant as a desktop OS for decades but
is (was?) still relevant as a remote development target for
cnd.remote.

If you mean where the IDE is running then I think we should _only_
support the following platforms going forward:

- Linux, 32-bit, X86
- Linux, 64-bit, X64
- MacOS, 64-bit, X64
- Windows, 32-bit, X86
- Windows, 64-bit, X64

Note 1: We'll probably soon be forced to support Apple Silicon too
(fancy marketing word for MacOS on ARM-64), but as far as I understand
it is possible to build these binaries on X64)
Note 2: I for one would like to drop support for 32-bit platforms, but
I don't think we are all there?



For the NB lib.profiler the same issue was faced. In the past some
esoteric platforms like Solaris on SPARC and HP-UX on PA-RISC had been
supported and there were pre-build binaries for those in the NetBeans
distro. But now there was a need for a bug fix. The solution was to
create new binaries only for the above platforms (using GitHub
Actions) and then overlay those onto the older binaries. This way the
older binaries are still there but they'll no longer receive bug
fixes. This may be a solution for cnd.remote too ?

On another note: Native binaries are not that easy to tackle for the
NetBeans community. They should exist for a good reason. So another
question which one may ask for cnd.remote:   Can't the same be
accomplished these days by using a Java native solution?   I've used
JSch for this purpose in the past and it works well. But there may be
many pros and cons I can't see.


/Lars











On Fri, Apr 2, 2021 at 5:53 PM antonio  wrote:
>
> Some comments below
>
> El 2/4/21 a las 17:12, Christian Oyarzun escribió:
> > Hi Antonio,
> >
> > 1) +1 for dropping Solaris.
>
> I managed to download a Solaris Virtual Box image (3Gb) and install it
> on my box (with a free subscription for myself). This may be good for
> compiling for Solaris 11 X64, but not for Sparc. Haven't tried this path
> yet, though.
>
> It would be great if Oracle donated some hardware/cloud agent to the ASF
> for cross-compilation in Solaris. This could be used by different Apache
> projects also. Any Oraclers want to push this internally? General
> instructions on how to host an external agent are here:
>
> https://infra.apache.org/hosting-external-agent.html
>
> >
> > 2) Have you heard back from ASF infra in regard to macOS agents?
>
> They're waiting for us to request them. AFAIU the request may or may not
> go ahead (depending on budget and mainteinance costs, I imagine).
>
> >
> > Since AWS now has macOS EC2 instances, maybe we could apply for promotional
> > credits for a Jenkins agent?
> > https://aws.amazon.com/blogs/opensource/aws-promotional-credits-open-source-projects/
> > https://aws.amazon.com/ec2/instance-types/mac/
> > https://issues.apache.org/jira/browse/INFRA-17961
>
> Azure has also macOS agents, but for Azure pipelines, not Jenkins.
>
> https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml
>
> List of tooling is impressive:
>
> https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.14-Readme.md#java
>
> Shall I reopen INFRA-17961? If so we may want to have a list of things
> we want to do with these agents. Things I can think of:
>
> - Build the NetBeans shared libraries on MacOS.
> - Build some CND shared libraries for MacOS.
> - Build the installers? Are these APL-v2 licensed?
> - Anything else?
>
> Kind regards,
> Antonio
>
> P.S.: Both AWS and Azure are ASF platinum sponsors!
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>

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

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





Re: NSString on M1 Mac

2021-04-02 Thread Bläsing , Matthias

Hi Tres,

Am 02.04.2021 um 17:20 schrieb Tres Finocchiaro:


I'm working with Dyorgio on 
https://github.com/dyorgio/macos-tray-icon-fixer/issues/5 
 and 
although the code works on Intel, we cannot get it to run on M1 Macs.


The library is a stop-gap for upstream 
https://github.com/openjdk/jdk/commit/400dc76f686206d17c6ff87799c10021edc146d0 
.


What is odd is the code seems to segfault simply constructing an 
NSString 
.


I was wondering if anyone on the mailing list had a working NSString 
class for the new M1 architecture or knowledge of a bug working with 
this architecture?


Random segfaults could be problems in libffi or the bindings - or in the 
GC. See here:


https://github.com/dyorgio/macos-tray-icon-fixer/blob/53702e10f45984a6145cd18edf87af22e92b912d/src/main/java/dyorgio/runtime/macos/trayicon/fixer/jna/foundation/NSDictionary.java#L43-L45

At that point the id of the NSString is extracted from the surrounding 
object. If nothing else holds a strong reference to the NSString, the 
object becomes eligible for GC at that point (with some hotspot magic 
even earlier). When GC kicks in NSObject#finalize is invoked, which I 
assume will deallocate the string. As GC settings have the tendency to 
be highly architecture and JDK build specific, this could explain the 
different observed behavior.


On JDK 9+ you can use Reference#reachabilityFence to prevent GC of the 
object. For older JDKs you could stuff the object into a static holder.


Greetings

Matthias



Re: NSString on M1 Mac

2021-04-02 Thread Bläsing , Matthias

Please ignore this - I'm still try to align my fingers with Thunderbird.


Am 02.04.2021 um 19:53 schrieb Bläsing, Matthias:

Hi Tres,

Am 02.04.2021 um 17:20 schrieb Tres Finocchiaro:


I'm working with Dyorgio on 
https://github.com/dyorgio/macos-tray-icon-fixer/issues/5 
 and 
although the code works on Intel, we cannot get it to run on M1 Macs.


The library is a stop-gap for upstream 
https://github.com/openjdk/jdk/commit/400dc76f686206d17c6ff87799c10021edc146d0 
. 



What is odd is the code seems to segfault simply constructing an 
NSString 
.


I was wondering if anyone on the mailing list had a working NSString 
class for the new M1 architecture or knowledge of a bug working with 
this architecture?


Random segfaults could be problems in libffi or the bindings - or in 
the GC. See here:


https://github.com/dyorgio/macos-tray-icon-fixer/blob/53702e10f45984a6145cd18edf87af22e92b912d/src/main/java/dyorgio/runtime/macos/trayicon/fixer/jna/foundation/NSDictionary.java#L43-L45 



At that point the id of the NSString is extracted from the surrounding 
object. If nothing else holds a strong reference to the NSString, the 
object becomes eligible for GC at that point (with some hotspot magic 
even earlier). When GC kicks in NSObject#finalize is invoked, which I 
assume will deallocate the string. As GC settings have the tendency to 
be highly architecture and JDK build specific, this could explain the 
different observed behavior.


On JDK 9+ you can use Reference#reachabilityFence to prevent GC of the 
object. For older JDKs you could stuff the object into a static holder.


Greetings

Matthias




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

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





Re: [NOTICE] Last PRs for Apache NetBeans 12.4 Beta

2021-04-02 Thread Josh Juneau
Hi Geertjan/Neil,

It looks like NETBEANS-5216 has passed the Travis checks.  If possible, it
would be great to have this as part of the 12.4 beta.

Let me know if there is anything you need from me in order to move this
into the beta.  Thanks for all of your time.

Josh Juneau
juneau...@gmail.com
http://jj-blogger.blogspot.com
https://www.apress.com/us/search?query=juneau




On Fri, Apr 2, 2021 at 9:24 AM Josh Juneau  wrote:

> Thanks Geertjan!  I am working on trying to get the following PR to pass
> all Travis tests:
>
> [NETBEANS-5216] Jakarta EE 9 Project Support
> 
>
>
> Josh Juneau
> juneau...@gmail.com
> http://jj-blogger.blogspot.com
> https://www.apress.com/us/search?query=juneau
> 
>
>
>
> On Fri, Apr 2, 2021 at 8:46 AM Geertjan Wielenga
>  wrote:
>
>> Just to say I’ll be branching around 21:00 CET to give maximum time for
>> everyone needing to merge to complete their merging for Beta.
>>
>> Gj
>>
>> On Thu, 1 Apr 2021 at 20:28, Jakub Herkel  wrote:
>>
>> > Maybe these two PR could be included (but they need final review &
>> > approval):
>> >
>> > https://github.com/apache/netbeans/pull/2544
>> > https://github.com/apache/netbeans/pull/2612
>> >
>> > best regards
>> >
>> > Jakub
>> >
>> > On Thu, Apr 1, 2021 at 1:12 PM Tomáš Procházka  wrote:
>> > >
>> > > Would it be possible to review
>> > https://github.com/apache/netbeans/pull/2772 which makes PHP Annotation
>> > API public?
>> > > It will allow to implement support for more annotations than only
>> those
>> > in listed friend modules.
>> > >
>> > > Regards,
>> > > Tom
>> > >
>> > >
>> > > On 01. 04. 21 11:45, Geertjan Wielenga wrote:
>> > > > Hi all,
>> > > >
>> > > > Your brave release managers (the undersigned and Neil C. Smith),
>> will
>> > > > according to our schedule tomorrow put together a Beta release for
>> > 12.4,
>> > > > including a vote thread once the sources and convenience binaries
>> are
>> > > > available.
>> > > >
>> > > > That means that, please:
>> > > >
>> > > > 1. This is a last call for PRs to be included in Beta.
>> > > >
>> > > > 2. Tomorrow we'll stop merging while release124 branch is created.
>> > > >
>> > > > 3. The current delivery branch will be deleted and a new one will be
>> > > > created on feature freeze.
>> > > >
>> > > > Feel free to respond with any concerns or questions or any PRs that
>> > are not
>> > > > merged yet that need to not be forgotten about.
>> > > >
>> > > > Thanks,
>> > > >
>> > > > Gj
>> > > >
>> > >
>> > >
>> > > -
>> > > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
>> > > For additional commands, e-mail: dev-h...@netbeans.apache.org
>> > >
>> > > For further information about the NetBeans mailing lists, visit:
>> > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>> > >
>> > >
>> > >
>> >
>> > -
>> > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
>> > For additional commands, e-mail: dev-h...@netbeans.apache.org
>> >
>> > For further information about the NetBeans mailing lists, visit:
>> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>> >
>> >
>> >
>> >
>>
>


Re: Compiling shared libraries (cnd.remote)

2021-04-02 Thread antonio

Some comments below.

El 2/4/21 a las 19:06, Lars Bruun-Hansen escribió:

Hi Antonio

missed this one.

Specially for cnd.remote when you ask what platforms should be
supported, do you mean where the IDE is running or the platform OS of
the remote target?


As far as I understand:

- ide/dlight.nativeexecution runs locally (note this has _many_ shared 
libraries as well which we don't currently compile) and does indeed 
depend on JSch


https://github.com/apache/netbeans/tree/master/ide/dlight.nativeexecution/tools

- cnd/cnd.remote is copied to the remote server using this script:

https://github.com/apache/netbeans/blob/cnd/cnd/cnd.remote/tools/upload_rfs_binaries.bash 



it is a server-side server with a specific protocol that sends 
information about available remote tooling (compilers, etc.) and 
filesystem information back to the IDE.


So you can run the IDE in a Linux box and build on a Solaris/Linux 
remote box, for instance.



Example: Solaris hasn't been relevant as a desktop OS for decades but
is (was?) still relevant as a remote development target for
cnd.remote.


I think Oracle still sells Oracle Studio IDE, which is based on NetBeans 
cnd, and runs on Solaris and Linux.


I imagine people developing for Solaris and OpenSolaris derivatives have 
Emacs and Makefiles for breakfast, compile assembly by hand for lunch 
and don't use NetBeans :-).




If you mean where the IDE is running then I think we should _only_
support the following platforms going forward:

- Linux, 32-bit, X86
- Linux, 64-bit, X64
- MacOS, 64-bit, X64
- Windows, 32-bit, X86
- Windows, 64-bit, X64

D'oh! I'm a FreeBSD fan :-). Luckily FreeBSD runs Linux native binaries!

The list looks sensible to me.



Note 1: We'll probably soon be forced to support Apple Silicon too
(fancy marketing word for MacOS on ARM-64), but as far as I understand
it is possible to build these binaries on X64)


"We'll probably soon be forced to support..." [add closed/undocumented 
platform here] is not on my open source book :-).



Note 2: I for one would like to drop support for 32-bit platforms, but
I don't think we are all there?


Can't tell. I ran a FreeBSD-32bit several years ago, have been on 64bit 
for ages now.




For the NB lib.profiler the same issue was faced. In the past some
esoteric platforms like Solaris on SPARC and HP-UX on PA-RISC had been
supported and there were pre-build binaries for those in the NetBeans
distro. But now there was a need for a bug fix. The solution was to
create new binaries only for the above platforms (using GitHub
Actions) and then overlay those onto the older binaries. This way the
older binaries are still there but they'll no longer receive bug
fixes. This may be a solution for cnd.remote too ?


Yes, I think so. But note that there're quite a few shared libraries in 
NetBeans, and maybe a single yml file is not good enough for all of them.


I don't think we're required to compile binaries on ASF Infra, but maybe 
we are. We should investigate.




On another note: Native binaries are not that easy to tackle for the
NetBeans community. They should exist for a good reason. So another
question which one may ask for cnd.remote:   Can't the same be
accomplished these days by using a Java native solution?   I've used
JSch for this purpose in the past and it works well. But there may be
many pros and cons I can't see.



I think the best plan with CND could be something like this:

1.- Clean up all licenses.
2.- Compile it (possibly adding missing files).
3.- Run it (we'll face wrong paths due to cluster reorganization)
4.- Test it.
5.- After that we can see what features we want to support, or change. 
Who knows, maybe CND and LSP work well together.



Cheers,
Antonio

P.S.: For more details about remote development see:

https://netbeans.apache.org/kb/docs/cnd/remote-modes.html
https://netbeans.apache.org/kb/docs/cnd/remotedev-tutorial.html




/Lars











On Fri, Apr 2, 2021 at 5:53 PM antonio  wrote:


Some comments below

El 2/4/21 a las 17:12, Christian Oyarzun escribió:

Hi Antonio,

1) +1 for dropping Solaris.


I managed to download a Solaris Virtual Box image (3Gb) and install it
on my box (with a free subscription for myself). This may be good for
compiling for Solaris 11 X64, but not for Sparc. Haven't tried this path
yet, though.

It would be great if Oracle donated some hardware/cloud agent to the ASF
for cross-compilation in Solaris. This could be used by different Apache
projects also. Any Oraclers want to push this internally? General
instructions on how to host an external agent are here:

https://infra.apache.org/hosting-external-agent.html



2) Have you heard back from ASF infra in regard to macOS agents?


They're waiting for us to request them. AFAIU the request may or may not
go ahead (depending on budget and mainteinance costs, I imagine).



Since AWS now has macOS EC2 instances, maybe we could apply for promotional
credits for a Jenkins agent?
https://aws.amazon.com/blo

12.4 Beta 1 is available

2021-04-02 Thread Geertjan Wielenga
Hi all,

https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release124/2/artifact/dist/netbeans/

Please give it a try.

Meanwhile, we will do the signing and set up a vote thread.

However, anyone wanting to give the binary a try in the meantime is welcome
to do so and it would help if a few people would already take a look to see
if anything suspicious shows up.

This is not a vote thread. Do not reply with a vote. Instead, go to the
above location and get the binary and try it out to see if the features you
expect to be there work, if the IDE as a whole works, etc.

Thanks,

Gj


Re: [NOTICE] Last PRs for Apache NetBeans 12.4 Beta

2021-04-02 Thread Geertjan Wielenga
Hi Josh,

It's in, and now that we have Beta 1, can you please try and provide
instructions here or somewhere about how to use the Java EE 9 support?

Thanks for your great work,

Gj

On Fri, Apr 2, 2021 at 8:47 PM Josh Juneau  wrote:

> Hi Geertjan/Neil,
>
> It looks like NETBEANS-5216 has passed the Travis checks.  If possible, it
> would be great to have this as part of the 12.4 beta.
>
> Let me know if there is anything you need from me in order to move this
> into the beta.  Thanks for all of your time.
>
> Josh Juneau
> juneau...@gmail.com
> http://jj-blogger.blogspot.com
> https://www.apress.com/us/search?query=juneau
> 
>
>
>
> On Fri, Apr 2, 2021 at 9:24 AM Josh Juneau  wrote:
>
> > Thanks Geertjan!  I am working on trying to get the following PR to pass
> > all Travis tests:
> >
> > [NETBEANS-5216] Jakarta EE 9 Project Support
> > 
> >
> >
> > Josh Juneau
> > juneau...@gmail.com
> > http://jj-blogger.blogspot.com
> > https://www.apress.com/us/search?query=juneau
> > 
> >
> >
> >
> > On Fri, Apr 2, 2021 at 8:46 AM Geertjan Wielenga
> >  wrote:
> >
> >> Just to say I’ll be branching around 21:00 CET to give maximum time for
> >> everyone needing to merge to complete their merging for Beta.
> >>
> >> Gj
> >>
> >> On Thu, 1 Apr 2021 at 20:28, Jakub Herkel  wrote:
> >>
> >> > Maybe these two PR could be included (but they need final review &
> >> > approval):
> >> >
> >> > https://github.com/apache/netbeans/pull/2544
> >> > https://github.com/apache/netbeans/pull/2612
> >> >
> >> > best regards
> >> >
> >> > Jakub
> >> >
> >> > On Thu, Apr 1, 2021 at 1:12 PM Tomáš Procházka 
> wrote:
> >> > >
> >> > > Would it be possible to review
> >> > https://github.com/apache/netbeans/pull/2772 which makes PHP
> Annotation
> >> > API public?
> >> > > It will allow to implement support for more annotations than only
> >> those
> >> > in listed friend modules.
> >> > >
> >> > > Regards,
> >> > > Tom
> >> > >
> >> > >
> >> > > On 01. 04. 21 11:45, Geertjan Wielenga wrote:
> >> > > > Hi all,
> >> > > >
> >> > > > Your brave release managers (the undersigned and Neil C. Smith),
> >> will
> >> > > > according to our schedule tomorrow put together a Beta release for
> >> > 12.4,
> >> > > > including a vote thread once the sources and convenience binaries
> >> are
> >> > > > available.
> >> > > >
> >> > > > That means that, please:
> >> > > >
> >> > > > 1. This is a last call for PRs to be included in Beta.
> >> > > >
> >> > > > 2. Tomorrow we'll stop merging while release124 branch is created.
> >> > > >
> >> > > > 3. The current delivery branch will be deleted and a new one will
> be
> >> > > > created on feature freeze.
> >> > > >
> >> > > > Feel free to respond with any concerns or questions or any PRs
> that
> >> > are not
> >> > > > merged yet that need to not be forgotten about.
> >> > > >
> >> > > > Thanks,
> >> > > >
> >> > > > Gj
> >> > > >
> >> > >
> >> > >
> >> > >
> -
> >> > > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> >> > > For additional commands, e-mail: dev-h...@netbeans.apache.org
> >> > >
> >> > > For further information about the NetBeans mailing lists, visit:
> >> > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >> > >
> >> > >
> >> > >
> >> >
> >> > -
> >> > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> >> > For additional commands, e-mail: dev-h...@netbeans.apache.org
> >> >
> >> > For further information about the NetBeans mailing lists, visit:
> >> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >> >
> >> >
> >> >
> >> >
> >>
> >
>


Re: 12.4 Beta 1 is available

2021-04-02 Thread Laszlo Kishalmi

As of a vote threas, are we aiming for public beta then?

On 4/2/21 2:59 PM, Geertjan Wielenga wrote:

Hi all,

https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release124/2/artifact/dist/netbeans/

Please give it a try.

Meanwhile, we will do the signing and set up a vote thread.

However, anyone wanting to give the binary a try in the meantime is welcome
to do so and it would help if a few people would already take a look to see
if anything suspicious shows up.

This is not a vote thread. Do not reply with a vote. Instead, go to the
above location and get the binary and try it out to see if the features you
expect to be there work, if the IDE as a whole works, etc.

Thanks,

Gj



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

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





12.4 beta 1 -- zombie spellchecker

2021-04-02 Thread Glenn Holmer
One of the first things I do when installing NetBeans is to disable the 
spellchecker. So I installed 12.4 beta 1, disabled the spellchecker, let 
NetBeans restart... and the spellchecker was still active!


After a couple of tries to verify that I hadn't misclicked, I 
uninstalled the spellchecker plugin, and then the beta would no longer 
start:


org.netbeans.InvalidException: 
StandardModule:org.netbeans.modules.spellchecker jarFile: 
/mnt/common/netbeans-dev/netbeans/ide/modules/org-netbeans-modules-spellchecker.jar: 
Layer not found: org/netbeans/modules/spellchecker/resources/layer.xml


Can anyone else confirm this?

--
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."


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

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



Re: 12.4 beta 1 -- zombie spellchecker

2021-04-02 Thread Josh Juneau
Hi Glenn,

Hope you are well.  I did not experience the same issue as you.  I disabled
all of the spell checkers via the Preferences and restarted without any
issues.

I am running on OS X 11.2
OpenJDK Runtime Environment Zulu11.39+15-CA (build 11.0.7+10-LTS)

Thanks

Josh Juneau
juneau...@gmail.com
http://jj-blogger.blogspot.com
https://www.apress.com/us/search?query=juneau




On Fri, Apr 2, 2021 at 6:43 PM Glenn Holmer 
wrote:

> One of the first things I do when installing NetBeans is to disable the
> spellchecker. So I installed 12.4 beta 1, disabled the spellchecker, let
> NetBeans restart... and the spellchecker was still active!
>
> After a couple of tries to verify that I hadn't misclicked, I
> uninstalled the spellchecker plugin, and then the beta would no longer
> start:
>
> org.netbeans.InvalidException:
> StandardModule:org.netbeans.modules.spellchecker jarFile:
> /mnt/common/netbeans-dev/netbeans/ide/modules/org-netbeans-modules-spellchecker.jar:
>
> Layer not found: org/netbeans/modules/spellchecker/resources/layer.xml
>
> Can anyone else confirm this?
>
> --
> Glenn Holmer (Linux registered user #16682)
> "After the vintage season came the aftermath -- and Cenbe."
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>


Re: [NOTICE] Last PRs for Apache NetBeans 12.4 Beta

2021-04-02 Thread Josh Juneau
Hi Geertjan,

Thanks for getting the PR into the release.  I will write a blog post about
the Jakarta EE 9 support.  In a nutshell, this release includes the
creation of Jakarta EE 9 projects.  I am looking into developing a javax.*
to jakarta.* conversion utility, but that is not included in this release.

This release also enables one to download GlassFish 6 when adding a new
server.

To create a new Jakarta EE 9 project, do the following:

1)  Click "New Project" -> "Java with Maven" -> "Web Application"
2) When prompted for Java EE version, choose "Jakarta EE 9 Web"

** I will change the "Java EE Version" label in a future update!

Thanks for all of your work!

Josh Juneau
juneau...@gmail.com
http://jj-blogger.blogspot.com
https://www.apress.com/us/search?query=juneau




On Fri, Apr 2, 2021 at 5:21 PM Geertjan Wielenga
 wrote:

> Hi Josh,
>
> It's in, and now that we have Beta 1, can you please try and provide
> instructions here or somewhere about how to use the Java EE 9 support?
>
> Thanks for your great work,
>
> Gj
>
> On Fri, Apr 2, 2021 at 8:47 PM Josh Juneau  wrote:
>
> > Hi Geertjan/Neil,
> >
> > It looks like NETBEANS-5216 has passed the Travis checks.  If possible,
> it
> > would be great to have this as part of the 12.4 beta.
> >
> > Let me know if there is anything you need from me in order to move this
> > into the beta.  Thanks for all of your time.
> >
> > Josh Juneau
> > juneau...@gmail.com
> > http://jj-blogger.blogspot.com
> > https://www.apress.com/us/search?query=juneau
> > 
> >
> >
> >
> > On Fri, Apr 2, 2021 at 9:24 AM Josh Juneau  wrote:
> >
> > > Thanks Geertjan!  I am working on trying to get the following PR to
> pass
> > > all Travis tests:
> > >
> > > [NETBEANS-5216] Jakarta EE 9 Project Support
> > > 
> > >
> > >
> > > Josh Juneau
> > > juneau...@gmail.com
> > > http://jj-blogger.blogspot.com
> > > https://www.apress.com/us/search?query=juneau
> > > 
> > >
> > >
> > >
> > > On Fri, Apr 2, 2021 at 8:46 AM Geertjan Wielenga
> > >  wrote:
> > >
> > >> Just to say I’ll be branching around 21:00 CET to give maximum time
> for
> > >> everyone needing to merge to complete their merging for Beta.
> > >>
> > >> Gj
> > >>
> > >> On Thu, 1 Apr 2021 at 20:28, Jakub Herkel  wrote:
> > >>
> > >> > Maybe these two PR could be included (but they need final review &
> > >> > approval):
> > >> >
> > >> > https://github.com/apache/netbeans/pull/2544
> > >> > https://github.com/apache/netbeans/pull/2612
> > >> >
> > >> > best regards
> > >> >
> > >> > Jakub
> > >> >
> > >> > On Thu, Apr 1, 2021 at 1:12 PM Tomáš Procházka 
> > wrote:
> > >> > >
> > >> > > Would it be possible to review
> > >> > https://github.com/apache/netbeans/pull/2772 which makes PHP
> > Annotation
> > >> > API public?
> > >> > > It will allow to implement support for more annotations than only
> > >> those
> > >> > in listed friend modules.
> > >> > >
> > >> > > Regards,
> > >> > > Tom
> > >> > >
> > >> > >
> > >> > > On 01. 04. 21 11:45, Geertjan Wielenga wrote:
> > >> > > > Hi all,
> > >> > > >
> > >> > > > Your brave release managers (the undersigned and Neil C. Smith),
> > >> will
> > >> > > > according to our schedule tomorrow put together a Beta release
> for
> > >> > 12.4,
> > >> > > > including a vote thread once the sources and convenience
> binaries
> > >> are
> > >> > > > available.
> > >> > > >
> > >> > > > That means that, please:
> > >> > > >
> > >> > > > 1. This is a last call for PRs to be included in Beta.
> > >> > > >
> > >> > > > 2. Tomorrow we'll stop merging while release124 branch is
> created.
> > >> > > >
> > >> > > > 3. The current delivery branch will be deleted and a new one
> will
> > be
> > >> > > > created on feature freeze.
> > >> > > >
> > >> > > > Feel free to respond with any concerns or questions or any PRs
> > that
> > >> > are not
> > >> > > > merged yet that need to not be forgotten about.
> > >> > > >
> > >> > > > Thanks,
> > >> > > >
> > >> > > > Gj
> > >> > > >
> > >> > >
> > >> > >
> > >> > >
> > -
> > >> > > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> > >> > > For additional commands, e-mail: dev-h...@netbeans.apache.org
> > >> > >
> > >> > > For further information about the NetBeans mailing lists, visit:
> > >> > >
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >> >
> -
> > >> > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> > >> > For additional commands, e-mail: dev-h...@netbeans.apache.org
> > >> >
> > >> > For further information about the NetBeans mailing lists, visit:
> > >> > https://cwiki.apache.org/confluence/d

Re: 12.4 Beta 1 is available

2021-04-02 Thread Geertjan Wielenga
Yes, in this case, to support VSNetBeans which needs a public beta so that
it can do its own release without needing to wait for our final release.

Gj

On Sat, 3 Apr 2021 at 00:31, Laszlo Kishalmi 
wrote:

> As of a vote threas, are we aiming for public beta then?
>
> On 4/2/21 2:59 PM, Geertjan Wielenga wrote:
> > Hi all,
> >
> >
> https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release124/2/artifact/dist/netbeans/
> >
> > Please give it a try.
> >
> > Meanwhile, we will do the signing and set up a vote thread.
> >
> > However, anyone wanting to give the binary a try in the meantime is
> welcome
> > to do so and it would help if a few people would already take a look to
> see
> > if anything suspicious shows up.
> >
> > This is not a vote thread. Do not reply with a vote. Instead, go to the
> > above location and get the binary and try it out to see if the features
> you
> > expect to be there work, if the IDE as a whole works, etc.
> >
> > Thanks,
> >
> > Gj
> >
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: [NOTICE] Last PRs for Apache NetBeans 12.4 Beta

2021-04-02 Thread Geertjan Wielenga
So only GlassFish 6 supports Jakarta EE 9? And when GlassFish 6 is
registered, it can be selected to deploy a Jakarta EE 9 application?

Gj

On Sat, 3 Apr 2021 at 02:39, Josh Juneau  wrote:

> Hi Geertjan,
>
> Thanks for getting the PR into the release.  I will write a blog post about
> the Jakarta EE 9 support.  In a nutshell, this release includes the
> creation of Jakarta EE 9 projects.  I am looking into developing a javax.*
> to jakarta.* conversion utility, but that is not included in this release.
>
> This release also enables one to download GlassFish 6 when adding a new
> server.
>
> To create a new Jakarta EE 9 project, do the following:
>
> 1)  Click "New Project" -> "Java with Maven" -> "Web Application"
> 2) When prompted for Java EE version, choose "Jakarta EE 9 Web"
>
> ** I will change the "Java EE Version" label in a future update!
>
> Thanks for all of your work!
>
> Josh Juneau
> juneau...@gmail.com
> http://jj-blogger.blogspot.com
> https://www.apress.com/us/search?query=juneau
> 
>
>
>
> On Fri, Apr 2, 2021 at 5:21 PM Geertjan Wielenga
>  wrote:
>
> > Hi Josh,
> >
> > It's in, and now that we have Beta 1, can you please try and provide
> > instructions here or somewhere about how to use the Java EE 9 support?
> >
> > Thanks for your great work,
> >
> > Gj
> >
> > On Fri, Apr 2, 2021 at 8:47 PM Josh Juneau  wrote:
> >
> > > Hi Geertjan/Neil,
> > >
> > > It looks like NETBEANS-5216 has passed the Travis checks.  If possible,
> > it
> > > would be great to have this as part of the 12.4 beta.
> > >
> > > Let me know if there is anything you need from me in order to move this
> > > into the beta.  Thanks for all of your time.
> > >
> > > Josh Juneau
> > > juneau...@gmail.com
> > > http://jj-blogger.blogspot.com
> > > https://www.apress.com/us/search?query=juneau
> > > 
> > >
> > >
> > >
> > > On Fri, Apr 2, 2021 at 9:24 AM Josh Juneau 
> wrote:
> > >
> > > > Thanks Geertjan!  I am working on trying to get the following PR to
> > pass
> > > > all Travis tests:
> > > >
> > > > [NETBEANS-5216] Jakarta EE 9 Project Support
> > > > 
> > > >
> > > >
> > > > Josh Juneau
> > > > juneau...@gmail.com
> > > > http://jj-blogger.blogspot.com
> > > > https://www.apress.com/us/search?query=juneau
> > > > 
> > > >
> > > >
> > > >
> > > > On Fri, Apr 2, 2021 at 8:46 AM Geertjan Wielenga
> > > >  wrote:
> > > >
> > > >> Just to say I’ll be branching around 21:00 CET to give maximum time
> > for
> > > >> everyone needing to merge to complete their merging for Beta.
> > > >>
> > > >> Gj
> > > >>
> > > >> On Thu, 1 Apr 2021 at 20:28, Jakub Herkel 
> wrote:
> > > >>
> > > >> > Maybe these two PR could be included (but they need final review &
> > > >> > approval):
> > > >> >
> > > >> > https://github.com/apache/netbeans/pull/2544
> > > >> > https://github.com/apache/netbeans/pull/2612
> > > >> >
> > > >> > best regards
> > > >> >
> > > >> > Jakub
> > > >> >
> > > >> > On Thu, Apr 1, 2021 at 1:12 PM Tomáš Procházka 
> > > wrote:
> > > >> > >
> > > >> > > Would it be possible to review
> > > >> > https://github.com/apache/netbeans/pull/2772 which makes PHP
> > > Annotation
> > > >> > API public?
> > > >> > > It will allow to implement support for more annotations than
> only
> > > >> those
> > > >> > in listed friend modules.
> > > >> > >
> > > >> > > Regards,
> > > >> > > Tom
> > > >> > >
> > > >> > >
> > > >> > > On 01. 04. 21 11:45, Geertjan Wielenga wrote:
> > > >> > > > Hi all,
> > > >> > > >
> > > >> > > > Your brave release managers (the undersigned and Neil C.
> Smith),
> > > >> will
> > > >> > > > according to our schedule tomorrow put together a Beta release
> > for
> > > >> > 12.4,
> > > >> > > > including a vote thread once the sources and convenience
> > binaries
> > > >> are
> > > >> > > > available.
> > > >> > > >
> > > >> > > > That means that, please:
> > > >> > > >
> > > >> > > > 1. This is a last call for PRs to be included in Beta.
> > > >> > > >
> > > >> > > > 2. Tomorrow we'll stop merging while release124 branch is
> > created.
> > > >> > > >
> > > >> > > > 3. The current delivery branch will be deleted and a new one
> > will
> > > be
> > > >> > > > created on feature freeze.
> > > >> > > >
> > > >> > > > Feel free to respond with any concerns or questions or any PRs
> > > that
> > > >> > are not
> > > >> > > > merged yet that need to not be forgotten about.
> > > >> > > >
> > > >> > > > Thanks,
> > > >> > > >
> > > >> > > > Gj
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> > >
> > > -
> > > >> > > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> > > >> > > For additional commands, e-mail: dev-h...@netbeans.apache.org
> > > >> > >
> > > >> > > For further information about the NetBean