Inside 'nbbuild' there is a folder called 'netbeans', after you build
Apache NetBeans. Register that as the NetBeans Platform to use as the basis
of your application.

Does that help? I'm creating a YouTube clip that explains this, will
literally be about 2 minutes long.

Gj

On Sat, Jun 16, 2018 at 9:32 AM, Dmitry Avtonomov <
[email protected]> wrote:

> Peter Steele here seems to be asking the same questions as I was.
>
> > You're asking open-ended questions about large articles that would
> explain many things.
> I was also asking how to start netbeans from the IDE by clicking Run/Debug
> after checking out the code from github. Judging by Matthias' answer I now
> think this might not be possible and I need to use the "ant tryme" method.
> I was also asking how to develop a new platform based app with what we have
> now - the code in the github repo. That's supposed to be relatively
> typical, but I could not do that either, more on that at the end of the
> email.
>
> > Most of this stuff exists somewhere.
> I was looking, didn't find.
>
> > Imagine NetBeans is an alien artefact. Try to learn then explain
> something about it.
> I tried, I failed, I asked the "aliens" here. I might need a Babel fish
> though.
>
> > Did you try opening a module inside NetBeans IDE and pressing Run. Or
> Debug. What happened?
> For the sake of completeness, I gave it a go. Opened "I/O API and SPI" in
> Netbeans, right clicked, pressed Run.
> *java.io.FileNotFoundException:
> ...incubator-netbeans\extbrowser\external\extbrowser-dlls-18.03.15.zip
> (The
> system cannot find the file specified)*
> Didn't expect anything spectacular to happen anyway.
> The options to "*Reload in Target platform*" and "*Install/Reload in
> Development IDE*" have been greyed out for me since NetBeans 7.3 I think.
>
> > What's puzzling me is that you seem to have or be involved with a
> NetBeans Platform app.
> I do have one, but I'm the only developer so nobody else to ask around. I
> downloaded pre-built module clusters for "platform" (used 89 modules from
> this cluster) and "ide" (used 14 modules from this cluster) and set them up
> using Main Menu -> Tools -> NetBeans Platforms menu. I then used the wizard
> to create a "NetBeans Platform Application" specifying that newly defined
> platform. And then I could set debug points and start the application from
> the IDE just fine.
>
> What we now have is a set of a gazillion separate modules. I wanted to
> manually try to recreate the "platform" module suite that I had before with
> the 89 modules that I used. I go to New Project -> NetBeans Modules ->
> Module Suite, but the first page of the wizard that comes up already asks
> me to specify a "NetBeans Platform"! Well, I don't have one yet.. Ok, let's
> try another way. Create a new empty platform app, it also requires a
> platform, let's just use the one from the Development IDE. Right click
> Modules node, "Add Existing..." select some module from the checked out
> source tree and I get a popup message "The project ... is part of a
> netbeans.org source tree. As such it cannot be added as a suite
> component".
> As a matter of fact, if you try to create a single module using the wizard
> it will ask you to either "attach it to a suite", but a suite requires to
> specify a platform, or you can choose to create "a standalone module" which
> requires a platform right away.
>
> Then there's one more piece of the puzzle - where to get the harness? But
> that's not so important as I guess one from the old platform nb82 can be
> reused.
>
> Best,
> Dmitry
>
> PS: I'll ask Jaroslav Tulach in a separate thread how did he create the
> platform zip file here:
> https://github.com/oracle/visualvm/blob/master/visualvm/
> nb90_visualvm_12022018.zip
>
>
> On Fri, Jun 15, 2018 at 11:02 PM Emilian Bold <[email protected]>
> wrote:
>
> > > It's a vicious circle - I'm searching for info on how to perform a
> > particular task, I can't find that info, I ask for help in the mailing
> > list, you tell me to create the help document, but I still don't know
> what
> > to write.
> >
> > You're not really asking for 'info'. You're asking open-ended questions
> > about large articles that would explain many things.
> >
> > Most of this stuff exists somewhere, but perhaps they were not collated
> to
> > your liking?
> >
> > So, you are the best person to try and do it.
> >
> > Imagine NetBeans is an alien artefact. Try to learn then explain
> something
> > about it.
> >
> > Did you try opening a module inside NetBeans IDE and pressing Run. Or
> > Debug. What happened?
> >
> > What's puzzling me is that you seem to have or be involved with a
> NetBeans
> > Platform app. So, are you even honestly asking this question or is it
> more
> > like a trick question teachers put to see if students really learned
> their
> > lesson?
> >
> > --emi
> >
> > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> >
> > On 15 June 2018 9:56 PM, Dmitry Avtonomov <[email protected]>
> > wrote:
> >
> > > @Emilian
> > >
> > > It's a vicious circle - I'm searching for info on how to perform a
> > particular task, I can't find that info, I ask for help in the mailing
> > list, you tell me to create the help document, but I still don't know
> what
> > to write.
> > >
> > > @Gj
> > >
> > > Could you please add a link to the wiki on the main website? This wiki
> > is really hard to find.
> > >
> > > Possibly also add a link to this development environment wiki page to
> > the "Build from source" section here:
> > https://netbeans.apache.org/download/index.html
> > >
> > > On Fri, Jun 15, 2018 at 11:47 AM Emilian Bold <
> > [email protected]> wrote:
> > >
> > > > > > Just wanted to point out that:
> > > >
> > > > > > 1.  The Netbeans project is potentially loosing lots of people
> who
> > would
> > > >
> > > > > >     have liked to contribute, but can't find a way how.
> > > >
> > > > >
> > > >
> > > > > the insight is good, so you obvisually went through this and could
> > > >
> > > > > improve the documentation. That would help the project and you.
> > > >
> > > > I was  thinking the same thing. This seems the perfect contribution.
> > > >
> > > > If the current wiki / articles are not enough, why not make such a
> > document?
> > > >
> > > > --emi
> > > >
> > > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> > > >
> > > > On 15 June 2018 9:33 PM, Matthias Bläsing <[email protected]
> >
> > wrote:
> > > >
> > > > > Hi Dmitry,
> > > >
> > > > >
> > > >
> > > > > Am Freitag, den 15.06.2018, 11:02 -0700 schrieb Dmitry Avtonomov:
> > > >
> > > > >
> > > >
> > > > > > Just wanted to point out that:
> > > >
> > > > > >
> > > >
> > > > > > 1.  The Netbeans project is potentially loosing lots of people
> who
> > would
> > > >
> > > > > >
> > > >
> > > > > >     have liked to contribute, but can't find a way how.
> > > >
> > > > > >
> > > >
> > > > >
> > > >
> > > > > the insight is good, so you obvisually went through this and could
> > > >
> > > > >
> > > >
> > > > > improve the documentation. That would help the project and you.
> > > >
> > > > >
> > > >
> > > > > Remember: Many current contributors are around for a long time, so
> > they
> > > >
> > > > >
> > > >
> > > > > now the places to look and the thinks to do.
> > > >
> > > > >
> > > >
> > > > > > 2.  10 minute turnaround time for fix-build-run-test cycle is too
> > much.
> > > >
> > > > >
> > > >
> > > > > This will require some one to step up and look through the build
> > where
> > > >
> > > > >
> > > >
> > > > > the time is spend. But normally you don't need to rebuild the whole
> > > >
> > > > >
> > > >
> > > > > IDE. You build once and if you need to modify a set of modules, you
> > > >
> > > > >
> > > >
> > > > > just rebuild these.
> > > >
> > > > >
> > > >
> > > > > > 3.  Most importantly I don't know how to start the whole thing in
> > debug
> > > >
> > > > > >
> > > >
> > > > > >     mode. Do I need to modify the ant script to make it wait for
> > debugger
> > > >
> > > > > >
> > > >
> > > > > >     connection?
> > > >
> > > > > >
> > > >
> > > > >
> > > >
> > > > > You can pass java options through the netbeans launcher via
> > > >
> > > > >
> > > >
> > > > > "-J<javaarg>". This will run netbeans with debugging enabled:
> > > >
> > > > >
> > > >
> > > > > /bin/netbeans
> > -J-agentlib:jdwp=transport=dt_socket,suspend=y,server=y,address=9009
> > > >
> > > > >
> > > >
> > > > > To run a freshly build netbeans you can invoke:
> > > >
> > > > >
> > > >
> > > > > ant -Ddebug.port=9009 tryme
> > > >
> > > > >
> > > >
> > > > > This will start the build IDE with a test userdir and it will wait
> on
> > > >
> > > > >
> > > >
> > > > > tcp port 9009 for debugger connections.
> > > >
> > > > >
> > > >
> > > > > > 4.  Just people fiddling around in debugger can lead to some
> fixes
> > and
> > > >
> > > > > >
> > > >
> > > > > >     contributions as we're observing system's behavior.
> > > >
> > > > > >
> > > >
> > > > >
> > > >
> > > > > Sure.
> > > >
> > > > >
> > > >
> > > > > I hope you stay and improve the situation.
> > > >
> > > > >
> > > >
> > > > > Matthias
> > > >
> > > > >
> > > >
> > > > >
> > > >
> > > > > ---------------------------------------------------------------
> > > >
> > > > >
> > > >
> > > > > To unsubscribe, e-mail:
> > [email protected]
> > > >
> > > > >
> > > >
> > > > > For additional commands, e-mail:
> > [email protected]
> > > >
> > > > >
> > > >
> > > > > For further information about the NetBeans mailing lists, visit:
> > > >
> > > > >
> > > >
> > > > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > > >
> > > > ------------------------------------------------------------
> ---------
> > > >
> > > > To unsubscribe, e-mail: dev-unsubscribe@netbeans.
> incubator.apache.org
> > > >
> > > > For additional commands, e-mail:
> > [email protected]
> > > >
> > > > For further information about the NetBeans mailing lists, visit:
> > > >
> > > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
>

Reply via email to