The archetype is working, but only without "useOSGiDependencies".
When adding new modules to some POM project (like the one generated by
"nbm-suite-root"), usually "Allow OSGi modules as dependencies" is
selected by default, adding a configuration parameter entry
"<useOSGiDependencies>true</useOSGiDependencies>" to the created POM for
the new module.
But if those are enabled, they seem to be also expected, as external
dependencies (like antlr4-runtime) aren't resolved then, so I had to
remove the flag. I'll go to check if this is also the case for other
situations, like "normal" POM projects containing NB modules etc.
Kind regards
Peter
Am 05.06.2018 um 11:24 schrieb Peter Nabbefeld:
Hi Geertjan, thank You!
At the beginning of the tutorial I found a little mistake:
While the "sticker" says, "Requires NetBeans 8.1", there's a "Note:
**This document uses NetBeans Platform 7.2 and NetBeans IDE 7.2. If
you are using an earlier version, see the previous version of this
document
<https://platform.netbeans.org/tutorials/71/nbm-maven-quickstart.html>."
The other problem for me is: If I create a NetBeans application, will
I still have my IDE, or will it just be NetBeans platform + my
modules? I'd just want to extend NB IDE, like a usual suite project.
However, just when I looked around and tried to create a Maven project
from artifact, I also found the archetype "nbm-suite-root", which I
couldn't find anything about at NB site - I'll try that.
Kind regards
Peter
Am 05.06.2018 um 08:17 schrieb Geertjan Wielenga:
Tutorial:
https://platform.netbeans.org/tutorials/nbm-maven-quickstart.html
Gj
On Tue, Jun 5, 2018 at 8:09 AM, Peter Nabbefeld <peter.nabbef...@gmx.de>
wrote:
Thank You, Tim! What does an application project make so special? I
guess,
it's not "only" the branding? BTW, can I drop it, to turn the
application
project into a suite?
Regards
Peter
Am 05.06.2018 um 07:59 schrieb Tim Boudreau:
Suites were really invented for Ant projects, and just happen to
output a
cluster because a suite is usually a group of interdependent
modules, so
most of the time mapping that to a cluster makes sense.
http://wiki.netbeans.org/DevFaqSuitesVsClusters
For Maven projects, if one is an "application" project (with branding,
etc.), you can start that and it should load the dependencies (that
one
will have dependencies on all your other modules). You could also
create
a
dummy one for testing purposes.
-Tim
On Tue, Jun 5, 2018 at 1:53 AM, Peter Nabbefeld
<peter.nabbef...@gmx.de>
wrote:
Hello,
using Maven, there's a project type for NetBeans Applications, but
not
for
a NetBeans Module Suites.
So I created a POM project and added some NetBeans Modules. But I
cannot
start it.
The POM project cannot be started with NetBeans, and the single
modules
aren't required (though dependent), so starting the "main module"
doesn't
load its dependencies.
What am I missing?
Kind regards
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail:
dev-h...@netbeans.incubator.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists