Re: Maven project with java modules

2019-10-07 Thread Richard Grin
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 
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=DwMGaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=mbDljLosYPdmZgPL2qzX-pjBv_4xnxXEWOeG1_Zdqm8=pK6ELwOrLMR4AxFD14DwA7i4OeWucaBW0RE049CFo-o=Js46YCUvoMuhlbAD5byH6NSsd4ONgiAiD55pheP_5iE=>.
 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 
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 
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=DwMGaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=mbDljLosYPdmZgPL2qzX-pjBv_4xnxXEWOeG1_Zdqm8=pK6ELwOrLMR4AxFD14DwA7i4OeWucaBW0RE049CFo-o=YtV7gE7CflfH_eBQG3I2kURiP-ubkwR6Wg-tqfgAUto=>

Gj


On Sun, 6 Oct 2019 at 12:03, Richard Grin 
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=DwMGaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=mbDljLosYPdmZgPL2qzX-pjBv_4xnxXEWOeG1_Zdqm8=pK6ELwOrLMR4AxFD14DwA7i4OeWucaBW0RE049CFo-o=0wLZ6xHrsCb1_J8WrSUPMAGuZM2l9Fw90jDA5eeCx1I=>



Re: Maven project with java modules

2019-10-07 Thread Geertjan Wielenga
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  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. 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  
>>> 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 
>>>>>  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
>>>>>> 
>>>>>> Gj
>>>>>> 
>>>>>> 
>>>>>>> On Sun, 6 Oct 2019 at 12:03, Richard Grin 
>>>>>>>  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
>>>>>>> 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
>>>>>>> 


Re: Maven project with java modules

2019-10-07 Thread Richard Grin
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. 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 
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 
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

Gj


On Sun, 6 Oct 2019 at 12:03, Richard Grin 
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



Re: Maven project with java modules

2019-10-06 Thread Geertjan Wielenga
Just start by looking at the example I pointed you to on GitHub.

Gj

On Sun, 6 Oct 2019 at 12:58, Richard Grin 
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 
> 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
>>
>> Gj
>>
>>
>> On Sun, 6 Oct 2019 at 12:03, Richard Grin 
>> 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
>>> 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
>>>
>>>


Re: Maven project with java modules

2019-10-06 Thread Richard Grin
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 
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

Gj


On Sun, 6 Oct 2019 at 12:03, Richard Grin 
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



Re: Maven project with java modules

2019-10-06 Thread Richard Grin
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

Gj


On Sun, 6 Oct 2019 at 12:03, Richard Grin 
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



Re: Maven project with java modules

2019-10-06 Thread Geertjan Wielenga
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 
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
>
> Gj
>
>
> On Sun, 6 Oct 2019 at 12:03, Richard Grin 
> 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
>> 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
>>
>>


Re: Maven project with java modules

2019-10-06 Thread Geertjan Wielenga
https://github.com/GeertjanWielenga/JigsawJavaModularProjectSamples/tree/master/AnagramGameMaven

Gj


On Sun, 6 Oct 2019 at 12:03, Richard Grin 
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
> 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
>
>