Thanks Geertjan, all is clear for me now.

Richard

Le 07/10/2019 à 10:36, Geertjan Wielenga a écrit :
If you’re using Maven, the point for you is to understand how Maven works with 
Jigsaw — there’s hundreds of tips and insights you can find on google about 
this.

For the Java modular project, look in the “Java with Ant” category. To do 
something similar to that witb Maven, just create a Maven POM parent project 
and add the Jigsaw modules from my repo to it.

Gj

Sent from my iPhone

On 7 Oct 2019, at 10:29, Richard Grin 
<richard.g...@univ-cotedazur.fr<mailto:richard.g...@univ-cotedazur.fr>> wrote:


Hi Geertjan,

I have studied your example but it is a little too complex just to know how to 
create modules with NetBeans because I don't use services in my little project.

I have just seen one of your YouTube video 
https://www.youtube.com/watch?v=jSqqLHCP9ms<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.youtube.com_watch-3Fv-3DjSqqLHCP9ms&d=DwMGaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=mbDljLosYPdmZgPL2qzX-pjBv_4xnxXEWOeG1_Zdqm8&m=pK6ELwOrLMR4AxFD14DwA7i4OeWucaBW0RE049CFo-o&s=Js46YCUvoMuhlbAD5byH6NSsd4ONgiAiD55pheP_5iE&e=>.
 The first part demonstrates and explains clearly how to use modules with 
NetBeans like a simple Java project with a module-info.java. It's exactly what 
I was looking for.

Just a question: In this YouTube video, you explain another way to use modules 
with NetBeans  with a "Java modular project". I can't find it in the last 
versions of NetBeans. Was it removed? Why? Perhaps it would be easier to 
understand for a first use of the modules.

Regards,

Richard

Le 06/10/2019 à 13:02, Geertjan Wielenga a écrit :
Just start by looking at the example I pointed you to on GitHub.

Gj

On Sun, 6 Oct 2019 at 12:58, Richard Grin 
<richard.g...@univ-cotedazur.fr<mailto:richard.g...@univ-cotedazur.fr>> wrote:

So, there is no reasons to create several modules into a NetBeans project? If I 
have understood you correctly.

Le 06/10/2019 à 12:28, Geertjan Wielenga a écrit :
A Jigsaw module is simply a Java SE project with a module-info.java file. In 
other words, in NetBeans, the concept of a Jigsaw module is synonymous with the 
Java project type.

Gj

On Sun, 6 Oct 2019 at 12:24, Richard Grin 
<richard.g...@univ-cotedazur.fr<mailto:richard.g...@univ-cotedazur.fr>> wrote:

Thanks Geertjan for this example I will study.

No menu in NetBeans 11.1 (I forgot the version of NetBeans in my previous 
message) to create a new module? Do I have to create a new Folder and then to 
add a module-info.java jnside this new Folder?

Le 06/10/2019 à 12:16, Geertjan Wielenga a écrit :

https://github.com/GeertjanWielenga/JigsawJavaModularProjectSamples/tree/master/AnagramGameMaven<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_GeertjanWielenga_JigsawJavaModularProjectSamples_tree_master_AnagramGameMaven&d=DwMGaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=mbDljLosYPdmZgPL2qzX-pjBv_4xnxXEWOeG1_Zdqm8&m=pK6ELwOrLMR4AxFD14DwA7i4OeWucaBW0RE049CFo-o&s=YtV7gE7CflfH_eBQG3I2kURiP-ubkwR6Wg-tqfgAUto&e=>

Gj


On Sun, 6 Oct 2019 at 12:03, Richard Grin 
<richard.g...@univ-cotedazur.fr<mailto:richard.g...@univ-cotedazur.fr>> wrote:
Hi,

Where can I find a good example to create a Maven NetBeans project with
java modules (not NetBeans modules)?

I can't find a command "Create new module" in the New menu after
creating a simple Java project.

Regards,

Richard


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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists<https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_NETBEANS_Mailing-2Blists&d=DwMGaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=mbDljLosYPdmZgPL2qzX-pjBv_4xnxXEWOeG1_Zdqm8&m=pK6ELwOrLMR4AxFD14DwA7i4OeWucaBW0RE049CFo-o&s=0wLZ6xHrsCb1_J8WrSUPMAGuZM2l9Fw90jDA5eeCx1I&e=>

Reply via email to