Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML Editor Extension Module Tutorial erratum #4492

Open
brutzman opened this issue Aug 9, 2022 · 5 comments
Open

XML Editor Extension Module Tutorial erratum #4492

brutzman opened this issue Aug 9, 2022 · 5 comments
Labels
kind:bug Bug report or fix needs:triage Requires attention from one of the committers website

Comments

@brutzman
Copy link

brutzman commented Aug 9, 2022

Apache NetBeans version

Apache NetBeans 14

What happened

Problem in HTML, specified choice not available

NetBeans XML Editor Extension Module Tutorial

https://netbeans.apache.org/tutorials/nbm-xmleditor.html

Specifying the Module’s Dependencies
You will need to subclass several classes that belong to the NetBeans APIs. Each is declared as a module dependency.

In the Projects window, right-click the Libraries node and choose Add Module Dependency:

Search for each of the following APIs in the Add Module Dependency dialog, select the API, and then click OK to confirm it:

I/O APIs

Two different choices are provided,

  • I/O APIs - Swing
  • I/O API and SPI

The first one worked, I/O APIs - Swing

How to reproduce

Inspect tutorial page, perform steps described there

Did this work correctly in an earlier version?

No / Don't know

Operating System

Windows 10

JDK

OpenJDK 18.0.2

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

Code of Conduct

Yes

@brutzman brutzman added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Aug 9, 2022
@mbien
Copy link
Member

mbien commented Aug 10, 2022

Hi @brutzman,

the tutorial page is already marked with "needs review" (although the link to jira is a bit outdated). Filing another issue is redundant. You can simply click "edit on github" and propose an updated version right away if you want to help. Assuming everything worked on NetBeans 14 with the updates you made, we could then also remove all the warning banners on that page.

@ebresie
Copy link
Contributor

ebresie commented Aug 13, 2022

Have the Categories changes over time?

I see:
"1. Choose File > New Project (Ctrl+Shift+N). Under Categories, select NetBeans Modules. Under Projects, select Module. Click Next."

For NB 14, should this be something like:
"1. Choose File > New Project (Ctrl+Shift+N). Under Categories, select NetBeans Modules. Under Java with Maven Projects, select Module. Click Next."

@ebresie
Copy link
Contributor

ebresie commented Aug 13, 2022

Following the "Next" at the end of "2." there is no "Basic Module Configuration panel as mentioned in step 3 which indicates.

"3. In the Basic Module Configuration panel, type org.netbeans.modules.showxmlstructure in Code Name Base. Click Finish."

There does not appear to be a "Basic Module Configuration panel" following step 2 however on the same panel where the Project Name and Location (on step 2), there is a number of items like the "Package" which maybe is what's being asked here. This also provide "artifact id, group ID, version, and package". This may be a side effect of this being a "Java with Maven" project.

Currently the next following step 2 takes the user to a "Module Options" panel which only allows "NetBeansVersion" to be specified.
WHen doing "Next"

Should "step 2 and 3 be adjusted with the "package" added to step 2 and a more representative details added for step 3?

@ebresie
Copy link
Contributor

ebresie commented Aug 14, 2022

Silly question, if you "edit on github" does this change the files used to eventually generate the "asf-site" branch targeted at the actual website?

@ebresie
Copy link
Contributor

ebresie commented Aug 14, 2022

@mbien Is there a "label" for "Website" or "Docs" that can be appended to these types of issue?

@mbien mbien added the website label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Bug report or fix needs:triage Requires attention from one of the committers website
Projects
None yet
Development

No branches or pull requests

3 participants