[DISCUSS] Moving to NBPackage created installer for macOS from NB19?

2023-07-04 Thread Neil C Smith
Hi,

There are a bunch of issues that have been raised recently about our
ASF macOS packages, including -

https://github.com/apache/netbeans/issues/6052
https://github.com/apache/netbeans/issues/6104

Aside from the problems that at the moment only John can create and
sign the ASF installer (and I believe the machine he uses for this
might be on its last legs?!) we're seeing more and more issues with
how it's working with Apple's Gatekeeper.  Having the current build
files in the main repo occasionally causes issues, and I can't get
them to work on my own M1 mac correctly.

The installer has scripts that are writing into the signed .app folder
- a cache pre-fill which doesn't actually work, and just seems to be
writing an error file, and I presume the JDK location into
netbeans.conf?  That might be some of the issue, as it is passing
notarization.

I wrote macOS installer support for NBPackage a while back, which
automates everything including the Swift launcher build, and signs all
relevant binaries, including those in JARs.  We've been shipping
community installers with JDK for a while now.

I've built a test installer of NB18 without JDK (universal arch) that
is linked from 
https://github.com/apache/netbeans/issues/6052#issuecomment-1615801376
 It's signed by my Codelerity certificate for testing - if we switched
we'd obviously sign with ASF certificate.

I've also added a PR for NBPackage which adds support for building the
Swift launcher with multiple architectures -
https://github.com/apache/netbeans-nbpackage/pull/32

So, if we do continue to provide a macOS installer without JDK (given
macOS policies there are some good arguments for preferring a signed
bundle with runtime!), do we consider switching?

If we do switch, feedback and testing on the test installer and
NBPackage update would be appreciated.  I'd probably try and move
another release of NBPackage beforehand too.

Thoughts?

Bit of a long email, sorry, if you've read this far I owe you a beer
sometime! :-)

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: Managing archetype for javaEE in house

2023-07-04 Thread Josh Juneau
+1

Josh Juneau
juneau...@gmail.com
http://jj-blogger.blogspot.com
Apress Author 



On Tue, Jul 4, 2023 at 8:10 AM Eric Barboni  wrote:

> Hi,
>
> I've not tested the archetype but to me no problem to call a vote and
> release a version on central.
>
> Build is ok.
>
> Best Regards
> Eric
>
> -Message d'origine-
> De : Benjamin Asbach 
> Envoyé : lundi 3 juillet 2023 10:59
> À : dev@netbeans.apache.org
> Cc : Eric Barboni 
> Objet : Managing archetype for javaEE in house
>
> As still issues are popping up regarding the creation of Java/Jakarta EE
> projects I just wondering how we want to proceed with this:
>
> Should the archetypes be deployed to maven central or should them be
> packaged with NetBeans somehow?
>
> What needs to be done for each solution?
>
> Greetings
> Benjamin
>
> On 2023-05-22 17:29, Eric Barboni wrote:
> > This is to propose the creation of new repository to manage javaEE
> > archetype that we use in Apache NetBeans on Apache NetBeans
> > infrastructure.
> >
> > We already have some archetype for platform and app creation
> > https://github.com/apache/netbeans-mavenutils-archetype-netbeans-platf
> > orm-ap
> > p-archetype
> > https://github.com/apache/netbeans-mavenutils-archetype-nbm-archetype
> >
> > This one is no more used
> > https://github.com/apache/netbeans-mavenutils-archetype-nbm-suite-root
> >
> > Maybe we could merge all archetype into one repo.
> >
> > This thread will be active for 72h. Please do raise concern on -1
> >
> > Best Regards
> > Eric
> >
> >
> > -
> > 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: Managing archetype for javaEE in house

2023-07-04 Thread Eric Barboni
Hi,

I've not tested the archetype but to me no problem to call a vote and
release a version on central.

Build is ok.

Best Regards
Eric

-Message d'origine-
De : Benjamin Asbach  
Envoyé : lundi 3 juillet 2023 10:59
À : dev@netbeans.apache.org
Cc : Eric Barboni 
Objet : Managing archetype for javaEE in house

As still issues are popping up regarding the creation of Java/Jakarta EE
projects I just wondering how we want to proceed with this:

Should the archetypes be deployed to maven central or should them be
packaged with NetBeans somehow?

What needs to be done for each solution?

Greetings
Benjamin

On 2023-05-22 17:29, Eric Barboni wrote:
> This is to propose the creation of new repository to manage javaEE 
> archetype that we use in Apache NetBeans on Apache NetBeans 
> infrastructure.
> 
> We already have some archetype for platform and app creation 
> https://github.com/apache/netbeans-mavenutils-archetype-netbeans-platf
> orm-ap
> p-archetype
> https://github.com/apache/netbeans-mavenutils-archetype-nbm-archetype
> 
> This one is no more used
> https://github.com/apache/netbeans-mavenutils-archetype-nbm-suite-root
> 
> Maybe we could merge all archetype into one repo.
> 
> This thread will be active for 72h. Please do raise concern on -1
> 
> Best Regards
> Eric
> 
> 
> -
> 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