You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "juanotto (via GitHub)" <gi...@apache.org> on 2025/10/13 04:22:36 UTC
[PR] Update maven selection tutorial [netbeans-antora-tutorials]
juanotto opened a new pull request, #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22
Draft while I try to get some space after the images... when through asciidoctor and antora docs, tried `+`, `{blank}`, `{empty}`, blank lines, lines with spaces...
New versions of the images on the tutorial are added, using the same naming pattern most images follow: `_270_` to indicate RELEASE270 was used.
I added 1 new image because the handling of adding new modules is different than in the "Module Suites" era in which the original was written.
Some wording replaced (e.g. Module Suite with Application).
Some images are slightly blurry, better than the previous ones but still... I will try and fix that to actually try to merge this with the 2 parts selection tutorial [part1](https://netbeans.apache.org/tutorial/main/tutorials/nbm-selection-1/) & [part2](https://netbeans.apache.org/tutorial/main/tutorials/nbm-selection-2/). In the future :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on code in PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#discussion_r2430421036
##########
modules/ROOT/pages/tutorials/nbm-maven-modulesuite.adoc:
##########
@@ -34,12 +34,9 @@ ifdef::env-github[]
:imagesdir: ../../images
endif::[]
-This document demonstrates how to create a NetBeans Platform Module Suite from Maven archetypes and build and install the suite in your installation of the IDE. In this tutorial you will create a Maven module suite project that contains three NetBeans modules as sub-projects. The Maven project that contains the sub-projects is a simple POM project that declares how the suite is compiled and the installation target.
-
-This document is based on the Ant-based xref:tutorials/nbm-selection-1.adoc[NetBeans Selection Management Tutorial] and illustrates some of the differences between using Ant and Maven to develop NetBeans Platform module suites. After you understand some of the differences, you can easily proceed through other tutorials on the the xref:kb/docs/platform.adoc[NetBeans Platform Learning Trail].
-
-
+This document demonstrates how to create a NetBeans Platform project from Maven archetypes and build and install the project in your installation of the IDE. In this tutorial you will create a Maven project that contains three NetBeans modules as sub-projects. The Maven project that contains the sub-projects is a simple POM project that declares how the suite is compiled and the installation target.
+This document is based on the Ant-based xref:tutorials/nbm-selection-1.adoc[NetBeans Selection Management Tutorial] and illustrates some of the differences between using Ant and Maven to develop NetBeans Platform application. After you understand some of the differences, you can easily proceed through other tutorials on the the xref:kb/docs/platform.adoc[NetBeans Platform Learning Trail].
Review Comment:
IMO: we can handle it like in the main repo. If a change to a section is large enough, feel free to reformat the section. If its a small change, don't reformat.
I think we should use the opportunity to reformat things here and there while updating the doc, so that a potential global-reformat pass becomes less destructive in future.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on code in PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#discussion_r2464937917
##########
modules/ROOT/pages/tutorials/nbm-maven-modulesuite.adoc:
##########
@@ -34,12 +34,9 @@ ifdef::env-github[]
:imagesdir: ../../images
endif::[]
-This document demonstrates how to create a NetBeans Platform Module Suite from Maven archetypes and build and install the suite in your installation of the IDE. In this tutorial you will create a Maven module suite project that contains three NetBeans modules as sub-projects. The Maven project that contains the sub-projects is a simple POM project that declares how the suite is compiled and the installation target.
-
-This document is based on the Ant-based xref:tutorials/nbm-selection-1.adoc[NetBeans Selection Management Tutorial] and illustrates some of the differences between using Ant and Maven to develop NetBeans Platform module suites. After you understand some of the differences, you can easily proceed through other tutorials on the the xref:kb/docs/platform.adoc[NetBeans Platform Learning Trail].
-
-
+This document demonstrates how to create a NetBeans Platform project from Maven archetypes and build and install the project in your installation of the IDE. In this tutorial you will create a Maven project that contains three NetBeans modules as sub-projects. The Maven project that contains the sub-projects is a simple POM project that declares how the suite is compiled and the installation target.
+This document is based on the Ant-based xref:tutorials/nbm-selection-1.adoc[NetBeans Selection Management Tutorial] and illustrates some of the differences between using Ant and Maven to develop NetBeans Platform application. After you understand some of the differences, you can easily proceed through other tutorials on the the xref:kb/docs/platform.adoc[NetBeans Platform Learning Trail].
Review Comment:
awesome, thanks! This will make followup edits easier to review on github.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#issuecomment-3446554261
> New versions of the images on the tutorial are added, using the same naming pattern most images follow: _270_ to indicate RELEASE270 was used.
probably a good choice to add a 0, otherwise it would collide with the other numbers at some point.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "juanotto (via GitHub)" <gi...@apache.org>.
juanotto commented on PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#issuecomment-3450403357
> > That's a bit of a stretch buuuut it doesn't hurt, done
>
> I am sorry but you misunderstood. You already had the 0 in "270". I only meant to say that I think its ok to use the maven versioning scheme here too, given that we have ancient files in the same folder using "73".
>
> So I think "27" would be fine (possibly better) but "270" is good too since we probably could get rid of the old screenshots at some point.
>
> Super sorry to cause confusion.
Now that makes sense! lol no problem, quick fix done. I also checked and all images except one could be safely deleted :) I just pushed those changes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "ebarboni (via GitHub)" <gi...@apache.org>.
ebarboni commented on code in PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#discussion_r2428167940
##########
modules/ROOT/pages/tutorials/nbm-maven-modulesuite.adoc:
##########
@@ -34,12 +34,9 @@ ifdef::env-github[]
:imagesdir: ../../images
endif::[]
-This document demonstrates how to create a NetBeans Platform Module Suite from Maven archetypes and build and install the suite in your installation of the IDE. In this tutorial you will create a Maven module suite project that contains three NetBeans modules as sub-projects. The Maven project that contains the sub-projects is a simple POM project that declares how the suite is compiled and the installation target.
-
-This document is based on the Ant-based xref:tutorials/nbm-selection-1.adoc[NetBeans Selection Management Tutorial] and illustrates some of the differences between using Ant and Maven to develop NetBeans Platform module suites. After you understand some of the differences, you can easily proceed through other tutorials on the the xref:kb/docs/platform.adoc[NetBeans Platform Learning Trail].
-
-
+This document demonstrates how to create a NetBeans Platform project from Maven archetypes and build and install the project in your installation of the IDE. In this tutorial you will create a Maven project that contains three NetBeans modules as sub-projects. The Maven project that contains the sub-projects is a simple POM project that declares how the suite is compiled and the installation target.
+This document is based on the Ant-based xref:tutorials/nbm-selection-1.adoc[NetBeans Selection Management Tutorial] and illustrates some of the differences between using Ant and Maven to develop NetBeans Platform application. After you understand some of the differences, you can easily proceed through other tutorials on the the xref:kb/docs/platform.adoc[NetBeans Platform Learning Trail].
Review Comment:
@mbien you can break the line, should not start with space. Good to have one line per sentence but some sentence are too long and can be break.
Could be a think to refactor in more "no brain PR"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "juanotto (via GitHub)" <gi...@apache.org>.
juanotto commented on PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#issuecomment-3399579234
I fixed the format a bit, mostly `+` to keep elements visually tab'ed, by being inside of `<li>`s.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "juanotto (via GitHub)" <gi...@apache.org>.
juanotto commented on PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#issuecomment-3450124579
> > New versions of the images on the tutorial are added, using the same naming pattern most images follow: _270_ to indicate RELEASE270 was used.
>
> probably a good choice to add a 0, otherwise it would collide with the other numbers at some point.
That's a bit of a stretch buuuut it doesn't hurt, done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "BradWalker (via GitHub)" <gi...@apache.org>.
BradWalker commented on PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#issuecomment-3451251044
@juanotto , thanks for doing this..
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "juanotto (via GitHub)" <gi...@apache.org>.
juanotto commented on code in PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#discussion_r2464909160
##########
modules/ROOT/pages/tutorials/nbm-maven-modulesuite.adoc:
##########
@@ -150,28 +135,23 @@ In this tutorial you will create additional modules that will need to access the
[start=1]
1. Right-click the MyAPI project node and choose Properties to open the Properties window.
-[start=2]
-1.
-Select the *com.mycompany.mavenselectionsuite* package in the *Public Packages* category:
-
-
-image::tutorials/maven-suite_72_pic5.png[title="screenshot"]
-
-Click OK.
+[start=2]
+1. Select the *com.mycompany.mavenselectionsuite* package in the *Public Packages* category:
++
+image::tutorials/maven-suite_270_pic5.png[title="screenshot"]
++
When you select a package to export, the IDE modifies the ``nbm-maven-plugin`` element in the *MyAPI* module's POM to specify the package:
-
-
++
[source,xml]
----
-
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nbm-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<publicPackages>
- *<publicPackage>com.mycompany.mavenselectionsuite</publicPackage>*
Review Comment:
@ebarboni I still think is better to clean this up than keep it for a future fix. The `*` confused me while reading, and it can confuse maintainers if they are kept but have no visual effect at all.
I tried a few options to no effect, and the examples I found currently in the website are not formatting inside the code blocks. But you've been around these docs for a while, I'll put it back if you really think that's best.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#issuecomment-3452906221
is now live at https://netbeans.apache.org/tutorial/main/tutorials/nbm-maven-modulesuite/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#issuecomment-3450293585
> That's a bit of a stretch buuuut it doesn't hurt, done
I am sorry but you misunderstood. You already had the 0 in "270". I only meant to say that I think its ok to use the maven versioning scheme here too, given that we have ancient files in the same folder using "73".
So I think "27" would be fine (possibly better) but "270" is good too since we probably could get rid of the old screenshots at some point.
Super sorry to cause confusion.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "juanotto (via GitHub)" <gi...@apache.org>.
juanotto commented on PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#issuecomment-3399139950
Thanks for the info! I did some more experimenting and it doesn't seem straightforward :/
The `+` between list element and the next element keeps the next element inside the `<li>` but it does not control vertical space in any way. As long as lines are separated by `+` everything is inside the list element, an empty line drops out of the `<li>`.
Just to experiment, and make the gods of old hacks happy... I tried `{nbsp}`! A single `<p>` can be added this way. I will not put that on a PR though.
I had a look at other pages, I think this needs to be solved for the whole site actually. E.g. form java profiling:
<img width="900" height="316" alt="image" src="https://github.com/user-attachments/assets/1713788a-881a-451c-aab6-55bb2f16146b" />
I will try to check that at some point but I know I don't have to fix that spacing here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "ebarboni (via GitHub)" <gi...@apache.org>.
ebarboni commented on code in PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#discussion_r2431578587
##########
modules/ROOT/pages/tutorials/nbm-maven-modulesuite.adoc:
##########
@@ -150,28 +135,23 @@ In this tutorial you will create additional modules that will need to access the
[start=1]
1. Right-click the MyAPI project node and choose Properties to open the Properties window.
-[start=2]
-1.
-Select the *com.mycompany.mavenselectionsuite* package in the *Public Packages* category:
-
-
-image::tutorials/maven-suite_72_pic5.png[title="screenshot"]
-
-Click OK.
+[start=2]
+1. Select the *com.mycompany.mavenselectionsuite* package in the *Public Packages* category:
++
+image::tutorials/maven-suite_270_pic5.png[title="screenshot"]
++
When you select a package to export, the IDE modifies the ``nbm-maven-plugin`` element in the *MyAPI* module's POM to specify the package:
-
-
++
[source,xml]
----
-
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nbm-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<publicPackages>
- *<publicPackage>com.mycompany.mavenselectionsuite</publicPackage>*
Review Comment:
if may work again, it was more to show the changes on each step in some tutorial but no visual diff yet
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "juanotto (via GitHub)" <gi...@apache.org>.
juanotto commented on code in PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#discussion_r2430302798
##########
modules/ROOT/pages/tutorials/nbm-maven-modulesuite.adoc:
##########
@@ -34,12 +34,9 @@ ifdef::env-github[]
:imagesdir: ../../images
endif::[]
-This document demonstrates how to create a NetBeans Platform Module Suite from Maven archetypes and build and install the suite in your installation of the IDE. In this tutorial you will create a Maven module suite project that contains three NetBeans modules as sub-projects. The Maven project that contains the sub-projects is a simple POM project that declares how the suite is compiled and the installation target.
-
-This document is based on the Ant-based xref:tutorials/nbm-selection-1.adoc[NetBeans Selection Management Tutorial] and illustrates some of the differences between using Ant and Maven to develop NetBeans Platform module suites. After you understand some of the differences, you can easily proceed through other tutorials on the the xref:kb/docs/platform.adoc[NetBeans Platform Learning Trail].
-
-
+This document demonstrates how to create a NetBeans Platform project from Maven archetypes and build and install the project in your installation of the IDE. In this tutorial you will create a Maven project that contains three NetBeans modules as sub-projects. The Maven project that contains the sub-projects is a simple POM project that declares how the suite is compiled and the installation target.
+This document is based on the Ant-based xref:tutorials/nbm-selection-1.adoc[NetBeans Selection Management Tutorial] and illustrates some of the differences between using Ant and Maven to develop NetBeans Platform application. After you understand some of the differences, you can easily proceed through other tutorials on the the xref:kb/docs/platform.adoc[NetBeans Platform Learning Trail].
Review Comment:
The diff is not being nice there at all. Shorter lines would work better for sure.
Anything to be done in this PR? Probably better handled as its own change
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on code in PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#discussion_r2427685521
##########
modules/ROOT/pages/tutorials/nbm-maven-modulesuite.adoc:
##########
@@ -34,12 +34,9 @@ ifdef::env-github[]
:imagesdir: ../../images
endif::[]
-This document demonstrates how to create a NetBeans Platform Module Suite from Maven archetypes and build and install the suite in your installation of the IDE. In this tutorial you will create a Maven module suite project that contains three NetBeans modules as sub-projects. The Maven project that contains the sub-projects is a simple POM project that declares how the suite is compiled and the installation target.
-
-This document is based on the Ant-based xref:tutorials/nbm-selection-1.adoc[NetBeans Selection Management Tutorial] and illustrates some of the differences between using Ant and Maven to develop NetBeans Platform module suites. After you understand some of the differences, you can easily proceed through other tutorials on the the xref:kb/docs/platform.adoc[NetBeans Platform Learning Trail].
-
-
+This document demonstrates how to create a NetBeans Platform project from Maven archetypes and build and install the project in your installation of the IDE. In this tutorial you will create a Maven project that contains three NetBeans modules as sub-projects. The Maven project that contains the sub-projects is a simple POM project that declares how the suite is compiled and the installation target.
+This document is based on the Ant-based xref:tutorials/nbm-selection-1.adoc[NetBeans Selection Management Tutorial] and illustrates some of the differences between using Ant and Maven to develop NetBeans Platform application. After you understand some of the differences, you can easily proceed through other tutorials on the the xref:kb/docs/platform.adoc[NetBeans Platform Learning Trail].
Review Comment:
@ebarboni is this a requirement from antora to write paragraphs into single lines?
this is a the worst case scenario for diffs :(
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien merged PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#issuecomment-3451039521
@juanotto if you are happy with this PR, you could add the [`:page-reviewed:`](https://github.com/search?q=repo%3Aapache%2Fnetbeans-antora-tutorials%20reviewed&type=code) tag and then squash everything into a single commit.
once done we can merge this update
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "juanotto (via GitHub)" <gi...@apache.org>.
juanotto commented on code in PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#discussion_r2464821399
##########
modules/ROOT/pages/tutorials/nbm-maven-modulesuite.adoc:
##########
@@ -34,12 +34,9 @@ ifdef::env-github[]
:imagesdir: ../../images
endif::[]
-This document demonstrates how to create a NetBeans Platform Module Suite from Maven archetypes and build and install the suite in your installation of the IDE. In this tutorial you will create a Maven module suite project that contains three NetBeans modules as sub-projects. The Maven project that contains the sub-projects is a simple POM project that declares how the suite is compiled and the installation target.
-
-This document is based on the Ant-based xref:tutorials/nbm-selection-1.adoc[NetBeans Selection Management Tutorial] and illustrates some of the differences between using Ant and Maven to develop NetBeans Platform module suites. After you understand some of the differences, you can easily proceed through other tutorials on the the xref:kb/docs/platform.adoc[NetBeans Platform Learning Trail].
-
-
+This document demonstrates how to create a NetBeans Platform project from Maven archetypes and build and install the project in your installation of the IDE. In this tutorial you will create a Maven project that contains three NetBeans modules as sub-projects. The Maven project that contains the sub-projects is a simple POM project that declares how the suite is compiled and the installation target.
+This document is based on the Ant-based xref:tutorials/nbm-selection-1.adoc[NetBeans Selection Management Tutorial] and illustrates some of the differences between using Ant and Maven to develop NetBeans Platform application. After you understand some of the differences, you can easily proceed through other tutorials on the the xref:kb/docs/platform.adoc[NetBeans Platform Learning Trail].
Review Comment:
Straightforward to apply, I modified the <p> lines to 120 characters. Github's `hide whitespaces` is not that smart to show this nicely. But I didn't change any text contents in the last commit
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on code in PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#discussion_r2465115370
##########
modules/ROOT/pages/tutorials/nbm-maven-modulesuite.adoc:
##########
@@ -137,217 +134,189 @@ public final class Event {
public String toString() {
return index + " - " + date;
}
-
}
----
=== Exposing the Package
-In this tutorial you will create additional modules that will need to access the ``Event`` class. In this exercise, you will make the contents of the package that contains the ``Event`` class public so that other modules can access it. To declare the ``com.mycompany.mavenselectionsuite`` package as public, you will modify the ``configuration`` element of ``nbm-maven-plugin`` in the POM to specify the packages that are exported as public. You can make the changes to the POM in the editor or by selecting the packages to make public in the project's Properties window.
+In this tutorial you will create additional modules that will need to access the ``Event`` class. In this exercise,
Review Comment:
line 141
`=== Exposing the Package`
->
`=== Exporting the Package`
would make it easier to find with search engines
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "juanotto (via GitHub)" <gi...@apache.org>.
juanotto commented on code in PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#discussion_r2430289219
##########
modules/ROOT/pages/tutorials/nbm-maven-modulesuite.adoc:
##########
@@ -150,28 +135,23 @@ In this tutorial you will create additional modules that will need to access the
[start=1]
1. Right-click the MyAPI project node and choose Properties to open the Properties window.
-[start=2]
-1.
-Select the *com.mycompany.mavenselectionsuite* package in the *Public Packages* category:
-
-
-image::tutorials/maven-suite_72_pic5.png[title="screenshot"]
-
-Click OK.
+[start=2]
+1. Select the *com.mycompany.mavenselectionsuite* package in the *Public Packages* category:
++
+image::tutorials/maven-suite_270_pic5.png[title="screenshot"]
++
When you select a package to export, the IDE modifies the ``nbm-maven-plugin`` element in the *MyAPI* module's POM to specify the package:
-
-
++
[source,xml]
----
-
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nbm-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<publicPackages>
- *<publicPackage>com.mycompany.mavenselectionsuite</publicPackage>*
Review Comment:
There's no visual difference, right? I checked some current examples (e.g. [annotations-lombok](https://github.com/apache/netbeans-antora-tutorials/blob/main/modules/ROOT/pages/kb/docs/java/annotations-lombok.adoc?plain=1#L182)) and it's flat, no format.
I personally find it more confusing than informative. The way to know the `*` is not part of the code is outside of the block itself... But you've been doing this for longer, if you really want it in I'll add it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "ebarboni (via GitHub)" <gi...@apache.org>.
ebarboni commented on code in PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#discussion_r2428219513
##########
modules/ROOT/pages/tutorials/nbm-maven-modulesuite.adoc:
##########
@@ -150,28 +135,23 @@ In this tutorial you will create additional modules that will need to access the
[start=1]
1. Right-click the MyAPI project node and choose Properties to open the Properties window.
-[start=2]
-1.
-Select the *com.mycompany.mavenselectionsuite* package in the *Public Packages* category:
-
-
-image::tutorials/maven-suite_72_pic5.png[title="screenshot"]
-
-Click OK.
+[start=2]
+1. Select the *com.mycompany.mavenselectionsuite* package in the *Public Packages* category:
++
+image::tutorials/maven-suite_270_pic5.png[title="screenshot"]
++
When you select a package to export, the IDE modifies the ``nbm-maven-plugin`` element in the *MyAPI* module's POM to specify the package:
-
-
++
[source,xml]
----
-
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nbm-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<publicPackages>
- *<publicPackage>com.mycompany.mavenselectionsuite</publicPackage>*
Review Comment:
you can keep the "formatting" if you want and use [source,(xml|java),subs="{sourcesubs}"]
you may include that in at the end of the header
include::front::partial$database.adoc[]
It may not show different yet but if it has semantics can be helpfull to keep.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "ebarboni (via GitHub)" <gi...@apache.org>.
ebarboni commented on PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#issuecomment-3396565889
Hi, thanks for your effort
I do some polish in the wiki, to deal with space and numbered list you should prefers + and not using [start] the numbers should be good by the wiki processor not by you/me hacking.
Extract of a working part of another wiki page
https://github.com/apache/netbeans-antora-tutorials/blob/1b49d5fc1a312accf8f73168d8920929baf9d777/modules/ROOT/pages/kb/docs/java/annotations-custom.adoc?plain=1#L324-L355
If you prefer more gap for image, it would be more css related, and should be looked for all tutorials
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "ebarboni (via GitHub)" <gi...@apache.org>.
ebarboni commented on code in PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#discussion_r2464952623
##########
modules/ROOT/pages/tutorials/nbm-maven-modulesuite.adoc:
##########
@@ -150,28 +135,23 @@ In this tutorial you will create additional modules that will need to access the
[start=1]
1. Right-click the MyAPI project node and choose Properties to open the Properties window.
-[start=2]
-1.
-Select the *com.mycompany.mavenselectionsuite* package in the *Public Packages* category:
-
-
-image::tutorials/maven-suite_72_pic5.png[title="screenshot"]
-
-Click OK.
+[start=2]
+1. Select the *com.mycompany.mavenselectionsuite* package in the *Public Packages* category:
++
+image::tutorials/maven-suite_270_pic5.png[title="screenshot"]
++
When you select a package to export, the IDE modifies the ``nbm-maven-plugin`` element in the *MyAPI* module's POM to specify the package:
-
-
++
[source,xml]
----
-
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nbm-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<publicPackages>
- *<publicPackage>com.mycompany.mavenselectionsuite</publicPackage>*
Review Comment:
it's fine for me.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "juanotto (via GitHub)" <gi...@apache.org>.
juanotto closed pull request #22: Update maven selection tutorial
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Update maven selection tutorial [netbeans-antora-tutorials]
Posted by "juanotto (via GitHub)" <gi...@apache.org>.
juanotto commented on PR #22:
URL: https://github.com/apache/netbeans-antora-tutorials/pull/22#issuecomment-3452690981
@mbien done, with some hiccups but done... next one will be easier :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists