[platform] Module load order maven application

2020-08-13 Thread Patrik Karlström
Lately I've been experiencing problematic behavior in a platform
application with close to 40 modules, NetBeans ones un-counted.

I believe that it's related to the fact that I did not declare
any OpenIDE-Module-Module-Dependencies in the manifests and that the module
load order changed somehow.

I do have a couple of platform books but I'm struggling with putting the
pieces together in order to secure my module dependencies.

This led to the following questions:

1. Is it just dumb luck that I got away with this for a couple of years,
just relying on maven dependencies?

2. Does the following list reflect the order for @OnStart and Installers to
be executed?
INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
org.openide.util.lookup [8.41.1
12.0-u1-efd543aaefdb0a9f8f0073896cb12c82fe4ef9c8]
org.openide.util [9.15.1 12.0-u1-efd543aaefdb0a9f8f0073896cb12c82fe4ef9c8]
org.openide.util.ui [9.16.1
12.0-u1-efd543aaefdb0a9f8f0073896cb12c82fe4ef9c8]
org.openide.modules [7.56 12.0-u1-efd543aaefdb0a9f8f0073896cb12c82fe4ef9c8]
org.netbeans.api.annotations.common/1 [1.35
12.0-u1-efd543aaefdb0a9f8f0073896cb12c82fe4ef9c8]
se.trixon.almond.almond.nbp.core [11.0.6 11.0.6-20200809 202008090637]
org.openide.filesystems [9.18
12.0-u1-efd543aaefdb0a9f8f0073896cb12c82fe4ef9c8]
...

3. Will the order of the module loading always be the same, given that the
module collection is unchanged?

4. Will OpenIDE-Module-Module-Dependencies declarations change the loading
order? (Counting on that actually :))

5. Is it a good idea to create a module A, that depends (manifest) on
module B, C & D, and let module E that depends on B,C,D depend on A instead?
There are a couple of E1, E2,E3 modules.

6. Should I combine OpenIDE-Module-Module-Dependencies with  in
nbm-maven-plugin?

7. How do they interact?

/Patrik


Re: remote Tomcat server deployment

2020-08-13 Thread Carl Mosca
Thank you both for the suggestions.  I will see how either might work for
our use case.

Regards,
Carl

On Thu, Aug 13, 2020 at 3:44 AM Andreas Ernst  wrote:

> Am 13.08.20 um 01:21 schrieb Carl Mosca:
> > I currently have a need to deploy a web application to a remote Tomcat
> > server.
> >
> > I believe there's an option to do so for Glassfish but I am wondering if
> > the same exists (or existed at some point) for Tomcat.
> If you work with Maven, take a look at cargo-maven2-plugin.
>
> --
> ae | Andreas Ernst | IT Spektrum
> Postfach 5, 65612 Beselich
> Schupbacher Str. 32, 65614 Beselich, Germany
> Tel: +49-6484-91002 Fax: +49-6484-91003
> a...@ae-online.de | www.ae-online.de
> www.tachyon-online.de
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

-- 
Carl J. Mosca


Maven generated POM for JavaFx

2020-08-13 Thread HRH
Hi,
I was looking through the POM that was generated for my JavaFX project and I 
noticed it has generated properties for the compiler as follow:
 
    UTF-8
    
    
    
    
It also has generated a plugin for the compiler:

    org.apache.maven.plugins
    maven-compiler-plugin
    3.8.0
    
    11
    

Do I need both of these compiler directives in the POM, wouldn't one suffice?
Thanks




Re: remote Tomcat server deployment

2020-08-13 Thread Andreas Ernst

Am 13.08.20 um 01:21 schrieb Carl Mosca:
I currently have a need to deploy a web application to a remote Tomcat 
server.


I believe there's an option to do so for Glassfish but I am wondering if 
the same exists (or existed at some point) for Tomcat.

If you work with Maven, take a look at cargo-maven2-plugin.

--
ae | Andreas Ernst | IT Spektrum
Postfach 5, 65612 Beselich
Schupbacher Str. 32, 65614 Beselich, Germany
Tel: +49-6484-91002 Fax: +49-6484-91003
a...@ae-online.de | www.ae-online.de
www.tachyon-online.de

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

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