You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Ernie Rael (Jira)" <ji...@apache.org> on 2021/04/01 18:03:00 UTC

[jira] [Commented] (NETBEANS-3104) Extend ArchetypeWizards.definedArchetype to include optional nbactions

    [ https://issues.apache.org/jira/browse/NETBEANS-3104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17313351#comment-17313351 ] 

Ernie Rael commented on NETBEANS-3104:
--------------------------------------

_Remembering some history..._ Was planning to change the resolution to *Won't Fix*; but, while preparing the comment, that didn't feel like the right thing to do. All I can say is that _fixed_ is not accurate; perhaps some resolution other than "won't fix" is appropriate.

This issue is about how 3rd party maven projects can be integrated with NetBeans.  The idea with this issue is that to integrate a 3rd party maven based project type into NetBeans you probably need to provide nbactions.

NetBeans `New Project` for javafx used to create a project from an example maven artifact from openjfx/gluon. There were a variety of problems with this artifact. One of the problems was that there had to be an nbactions.xml to run/debug the example.

This issue is about providing an API so that NetBeans can provide an nbactions with an off the shelf 3rd party artifact.

The solution at the time was for a 4th party to modify the 3rd party openjfx example, *and* to include an *nbactions.xml* in the artifact. Including an nbactions in the artifact is not a general 3rd party solution. There were also a variety of changes made by the 4th party, so things would play better in NetBeans, or _any_ IDE, environment; PRs are pending at openjfx. This 4th party solution is taylored to NetBeans, avoiding 3rd party artifact issues. Note that if these PRs are eventually accepted by openjfx, there will still be a need to provide an nbactions.

There's https://github.com/apache/netbeans/pull/2036 provides a mechanism for the jfx new project wizards to provide properties to the prototype for the maven project creation; loosely related to this issue.

See the previous comment, https://issues.apache.org/jira/browse/NETBEANS-3104?focusedCommentId=17312777&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17312777 for specifics.


> Extend ArchetypeWizards.definedArchetype to include optional nbactions
> ----------------------------------------------------------------------
>
>                 Key: NETBEANS-3104
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3104
>             Project: NetBeans
>          Issue Type: Improvement
>            Reporter: Geertjan Wielenga
>            Assignee: Jaroslav Tulach
>            Priority: Major
>             Fix For: 12.2
>
>
> http://bits.netbeans.org/dev/javadoc/org-netbeans-api-maven/org/netbeans/api/maven/archetype/ArchetypeWizards.html



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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