Re: Improving infra @ netbeans?

2018-08-01 Thread Antonio

Hi all,

I'll try to create some confluence pages later during the weekend. Will 
keep you posted of my findings :-)


Cheers,
Antonio

On 31/07/18 10:16, Geertjan Wielenga wrote:

Excellent, yes, there's a couple of areas in the infra domain where only
very few people in our community know how to do things, if we can change
that it would be great.

Gj

On Tue, Jul 31, 2018 at 10:11 AM, Wade Chandler 
wrote:


This would be great for me as it is easy to fall behind when you have to
come and go in spurts as things are moving so fast in some areas it is hard
to keep up. It would make it easier to contribute further to some things
IMO.

Thanks so much Antonio

Wade


-
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





Re: [Apache NetBeans 9 Apress Book] Starting the new book

2018-08-01 Thread Josh Juneau
Hi John,

Thanks for sending the detailed proposed TOC for the book.  I agree with the 
three-part book, and I also am in-line with the proposed chapters.  I like your 
idea of looking at the various NetBeans books that are available now to get an 
idea of coverage.  Those interested in working on the book should send ideas on 
proposed chapters after looking at the table of contents from some of the other 
available books.  I believe that would ensure we have a solid lineup of 
chapters.

To answer your questions:

1) With respect to collaboration, I like the email idea, and I also think that 
we should start a NetBeans book Slack group.  Perhaps as a channel added into 
the existing NetBeans slack group.

2) Thanks for starting a mailing list for the book!  I think this is a great 
idea.

3). Apress uses Microsoft Office online (and they should provide accounts) that 
we authors can use for collaboration efforts.  

If we go with Apress for the book, we will be working with Jonathan 
Gennick...at least in the beginning.  I'll reach out to him and provide your 
contact information John, if the group is interested in proceeding.

Thanks again...looking forward to moving this along!

Josh Juneau
juneau...@gmail.com
http://jj-blogger.blogspot.com
https://www.apress.com/index.php/author/author/view/id/1866

> On Aug 1, 2018, at 5:10 AM, Delfi Ramirez  wrote:
> 
> 
> 
> 
> Agreed to most of the proposed index / scheme
> 
> Please consider
> 
> "* Part 1: Using Apache NetBeans *: Chapter 3: New features, jigsaw support, 
> jshell, etc."
> 
> To be indexed in Part 3, or part 2, for academic purposes, maybe. due to the 
> fact that the "New features" section can grow in a second donation or through 
> git collab
> 
> cheers
> 
> 
> Delfi Ramirez
> 
> Segonquart Studio
> 
> https://segonquart.net
> 
> From: John Kostaras
> Sent: 01 August 2018 10:02
> To: dev@netbeans.incubator.apache.org
> Subject: [Apache NetBeans 9 Apress Book] Starting the new book
> 
> Hallo again,
> 
> and thank you for your feedback. I couldn't have described the effort
> needed in a better way.
> 
> In order to somehow start, here are few things that we need to consider in
> my opinion.
> 
>   1. *How we can cooperate.*
>  1. I suggest that we use a header like the one in this email in order
>  to make it easier to categorise the emails targeting the group of authors
>  of the book, and don't disturb others in the dev mailing list.
>  2. I have also created a google group (
>  netbeans-9-community-b...@googlegroups.com) which you could join (I
>  'll also try to invite some of those in this thread that are
> interested in
>  contributing).
>  3. Are you aware of any web co-authoring tool? There are a number
>  wiki-like ones, free and non-free, but I don't know of any that
> we can keep
>  our work restricted of the world. I use for example github.io. I
>  don't know if Apress can offer us such an infrastructure, i.e. a
> wiki that
>  can be private to its members to co-author a book? Bertrand mentions that
>  Any PoC in Apress Josh?
>   2. *Book structure*
>  1. We also need to decide on the book structure. Geertjan already
>  proposed to split it into three parts, each of
>  which could be split into about 5 chapters:
>  Part 1: Using Apache NetBeans
>  Part 2: Extending Apache NetBeans
>  Part 3: Contributing to Apache NetBeans
>  2. We need to decide what will these 5x3 = 15 chapters are going to
>  be and who writes what.
>  1. E.g. thanks to Oliver:
> 2. - https://www.youtube.com/watch?v=h4k5JpluJM8
>   https://www.slideshare.net/GeertjanWielenga/extending-nbide
> - new language support
> - some available language additions
> - useful available external plugins
> 3. Thanks to Milos here is a lot of material on NetBeans Platform
> Cookbook  which
> we could use as a base for some chapters rewriting them to NB
> 9 (again for
> Part 2)
> 4. I 'll do a search and provide a list of all available NetBeans
> books published so far, so that we could have an idea what
> has been out
> there, and maybe give more ideas for chapters.
> 
> Here is a very draft proposal of the various chapters, but we could discuss
> of course:
> 
> *Part 1: Using Apache NetBeans*
> Chapter 1: What is NetBeans. A short history of NetBeans. Apache NetBeans.
> Distinction of NetBeans platform and NetBeans IDE. New features support in
> version 9. How do download and install Apache NetBeans 9
> Chapter 2: Getting Started with NetBeans. Layout, editing files and
> projects, tips and tricks
> Chapter 3: New features, jigsaw support, jshell etc.
> Chapter 4: Running, debugging, profiling applications
> Chapter 5: Developing desktop applications (Swing and JavaFX)
> 
> *Part 2: Extending Apache NetBeans*
> Chapter 6: Introduction to NetBeans 

Re: [DISCUSS] Integration of 2nd donation

2018-08-01 Thread Geertjan Wielenga
Updated the cluster.properties in my fork, in the 2ndDonation branch, by
removing all references to sample modules (which were not donated because
of licensing issues):

https://github.com/geertjanw/incubator-netbeans/commit/4a270794198d883aa6cca4679b001c63274f5a31

After the above change, the Ant build succeeds when cluster.config is set
to 'enterprise'.

Gj


On Wed, Aug 1, 2018 at 11:53 PM, Geertjan Wielenga <
geertjan.wiele...@googlemail.com> wrote:

> Actually, those two files are the same right now.
>
> Just remove 'apisupport.restsample' from the cluster.properties file (it
> is one of several sample modules we removed, though without updating the
> cluster.properties file).
>
> If you see similar messages for other modules, do the same thing, i.e.,
> remove the reference from the cluster.properties because it means the
> module was remove though the cluster.properties wasn't updated to remove
> the reference.
>
> Gj
>
>
>
> On Wed, Aug 1, 2018 at 11:43 PM, Geertjan Wielenga <
> geertjan.wiele...@googlemail.com> wrote:
>
>> Does that help, Ryan? I could also copy the cluster.properties from
>> master to 2ndDonation in my fork, if that would help.
>>
>> Gj
>>
>> On Wed, Aug 1, 2018 at 8:59 PM, Geertjan Wielenga <
>> geertjan.wiele...@googlemail.com> wrote:
>>
>>> Yes, you need to use the cluster.properties from master. The one in
>>> 2ndDonation is incorrect.
>>>
>>> Gj
>>>
>>>
>>> On Wednesday, August 1, 2018, Ryan Cuprak  wrote:
>>>
  I had forgotten about that - however my build fails. Is anyone else
 able to build?

 ant -Dcluster.config=enterprise
 …

 init-module-list:

 BUILD FAILED
 /Users/rcuprak/open-source/netbeans/nbbuild/build.xml:167: Cannot
 resolve apisupport.restsample. Neither one exist:
   /Users/rcuprak/open-source/netbeans/apisupport.restsample
   /Users/rcuprak/open-source/netbeans/enterprise/apisupport.restsample

 > On Aug 1, 2018, at 2:09 PM, Geertjan Wielenga
  wrote:
 >
 > https://github.com/geertjanw/incubator-netbeans/blob/2ndDona
 tion/nbbuild/cluster.properties
 >
 > I believe the Java EE cluster there is called 'enterprise'.
 >
 > Gj
 >
 > On Wed, Aug 1, 2018 at 8:06 PM, Geertjan Wielenga <
 > geertjan.wiele...@googlemail.com> wrote:
 >
 >> Take a look in nbbuild/cluster.properties.
 >>
 >> That shows you the clusters that are available, the below would
 build the
 >> Groovy cluster, as well as the base clusters (platform and java):
 >>
 >> ant -Dcluster.config=groovy
 >>
 >> Gj
 >>
 >>
 >> On Wed, Aug 1, 2018 at 7:58 PM, Ryan Cuprak 
 wrote:
 >>
 >>> Hello,
 >>> You’ve taken 2nd donation and merged it with master and have it on a
 >>> branch that now needs to be pulled into master?
 >>>
 >>> I built the code on your branch and ran it, however I don’t see any
 of
 >>> the Java EE project types when I run ant tryme. Is this expected or
 is
 >>> there more work to be done?
 >>>
 >>> -Ryan
 >>>
  On Aug 1, 2018, at 5:49 AM, Geertjan Wielenga
 >>>  wrote:
 
  OK. There are 430 people registered on this mailing list.
 
  Until someone responds to this thread or simply uses their existing
  knowledge to bring the 2nd donation into master probably in the way
  suggested by Jan Lahoda above in this thread, integration of the
 2nd
  donation is effectvely dead. Want Java EE in Apache NetBeans? Want
 PHP?
  Groovy? JavaScript? Then answer the open questions here or please
 do the
  merge in one way or another yourself. :-)
 
  Gj
 
 
  On Wednesday, August 1, 2018, Geertjan Wielenga <
  geertjan.wiele...@googlemail.com> wrote:
 
 > My fork's master is now merged into my fork's 2ndDonation branch:
 >
 > https://github.com/geertjanw/incubator-netbeans/tree/2ndDonation
 >
 > Using:
 >
 > git clone -b 2ndDonation https://github.com/geertjanw/
 > incubator-netbeans.git
 >
 > git pull https://github.com/apache/incubator-netbeans.git
 > --allow-unrelated-histories
 >
 > From my 2ndDonation branch, I could do a PR for the origin repo's
 > 2ndDonation branch.
 >
 > Is that the next step or something else (or does someone who
 knows what
 > needs to be done want to do it)?
 >
 > Gj
 >
 >
 >
 > On Wed, Aug 1, 2018 at 7:57 AM, Geertjan Wielenga <
 > geertjan.wiele...@googlemail.com> wrote:
 >
 >> OK.
 >>
 >> What are the PR checks exactly, i.e., how will we know this
 approach
 >>> is
 >> successful?
 >>
 >> Should 

Re: [DISCUSS] Integration of 2nd donation

2018-08-01 Thread Geertjan Wielenga
Does that help, Ryan? I could also copy the cluster.properties from master
to 2ndDonation in my fork, if that would help.

Gj

On Wed, Aug 1, 2018 at 8:59 PM, Geertjan Wielenga <
geertjan.wiele...@googlemail.com> wrote:

> Yes, you need to use the cluster.properties from master. The one in
> 2ndDonation is incorrect.
>
> Gj
>
>
> On Wednesday, August 1, 2018, Ryan Cuprak  wrote:
>
>>  I had forgotten about that - however my build fails. Is anyone else able
>> to build?
>>
>> ant -Dcluster.config=enterprise
>> …
>>
>> init-module-list:
>>
>> BUILD FAILED
>> /Users/rcuprak/open-source/netbeans/nbbuild/build.xml:167: Cannot
>> resolve apisupport.restsample. Neither one exist:
>>   /Users/rcuprak/open-source/netbeans/apisupport.restsample
>>   /Users/rcuprak/open-source/netbeans/enterprise/apisupport.restsample
>>
>> > On Aug 1, 2018, at 2:09 PM, Geertjan Wielenga
>>  wrote:
>> >
>> > https://github.com/geertjanw/incubator-netbeans/blob/2ndDona
>> tion/nbbuild/cluster.properties
>> >
>> > I believe the Java EE cluster there is called 'enterprise'.
>> >
>> > Gj
>> >
>> > On Wed, Aug 1, 2018 at 8:06 PM, Geertjan Wielenga <
>> > geertjan.wiele...@googlemail.com> wrote:
>> >
>> >> Take a look in nbbuild/cluster.properties.
>> >>
>> >> That shows you the clusters that are available, the below would build
>> the
>> >> Groovy cluster, as well as the base clusters (platform and java):
>> >>
>> >> ant -Dcluster.config=groovy
>> >>
>> >> Gj
>> >>
>> >>
>> >> On Wed, Aug 1, 2018 at 7:58 PM, Ryan Cuprak  wrote:
>> >>
>> >>> Hello,
>> >>> You’ve taken 2nd donation and merged it with master and have it on a
>> >>> branch that now needs to be pulled into master?
>> >>>
>> >>> I built the code on your branch and ran it, however I don’t see any of
>> >>> the Java EE project types when I run ant tryme. Is this expected or is
>> >>> there more work to be done?
>> >>>
>> >>> -Ryan
>> >>>
>>  On Aug 1, 2018, at 5:49 AM, Geertjan Wielenga
>> >>>  wrote:
>> 
>>  OK. There are 430 people registered on this mailing list.
>> 
>>  Until someone responds to this thread or simply uses their existing
>>  knowledge to bring the 2nd donation into master probably in the way
>>  suggested by Jan Lahoda above in this thread, integration of the 2nd
>>  donation is effectvely dead. Want Java EE in Apache NetBeans? Want
>> PHP?
>>  Groovy? JavaScript? Then answer the open questions here or please do
>> the
>>  merge in one way or another yourself. :-)
>> 
>>  Gj
>> 
>> 
>>  On Wednesday, August 1, 2018, Geertjan Wielenga <
>>  geertjan.wiele...@googlemail.com> wrote:
>> 
>> > My fork's master is now merged into my fork's 2ndDonation branch:
>> >
>> > https://github.com/geertjanw/incubator-netbeans/tree/2ndDonation
>> >
>> > Using:
>> >
>> > git clone -b 2ndDonation https://github.com/geertjanw/
>> > incubator-netbeans.git
>> >
>> > git pull https://github.com/apache/incubator-netbeans.git
>> > --allow-unrelated-histories
>> >
>> > From my 2ndDonation branch, I could do a PR for the origin repo's
>> > 2ndDonation branch.
>> >
>> > Is that the next step or something else (or does someone who knows
>> what
>> > needs to be done want to do it)?
>> >
>> > Gj
>> >
>> >
>> >
>> > On Wed, Aug 1, 2018 at 7:57 AM, Geertjan Wielenga <
>> > geertjan.wiele...@googlemail.com> wrote:
>> >
>> >> OK.
>> >>
>> >> What are the PR checks exactly, i.e., how will we know this
>> approach
>> >>> is
>> >> successful?
>> >>
>> >> Should I do this in my fork first? Or straight into the 2ndDonation
>> >> branch at https://github.com/apache/incu
>> >>> bator-netbeans/tree/2ndDonation?
>> >>
>> >> Gj
>> >>
>> >> On Tue, Jul 31, 2018 at 7:04 PM, Jan Lahoda 
>> wrote:
>> >>
>> >>> On Tue, Jul 31, 2018 at 5:19 PM, Geertjan Wielenga <
>> >>> geertjan.wiele...@googlemail.com.invalid> wrote:
>> >>>
>>  Did the above (including --allow-unrelated-histories), ran Ant
>> Rat,
>> >>> and was
>>  encouraged to find 'only' 1223 unknown licenses identified:
>> 
>>  https://cwiki.apache.org/confluence/display/NETBEANS/
>>  Initial+Rat+Report+for+2nd+Donation
>> 
>>  I believe that if I were to do a push, the Ant Rat that is run
>>  automatically needs to be tweaked to include the new clusters.
>> 
>>  Jan Lahoda, I think you can tell more about this and explain what
>> >>> needs to
>>  be done re Rat and then someone can do that.
>> 
>> >>>
>> >>> I think it might be good to merge master into the 2ndDonation
>> branch
>> >>> (and
>> >>> push to 2ndDonation). Then it might(?) be possible to create a PR
>> >>> from
>> >>> 2ndDonation to master (which would run all the PR checks for us

Re: [DISCUSS] Integration of 2nd donation

2018-08-01 Thread Geertjan Wielenga
Yes, you need to use the cluster.properties from master. The one in
2ndDonation is incorrect.

Gj

On Wednesday, August 1, 2018, Ryan Cuprak  wrote:

>  I had forgotten about that - however my build fails. Is anyone else able
> to build?
>
> ant -Dcluster.config=enterprise
> …
>
> init-module-list:
>
> BUILD FAILED
> /Users/rcuprak/open-source/netbeans/nbbuild/build.xml:167: Cannot resolve
> apisupport.restsample. Neither one exist:
>   /Users/rcuprak/open-source/netbeans/apisupport.restsample
>   /Users/rcuprak/open-source/netbeans/enterprise/apisupport.restsample
>
> > On Aug 1, 2018, at 2:09 PM, Geertjan Wielenga
>  wrote:
> >
> > https://github.com/geertjanw/incubator-netbeans/blob/
> 2ndDonation/nbbuild/cluster.properties
> >
> > I believe the Java EE cluster there is called 'enterprise'.
> >
> > Gj
> >
> > On Wed, Aug 1, 2018 at 8:06 PM, Geertjan Wielenga <
> > geertjan.wiele...@googlemail.com> wrote:
> >
> >> Take a look in nbbuild/cluster.properties.
> >>
> >> That shows you the clusters that are available, the below would build
> the
> >> Groovy cluster, as well as the base clusters (platform and java):
> >>
> >> ant -Dcluster.config=groovy
> >>
> >> Gj
> >>
> >>
> >> On Wed, Aug 1, 2018 at 7:58 PM, Ryan Cuprak  wrote:
> >>
> >>> Hello,
> >>> You’ve taken 2nd donation and merged it with master and have it on a
> >>> branch that now needs to be pulled into master?
> >>>
> >>> I built the code on your branch and ran it, however I don’t see any of
> >>> the Java EE project types when I run ant tryme. Is this expected or is
> >>> there more work to be done?
> >>>
> >>> -Ryan
> >>>
>  On Aug 1, 2018, at 5:49 AM, Geertjan Wielenga
> >>>  wrote:
> 
>  OK. There are 430 people registered on this mailing list.
> 
>  Until someone responds to this thread or simply uses their existing
>  knowledge to bring the 2nd donation into master probably in the way
>  suggested by Jan Lahoda above in this thread, integration of the 2nd
>  donation is effectvely dead. Want Java EE in Apache NetBeans? Want
> PHP?
>  Groovy? JavaScript? Then answer the open questions here or please do
> the
>  merge in one way or another yourself. :-)
> 
>  Gj
> 
> 
>  On Wednesday, August 1, 2018, Geertjan Wielenga <
>  geertjan.wiele...@googlemail.com> wrote:
> 
> > My fork's master is now merged into my fork's 2ndDonation branch:
> >
> > https://github.com/geertjanw/incubator-netbeans/tree/2ndDonation
> >
> > Using:
> >
> > git clone -b 2ndDonation https://github.com/geertjanw/
> > incubator-netbeans.git
> >
> > git pull https://github.com/apache/incubator-netbeans.git
> > --allow-unrelated-histories
> >
> > From my 2ndDonation branch, I could do a PR for the origin repo's
> > 2ndDonation branch.
> >
> > Is that the next step or something else (or does someone who knows
> what
> > needs to be done want to do it)?
> >
> > Gj
> >
> >
> >
> > On Wed, Aug 1, 2018 at 7:57 AM, Geertjan Wielenga <
> > geertjan.wiele...@googlemail.com> wrote:
> >
> >> OK.
> >>
> >> What are the PR checks exactly, i.e., how will we know this approach
> >>> is
> >> successful?
> >>
> >> Should I do this in my fork first? Or straight into the 2ndDonation
> >> branch at https://github.com/apache/incu
> >>> bator-netbeans/tree/2ndDonation?
> >>
> >> Gj
> >>
> >> On Tue, Jul 31, 2018 at 7:04 PM, Jan Lahoda 
> wrote:
> >>
> >>> On Tue, Jul 31, 2018 at 5:19 PM, Geertjan Wielenga <
> >>> geertjan.wiele...@googlemail.com.invalid> wrote:
> >>>
>  Did the above (including --allow-unrelated-histories), ran Ant
> Rat,
> >>> and was
>  encouraged to find 'only' 1223 unknown licenses identified:
> 
>  https://cwiki.apache.org/confluence/display/NETBEANS/
>  Initial+Rat+Report+for+2nd+Donation
> 
>  I believe that if I were to do a push, the Ant Rat that is run
>  automatically needs to be tweaked to include the new clusters.
> 
>  Jan Lahoda, I think you can tell more about this and explain what
> >>> needs to
>  be done re Rat and then someone can do that.
> 
> >>>
> >>> I think it might be good to merge master into the 2ndDonation
> branch
> >>> (and
> >>> push to 2ndDonation). Then it might(?) be possible to create a PR
> >>> from
> >>> 2ndDonation to master (which would run all the PR checks for us
> >>> automatically). I though rat wouldn't need need tweaks in travis
> >>> config,
> >>> but apparently it will need some - I can try to do that, but having
> >>> master
> >>> merged into the 2ndDonation branch would help.
> >>>
> >>> Thanks,
> >>>Jan
> >>>
> >>>
>  Thanks,
> 
>  Gj
> 
> 

Re: [DISCUSS] Integration of 2nd donation

2018-08-01 Thread Ryan Cuprak
 I had forgotten about that - however my build fails. Is anyone else able to 
build?

ant -Dcluster.config=enterprise
…

init-module-list:

BUILD FAILED
/Users/rcuprak/open-source/netbeans/nbbuild/build.xml:167: Cannot resolve 
apisupport.restsample. Neither one exist:
  /Users/rcuprak/open-source/netbeans/apisupport.restsample
  /Users/rcuprak/open-source/netbeans/enterprise/apisupport.restsample

> On Aug 1, 2018, at 2:09 PM, Geertjan Wielenga 
>  wrote:
> 
> https://github.com/geertjanw/incubator-netbeans/blob/2ndDonation/nbbuild/cluster.properties
> 
> I believe the Java EE cluster there is called 'enterprise'.
> 
> Gj
> 
> On Wed, Aug 1, 2018 at 8:06 PM, Geertjan Wielenga <
> geertjan.wiele...@googlemail.com> wrote:
> 
>> Take a look in nbbuild/cluster.properties.
>> 
>> That shows you the clusters that are available, the below would build the
>> Groovy cluster, as well as the base clusters (platform and java):
>> 
>> ant -Dcluster.config=groovy
>> 
>> Gj
>> 
>> 
>> On Wed, Aug 1, 2018 at 7:58 PM, Ryan Cuprak  wrote:
>> 
>>> Hello,
>>> You’ve taken 2nd donation and merged it with master and have it on a
>>> branch that now needs to be pulled into master?
>>> 
>>> I built the code on your branch and ran it, however I don’t see any of
>>> the Java EE project types when I run ant tryme. Is this expected or is
>>> there more work to be done?
>>> 
>>> -Ryan
>>> 
 On Aug 1, 2018, at 5:49 AM, Geertjan Wielenga
>>>  wrote:
 
 OK. There are 430 people registered on this mailing list.
 
 Until someone responds to this thread or simply uses their existing
 knowledge to bring the 2nd donation into master probably in the way
 suggested by Jan Lahoda above in this thread, integration of the 2nd
 donation is effectvely dead. Want Java EE in Apache NetBeans? Want PHP?
 Groovy? JavaScript? Then answer the open questions here or please do the
 merge in one way or another yourself. :-)
 
 Gj
 
 
 On Wednesday, August 1, 2018, Geertjan Wielenga <
 geertjan.wiele...@googlemail.com> wrote:
 
> My fork's master is now merged into my fork's 2ndDonation branch:
> 
> https://github.com/geertjanw/incubator-netbeans/tree/2ndDonation
> 
> Using:
> 
> git clone -b 2ndDonation https://github.com/geertjanw/
> incubator-netbeans.git
> 
> git pull https://github.com/apache/incubator-netbeans.git
> --allow-unrelated-histories
> 
> From my 2ndDonation branch, I could do a PR for the origin repo's
> 2ndDonation branch.
> 
> Is that the next step or something else (or does someone who knows what
> needs to be done want to do it)?
> 
> Gj
> 
> 
> 
> On Wed, Aug 1, 2018 at 7:57 AM, Geertjan Wielenga <
> geertjan.wiele...@googlemail.com> wrote:
> 
>> OK.
>> 
>> What are the PR checks exactly, i.e., how will we know this approach
>>> is
>> successful?
>> 
>> Should I do this in my fork first? Or straight into the 2ndDonation
>> branch at https://github.com/apache/incu
>>> bator-netbeans/tree/2ndDonation?
>> 
>> Gj
>> 
>> On Tue, Jul 31, 2018 at 7:04 PM, Jan Lahoda  wrote:
>> 
>>> On Tue, Jul 31, 2018 at 5:19 PM, Geertjan Wielenga <
>>> geertjan.wiele...@googlemail.com.invalid> wrote:
>>> 
 Did the above (including --allow-unrelated-histories), ran Ant Rat,
>>> and was
 encouraged to find 'only' 1223 unknown licenses identified:
 
 https://cwiki.apache.org/confluence/display/NETBEANS/
 Initial+Rat+Report+for+2nd+Donation
 
 I believe that if I were to do a push, the Ant Rat that is run
 automatically needs to be tweaked to include the new clusters.
 
 Jan Lahoda, I think you can tell more about this and explain what
>>> needs to
 be done re Rat and then someone can do that.
 
>>> 
>>> I think it might be good to merge master into the 2ndDonation  branch
>>> (and
>>> push to 2ndDonation). Then it might(?) be possible to create a PR
>>> from
>>> 2ndDonation to master (which would run all the PR checks for us
>>> automatically). I though rat wouldn't need need tweaks in travis
>>> config,
>>> but apparently it will need some - I can try to do that, but having
>>> master
>>> merged into the 2ndDonation branch would help.
>>> 
>>> Thanks,
>>>Jan
>>> 
>>> 
 Thanks,
 
 Gj
 
 
 On Tue, Jul 31, 2018 at 5:02 PM, Peter Steele >>> 
 wrote:
 
> You do it locally on your own PC, clone master, pull in chosen
>>> branch,
> commit and push. I don't know of a way to do it on the GitHub site,
>>> using
> git commands is easiest. There is probably a gui to do this too
> 
> On Tue, 31 Jul 2018 15:58 

Re: [DISCUSS] Integration of 2nd donation

2018-08-01 Thread Geertjan Wielenga
On Wed, Aug 1, 2018 at 12:14 PM, Peter Steele  wrote:

> Gj
>
> I'm not sure I fully understand what the issue is. I suspect it's not a
> clear direction on what the branching strategy is for this project. There
> are also conflicting ideas which makes it hard to comment.
>


Yup, I think we need to figure out how best to do this -- in general
through the consensus was that we could combine the two in one way or
another and then work on the relicensing after that.

Thanks a lot for the detailed response and ideas -- I think in the end
someone will simply need to do it one way or another and then we'll all
have to deal with the way that person approaches it, while he/she'll
presumably do it based on insights from these discussions.

Gj



>
> If you just want to merge everything in to master then the way to do this
> has been discussed already. This is a very standard thing to do in git.
>
> I personally don't agree with this approach because master should contain
> everything that has been signed off and this code has not been signed off.
> You have a branch so use that branch for approving everything then merge in
> to master once donation 2 is signed off. Remember you can cherry pick
> commits to the master branch back to the donation2 branch to keep them in
> sync.
>
> The donation2 branch should be a copy of master with the additional
> modules. Does it?
>
> The rat report should be run from this new branch
>
> The new modules should be added to the rate report if they need to be
> configured.
>
> The committers need to agree on the branching strategy then the to-do list
> falls in to place easily.
>
>
>
>
>
> On Wed, 1 Aug 2018 10:50 Geertjan Wielenga,
>  wrote:
>
> > OK. There are 430 people registered on this mailing list.
> >
> > Until someone responds to this thread or simply uses their existing
> > knowledge to bring the 2nd donation into master probably in the way
> > suggested by Jan Lahoda above in this thread, integration of the 2nd
> > donation is effectvely dead. Want Java EE in Apache NetBeans? Want PHP?
> > Groovy? JavaScript? Then answer the open questions here or please do the
> > merge in one way or another yourself. :-)
> >
> > Gj
> >
> >
> > On Wednesday, August 1, 2018, Geertjan Wielenga <
> > geertjan.wiele...@googlemail.com> wrote:
> >
> > > My fork's master is now merged into my fork's 2ndDonation branch:
> > >
> > > https://github.com/geertjanw/incubator-netbeans/tree/2ndDonation
> > >
> > > Using:
> > >
> > > git clone -b 2ndDonation https://github.com/geertjanw/
> > > incubator-netbeans.git
> > >
> > > git pull https://github.com/apache/incubator-netbeans.git
> > > --allow-unrelated-histories
> > >
> > > From my 2ndDonation branch, I could do a PR for the origin repo's
> > > 2ndDonation branch.
> > >
> > > Is that the next step or something else (or does someone who knows what
> > > needs to be done want to do it)?
> > >
> > > Gj
> > >
> > >
> > >
> > > On Wed, Aug 1, 2018 at 7:57 AM, Geertjan Wielenga <
> > > geertjan.wiele...@googlemail.com> wrote:
> > >
> > >> OK.
> > >>
> > >> What are the PR checks exactly, i.e., how will we know this approach
> is
> > >> successful?
> > >>
> > >> Should I do this in my fork first? Or straight into the 2ndDonation
> > >> branch at https://github.com/apache/incubator-netbeans/tree/
> 2ndDonation
> > ?
> > >>
> > >> Gj
> > >>
> > >> On Tue, Jul 31, 2018 at 7:04 PM, Jan Lahoda  wrote:
> > >>
> > >>> On Tue, Jul 31, 2018 at 5:19 PM, Geertjan Wielenga <
> > >>> geertjan.wiele...@googlemail.com.invalid> wrote:
> > >>>
> > >>> > Did the above (including --allow-unrelated-histories), ran Ant Rat,
> > >>> and was
> > >>> > encouraged to find 'only' 1223 unknown licenses identified:
> > >>> >
> > >>> > https://cwiki.apache.org/confluence/display/NETBEANS/
> > >>> > Initial+Rat+Report+for+2nd+Donation
> > >>> >
> > >>> > I believe that if I were to do a push, the Ant Rat that is run
> > >>> > automatically needs to be tweaked to include the new clusters.
> > >>> >
> > >>> > Jan Lahoda, I think you can tell more about this and explain what
> > >>> needs to
> > >>> > be done re Rat and then someone can do that.
> > >>> >
> > >>>
> > >>> I think it might be good to merge master into the 2ndDonation  branch
> > >>> (and
> > >>> push to 2ndDonation). Then it might(?) be possible to create a PR
> from
> > >>> 2ndDonation to master (which would run all the PR checks for us
> > >>> automatically). I though rat wouldn't need need tweaks in travis
> > config,
> > >>> but apparently it will need some - I can try to do that, but having
> > >>> master
> > >>> merged into the 2ndDonation branch would help.
> > >>>
> > >>> Thanks,
> > >>>  Jan
> > >>>
> > >>>
> > >>> > Thanks,
> > >>> >
> > >>> > Gj
> > >>> >
> > >>> >
> > >>> > On Tue, Jul 31, 2018 at 5:02 PM, Peter Steele <
> steeleh...@gmail.com>
> > >>> > wrote:
> > >>> >
> > >>> > > You do it locally on your own PC, clone master, pull in chosen
> > >>> branch,
> > >>> > > commit and push. I don't know of 

Re: [DISCUSS] Integration of 2nd donation

2018-08-01 Thread Geertjan Wielenga
https://github.com/geertjanw/incubator-netbeans/blob/2ndDonation/nbbuild/cluster.properties

I believe the Java EE cluster there is called 'enterprise'.

Gj

On Wed, Aug 1, 2018 at 8:06 PM, Geertjan Wielenga <
geertjan.wiele...@googlemail.com> wrote:

> Take a look in nbbuild/cluster.properties.
>
> That shows you the clusters that are available, the below would build the
> Groovy cluster, as well as the base clusters (platform and java):
>
> ant -Dcluster.config=groovy
>
> Gj
>
>
> On Wed, Aug 1, 2018 at 7:58 PM, Ryan Cuprak  wrote:
>
>> Hello,
>>  You’ve taken 2nd donation and merged it with master and have it on a
>> branch that now needs to be pulled into master?
>>
>>  I built the code on your branch and ran it, however I don’t see any of
>> the Java EE project types when I run ant tryme. Is this expected or is
>> there more work to be done?
>>
>>  -Ryan
>>
>> > On Aug 1, 2018, at 5:49 AM, Geertjan Wielenga
>>  wrote:
>> >
>> > OK. There are 430 people registered on this mailing list.
>> >
>> > Until someone responds to this thread or simply uses their existing
>> > knowledge to bring the 2nd donation into master probably in the way
>> > suggested by Jan Lahoda above in this thread, integration of the 2nd
>> > donation is effectvely dead. Want Java EE in Apache NetBeans? Want PHP?
>> > Groovy? JavaScript? Then answer the open questions here or please do the
>> > merge in one way or another yourself. :-)
>> >
>> > Gj
>> >
>> >
>> > On Wednesday, August 1, 2018, Geertjan Wielenga <
>> > geertjan.wiele...@googlemail.com> wrote:
>> >
>> >> My fork's master is now merged into my fork's 2ndDonation branch:
>> >>
>> >> https://github.com/geertjanw/incubator-netbeans/tree/2ndDonation
>> >>
>> >> Using:
>> >>
>> >> git clone -b 2ndDonation https://github.com/geertjanw/
>> >> incubator-netbeans.git
>> >>
>> >> git pull https://github.com/apache/incubator-netbeans.git
>> >> --allow-unrelated-histories
>> >>
>> >> From my 2ndDonation branch, I could do a PR for the origin repo's
>> >> 2ndDonation branch.
>> >>
>> >> Is that the next step or something else (or does someone who knows what
>> >> needs to be done want to do it)?
>> >>
>> >> Gj
>> >>
>> >>
>> >>
>> >> On Wed, Aug 1, 2018 at 7:57 AM, Geertjan Wielenga <
>> >> geertjan.wiele...@googlemail.com> wrote:
>> >>
>> >>> OK.
>> >>>
>> >>> What are the PR checks exactly, i.e., how will we know this approach
>> is
>> >>> successful?
>> >>>
>> >>> Should I do this in my fork first? Or straight into the 2ndDonation
>> >>> branch at https://github.com/apache/incu
>> bator-netbeans/tree/2ndDonation?
>> >>>
>> >>> Gj
>> >>>
>> >>> On Tue, Jul 31, 2018 at 7:04 PM, Jan Lahoda  wrote:
>> >>>
>>  On Tue, Jul 31, 2018 at 5:19 PM, Geertjan Wielenga <
>>  geertjan.wiele...@googlemail.com.invalid> wrote:
>> 
>> > Did the above (including --allow-unrelated-histories), ran Ant Rat,
>>  and was
>> > encouraged to find 'only' 1223 unknown licenses identified:
>> >
>> > https://cwiki.apache.org/confluence/display/NETBEANS/
>> > Initial+Rat+Report+for+2nd+Donation
>> >
>> > I believe that if I were to do a push, the Ant Rat that is run
>> > automatically needs to be tweaked to include the new clusters.
>> >
>> > Jan Lahoda, I think you can tell more about this and explain what
>>  needs to
>> > be done re Rat and then someone can do that.
>> >
>> 
>>  I think it might be good to merge master into the 2ndDonation  branch
>>  (and
>>  push to 2ndDonation). Then it might(?) be possible to create a PR
>> from
>>  2ndDonation to master (which would run all the PR checks for us
>>  automatically). I though rat wouldn't need need tweaks in travis
>> config,
>>  but apparently it will need some - I can try to do that, but having
>>  master
>>  merged into the 2ndDonation branch would help.
>> 
>>  Thanks,
>>  Jan
>> 
>> 
>> > Thanks,
>> >
>> > Gj
>> >
>> >
>> > On Tue, Jul 31, 2018 at 5:02 PM, Peter Steele > >
>> > wrote:
>> >
>> >> You do it locally on your own PC, clone master, pull in chosen
>>  branch,
>> >> commit and push. I don't know of a way to do it on the GitHub site,
>>  using
>> >> git commands is easiest. There is probably a gui to do this too
>> >>
>> >> On Tue, 31 Jul 2018 15:58 Geertjan Wielenga,
>> >>  wrote:
>> >>
>> >>> Apologies for my ignorance, but should someone do this in their
>> own
>> > clone
>> >>> or should it be done directly in
>> >>> https://github.com/apache/incubator-netbeans?
>> >>>
>> >>> Gj
>> >>>
>> >>> On Tue, Jul 31, 2018 at 4:45 PM, Peter Steele <
>>  steeleh...@gmail.com>
>> >>> wrote:
>> >>>
>>  https://help.github.com/articles/merging-an-upstream-
>>  repository-into-your-fork/
>> 
>>  On Tue, 31 Jul 2018 15:41 

Re: [DISCUSS] Integration of 2nd donation

2018-08-01 Thread Geertjan Wielenga
Take a look in nbbuild/cluster.properties.

That shows you the clusters that are available, the below would build the
Groovy cluster, as well as the base clusters (platform and java):

ant -Dcluster.config=groovy

Gj


On Wed, Aug 1, 2018 at 7:58 PM, Ryan Cuprak  wrote:

> Hello,
>  You’ve taken 2nd donation and merged it with master and have it on a
> branch that now needs to be pulled into master?
>
>  I built the code on your branch and ran it, however I don’t see any of
> the Java EE project types when I run ant tryme. Is this expected or is
> there more work to be done?
>
>  -Ryan
>
> > On Aug 1, 2018, at 5:49 AM, Geertjan Wielenga
>  wrote:
> >
> > OK. There are 430 people registered on this mailing list.
> >
> > Until someone responds to this thread or simply uses their existing
> > knowledge to bring the 2nd donation into master probably in the way
> > suggested by Jan Lahoda above in this thread, integration of the 2nd
> > donation is effectvely dead. Want Java EE in Apache NetBeans? Want PHP?
> > Groovy? JavaScript? Then answer the open questions here or please do the
> > merge in one way or another yourself. :-)
> >
> > Gj
> >
> >
> > On Wednesday, August 1, 2018, Geertjan Wielenga <
> > geertjan.wiele...@googlemail.com> wrote:
> >
> >> My fork's master is now merged into my fork's 2ndDonation branch:
> >>
> >> https://github.com/geertjanw/incubator-netbeans/tree/2ndDonation
> >>
> >> Using:
> >>
> >> git clone -b 2ndDonation https://github.com/geertjanw/
> >> incubator-netbeans.git
> >>
> >> git pull https://github.com/apache/incubator-netbeans.git
> >> --allow-unrelated-histories
> >>
> >> From my 2ndDonation branch, I could do a PR for the origin repo's
> >> 2ndDonation branch.
> >>
> >> Is that the next step or something else (or does someone who knows what
> >> needs to be done want to do it)?
> >>
> >> Gj
> >>
> >>
> >>
> >> On Wed, Aug 1, 2018 at 7:57 AM, Geertjan Wielenga <
> >> geertjan.wiele...@googlemail.com> wrote:
> >>
> >>> OK.
> >>>
> >>> What are the PR checks exactly, i.e., how will we know this approach is
> >>> successful?
> >>>
> >>> Should I do this in my fork first? Or straight into the 2ndDonation
> >>> branch at https://github.com/apache/incubator-netbeans/tree/
> 2ndDonation?
> >>>
> >>> Gj
> >>>
> >>> On Tue, Jul 31, 2018 at 7:04 PM, Jan Lahoda  wrote:
> >>>
>  On Tue, Jul 31, 2018 at 5:19 PM, Geertjan Wielenga <
>  geertjan.wiele...@googlemail.com.invalid> wrote:
> 
> > Did the above (including --allow-unrelated-histories), ran Ant Rat,
>  and was
> > encouraged to find 'only' 1223 unknown licenses identified:
> >
> > https://cwiki.apache.org/confluence/display/NETBEANS/
> > Initial+Rat+Report+for+2nd+Donation
> >
> > I believe that if I were to do a push, the Ant Rat that is run
> > automatically needs to be tweaked to include the new clusters.
> >
> > Jan Lahoda, I think you can tell more about this and explain what
>  needs to
> > be done re Rat and then someone can do that.
> >
> 
>  I think it might be good to merge master into the 2ndDonation  branch
>  (and
>  push to 2ndDonation). Then it might(?) be possible to create a PR from
>  2ndDonation to master (which would run all the PR checks for us
>  automatically). I though rat wouldn't need need tweaks in travis
> config,
>  but apparently it will need some - I can try to do that, but having
>  master
>  merged into the 2ndDonation branch would help.
> 
>  Thanks,
>  Jan
> 
> 
> > Thanks,
> >
> > Gj
> >
> >
> > On Tue, Jul 31, 2018 at 5:02 PM, Peter Steele 
> > wrote:
> >
> >> You do it locally on your own PC, clone master, pull in chosen
>  branch,
> >> commit and push. I don't know of a way to do it on the GitHub site,
>  using
> >> git commands is easiest. There is probably a gui to do this too
> >>
> >> On Tue, 31 Jul 2018 15:58 Geertjan Wielenga,
> >>  wrote:
> >>
> >>> Apologies for my ignorance, but should someone do this in their own
> > clone
> >>> or should it be done directly in
> >>> https://github.com/apache/incubator-netbeans?
> >>>
> >>> Gj
> >>>
> >>> On Tue, Jul 31, 2018 at 4:45 PM, Peter Steele <
>  steeleh...@gmail.com>
> >>> wrote:
> >>>
>  https://help.github.com/articles/merging-an-upstream-
>  repository-into-your-fork/
> 
>  On Tue, 31 Jul 2018 15:41 Geertjan Wielenga,
>   wrote:
> 
> > Is there a way to merge the branch into master on GitHub?
> >
> > Or is there someone who can recommend best practices for doing
> > this?
> >
> > Thanks,
> >
> > Gj
> >
> >
> > On Tue, Jul 31, 2018 at 4:16 PM, Josh Juneau <
>  juneau...@gmail.com>
>  wrote:
> 

Re: [DISCUSS] Integration of 2nd donation

2018-08-01 Thread Ryan Cuprak
Hello,
 You’ve taken 2nd donation and merged it with master and have it on a branch 
that now needs to be pulled into master?

 I built the code on your branch and ran it, however I don’t see any of the 
Java EE project types when I run ant tryme. Is this expected or is there more 
work to be done?

 -Ryan

> On Aug 1, 2018, at 5:49 AM, Geertjan Wielenga 
>  wrote:
> 
> OK. There are 430 people registered on this mailing list.
> 
> Until someone responds to this thread or simply uses their existing
> knowledge to bring the 2nd donation into master probably in the way
> suggested by Jan Lahoda above in this thread, integration of the 2nd
> donation is effectvely dead. Want Java EE in Apache NetBeans? Want PHP?
> Groovy? JavaScript? Then answer the open questions here or please do the
> merge in one way or another yourself. :-)
> 
> Gj
> 
> 
> On Wednesday, August 1, 2018, Geertjan Wielenga <
> geertjan.wiele...@googlemail.com> wrote:
> 
>> My fork's master is now merged into my fork's 2ndDonation branch:
>> 
>> https://github.com/geertjanw/incubator-netbeans/tree/2ndDonation
>> 
>> Using:
>> 
>> git clone -b 2ndDonation https://github.com/geertjanw/
>> incubator-netbeans.git
>> 
>> git pull https://github.com/apache/incubator-netbeans.git
>> --allow-unrelated-histories
>> 
>> From my 2ndDonation branch, I could do a PR for the origin repo's
>> 2ndDonation branch.
>> 
>> Is that the next step or something else (or does someone who knows what
>> needs to be done want to do it)?
>> 
>> Gj
>> 
>> 
>> 
>> On Wed, Aug 1, 2018 at 7:57 AM, Geertjan Wielenga <
>> geertjan.wiele...@googlemail.com> wrote:
>> 
>>> OK.
>>> 
>>> What are the PR checks exactly, i.e., how will we know this approach is
>>> successful?
>>> 
>>> Should I do this in my fork first? Or straight into the 2ndDonation
>>> branch at https://github.com/apache/incubator-netbeans/tree/2ndDonation?
>>> 
>>> Gj
>>> 
>>> On Tue, Jul 31, 2018 at 7:04 PM, Jan Lahoda  wrote:
>>> 
 On Tue, Jul 31, 2018 at 5:19 PM, Geertjan Wielenga <
 geertjan.wiele...@googlemail.com.invalid> wrote:
 
> Did the above (including --allow-unrelated-histories), ran Ant Rat,
 and was
> encouraged to find 'only' 1223 unknown licenses identified:
> 
> https://cwiki.apache.org/confluence/display/NETBEANS/
> Initial+Rat+Report+for+2nd+Donation
> 
> I believe that if I were to do a push, the Ant Rat that is run
> automatically needs to be tweaked to include the new clusters.
> 
> Jan Lahoda, I think you can tell more about this and explain what
 needs to
> be done re Rat and then someone can do that.
> 
 
 I think it might be good to merge master into the 2ndDonation  branch
 (and
 push to 2ndDonation). Then it might(?) be possible to create a PR from
 2ndDonation to master (which would run all the PR checks for us
 automatically). I though rat wouldn't need need tweaks in travis config,
 but apparently it will need some - I can try to do that, but having
 master
 merged into the 2ndDonation branch would help.
 
 Thanks,
 Jan
 
 
> Thanks,
> 
> Gj
> 
> 
> On Tue, Jul 31, 2018 at 5:02 PM, Peter Steele 
> wrote:
> 
>> You do it locally on your own PC, clone master, pull in chosen
 branch,
>> commit and push. I don't know of a way to do it on the GitHub site,
 using
>> git commands is easiest. There is probably a gui to do this too
>> 
>> On Tue, 31 Jul 2018 15:58 Geertjan Wielenga,
>>  wrote:
>> 
>>> Apologies for my ignorance, but should someone do this in their own
> clone
>>> or should it be done directly in
>>> https://github.com/apache/incubator-netbeans?
>>> 
>>> Gj
>>> 
>>> On Tue, Jul 31, 2018 at 4:45 PM, Peter Steele <
 steeleh...@gmail.com>
>>> wrote:
>>> 
 https://help.github.com/articles/merging-an-upstream-
 repository-into-your-fork/
 
 On Tue, 31 Jul 2018 15:41 Geertjan Wielenga,
  wrote:
 
> Is there a way to merge the branch into master on GitHub?
> 
> Or is there someone who can recommend best practices for doing
> this?
> 
> Thanks,
> 
> Gj
> 
> 
> On Tue, Jul 31, 2018 at 4:16 PM, Josh Juneau <
 juneau...@gmail.com>
 wrote:
> 
>> Looking forward to getting started with the work on this 2nd
>>> donation.
>> 
>> On Tue, Jul 31, 2018 at 3:09 AM Geertjan Wielenga
>>  wrote:
>> 
>>> Is there any objection to merging the 2nddonation branch
 into
>>> master
>> today?
>>> 
>>> https://github.com/apache/incu
 bator-netbeans/tree/2ndDonation
>>> 
>>> Gj
>>> 
>>> On Sun, Jul 29, 2018 at 9:44 PM, Geertjan Wielenga <
>>> geertjan.wiele...@googlemail.com> wrote:

Re: Determine the "current" project from module code

2018-08-01 Thread georgetroulis



On 2018/07/30 21:06:12, Jan Lahoda  wrote: 
> There is
> org.netbeans.spi.project.ui.support.ProjectSensitiveActions.projectSensitiveAction
> in module projectuiapi, which may be useful (a custom performer is called
> with the current project when the action is invoked).
> 
> Alternatively, you could look into the Lookup returned from
> org.openide.util.Utilities.actionsGlobalContext to see if there's a
> FileObject/DataObject inside, and then use FileOwnerQuery.getOwner.
> 
> Jan
> 
> 
> On Mon, Jul 30, 2018 at 10:53 PM, georgetrou...@gmail.com <
> georgetrou...@gmail.com> wrote:
> 
> >
> >
> > On 2018/07/30 19:42:59, Svata Dedic  wrote:
> > > Dne 30.7.2018 v 21:05 georgetrou...@gmail.com napsal(a):
> > > > Hi, I'm developing a module for Netbeans, and it needs to have
> > "project-specific" functionality i.e. similar to how the "Run Application"
> > button in the toolbar compiles and runs only the current project.
> > > >
> > >
> > > Define what is "current" :) Is it "the project, which owns the active
> > > editor" ? Or "the project which owns the active node's file" (which may
> > > change as e.g. file explorer or various supplemental windows are
> > > activated) ... Or has the user to specifically open a project explorer
> > > and select project's node before your action ? Please be more specific
> > > what "current" means in your scenarios.
> > >
> > > -Svata
> > >
> > > -
> > > 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
> > >
> > >
> > >
> >  I'm a little bit new to some of the NetBeans terminologies (i.e. Nodes
> > etc), but I can try my best to explain. I'm thinking in terms of how the
> > "Run Project" button works in the main toolbar, and how that must determine
> > which project to run somehow. That project that it "chooses to run" is what
> > I mean by the "current" project.
> >
> > I hope that is more specific :) Thanks for your reply
> >
> > -
> > 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
> >
> >
> >
> >
> 

I got it to work! Thanks to everyone for your feedback/help. I familiarized 
myself with the Lookup API and Nodes (both concepts I didn't know about). 

I utilized the actionsGlobalContext() to get the global lookup, and used it to 
lookup for FileObjects (doing a Lookup on Nodes didn't help for some reason). 
There was always at most FileObject returned, which nicely corresponded to my 
"current project" as I had defined it in my mind. 

>From there I was easily able to trace the FileObject to its owning Project 
>with a FileOwnerQuery. Thanks again everyone :)

-
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





Re: [DISCUSS] Integration of 2nd donation

2018-08-01 Thread Junichi Yamamoto
Hi,

I just created a PR[1], but I'm not sure whether it is correct.

[1] https://github.com/apache/incubator-netbeans/pull/644

Thanks,
Junichi


On Wed, Aug 1, 2018 at 6:50 PM Geertjan Wielenga
 wrote:
>
> OK. There are 430 people registered on this mailing list.
>
> Until someone responds to this thread or simply uses their existing
> knowledge to bring the 2nd donation into master probably in the way
> suggested by Jan Lahoda above in this thread, integration of the 2nd
> donation is effectvely dead. Want Java EE in Apache NetBeans? Want PHP?
> Groovy? JavaScript? Then answer the open questions here or please do the
> merge in one way or another yourself. :-)
>
> Gj
>
>
> On Wednesday, August 1, 2018, Geertjan Wielenga <
> geertjan.wiele...@googlemail.com> wrote:
>
> > My fork's master is now merged into my fork's 2ndDonation branch:
> >
> > https://github.com/geertjanw/incubator-netbeans/tree/2ndDonation
> >
> > Using:
> >
> > git clone -b 2ndDonation https://github.com/geertjanw/
> > incubator-netbeans.git
> >
> > git pull https://github.com/apache/incubator-netbeans.git
> > --allow-unrelated-histories
> >
> > From my 2ndDonation branch, I could do a PR for the origin repo's
> > 2ndDonation branch.
> >
> > Is that the next step or something else (or does someone who knows what
> > needs to be done want to do it)?
> >
> > Gj
> >
> >
> >
> > On Wed, Aug 1, 2018 at 7:57 AM, Geertjan Wielenga <
> > geertjan.wiele...@googlemail.com> wrote:
> >
> >> OK.
> >>
> >> What are the PR checks exactly, i.e., how will we know this approach is
> >> successful?
> >>
> >> Should I do this in my fork first? Or straight into the 2ndDonation
> >> branch at https://github.com/apache/incubator-netbeans/tree/2ndDonation?
> >>
> >> Gj
> >>
> >> On Tue, Jul 31, 2018 at 7:04 PM, Jan Lahoda  wrote:
> >>
> >>> On Tue, Jul 31, 2018 at 5:19 PM, Geertjan Wielenga <
> >>> geertjan.wiele...@googlemail.com.invalid> wrote:
> >>>
> >>> > Did the above (including --allow-unrelated-histories), ran Ant Rat,
> >>> and was
> >>> > encouraged to find 'only' 1223 unknown licenses identified:
> >>> >
> >>> > https://cwiki.apache.org/confluence/display/NETBEANS/
> >>> > Initial+Rat+Report+for+2nd+Donation
> >>> >
> >>> > I believe that if I were to do a push, the Ant Rat that is run
> >>> > automatically needs to be tweaked to include the new clusters.
> >>> >
> >>> > Jan Lahoda, I think you can tell more about this and explain what
> >>> needs to
> >>> > be done re Rat and then someone can do that.
> >>> >
> >>>
> >>> I think it might be good to merge master into the 2ndDonation  branch
> >>> (and
> >>> push to 2ndDonation). Then it might(?) be possible to create a PR from
> >>> 2ndDonation to master (which would run all the PR checks for us
> >>> automatically). I though rat wouldn't need need tweaks in travis config,
> >>> but apparently it will need some - I can try to do that, but having
> >>> master
> >>> merged into the 2ndDonation branch would help.
> >>>
> >>> Thanks,
> >>>  Jan
> >>>
> >>>
> >>> > Thanks,
> >>> >
> >>> > Gj
> >>> >
> >>> >
> >>> > On Tue, Jul 31, 2018 at 5:02 PM, Peter Steele 
> >>> > wrote:
> >>> >
> >>> > > You do it locally on your own PC, clone master, pull in chosen
> >>> branch,
> >>> > > commit and push. I don't know of a way to do it on the GitHub site,
> >>> using
> >>> > > git commands is easiest. There is probably a gui to do this too
> >>> > >
> >>> > > On Tue, 31 Jul 2018 15:58 Geertjan Wielenga,
> >>> > >  wrote:
> >>> > >
> >>> > > > Apologies for my ignorance, but should someone do this in their own
> >>> > clone
> >>> > > > or should it be done directly in
> >>> > > > https://github.com/apache/incubator-netbeans?
> >>> > > >
> >>> > > > Gj
> >>> > > >
> >>> > > > On Tue, Jul 31, 2018 at 4:45 PM, Peter Steele <
> >>> steeleh...@gmail.com>
> >>> > > > wrote:
> >>> > > >
> >>> > > > > https://help.github.com/articles/merging-an-upstream-
> >>> > > > > repository-into-your-fork/
> >>> > > > >
> >>> > > > > On Tue, 31 Jul 2018 15:41 Geertjan Wielenga,
> >>> > > > >  wrote:
> >>> > > > >
> >>> > > > > > Is there a way to merge the branch into master on GitHub?
> >>> > > > > >
> >>> > > > > > Or is there someone who can recommend best practices for doing
> >>> > this?
> >>> > > > > >
> >>> > > > > > Thanks,
> >>> > > > > >
> >>> > > > > > Gj
> >>> > > > > >
> >>> > > > > >
> >>> > > > > > On Tue, Jul 31, 2018 at 4:16 PM, Josh Juneau <
> >>> juneau...@gmail.com>
> >>> > > > > wrote:
> >>> > > > > >
> >>> > > > > > > Looking forward to getting started with the work on this 2nd
> >>> > > > donation.
> >>> > > > > > >
> >>> > > > > > > On Tue, Jul 31, 2018 at 3:09 AM Geertjan Wielenga
> >>> > > > > > >  wrote:
> >>> > > > > > >
> >>> > > > > > > > Is there any objection to merging the 2nddonation branch
> >>> into
> >>> > > > master
> >>> > > > > > > today?
> >>> > > > > > > >
> >>> > > > > > > > https://github.com/apache/incu
> >>> bator-netbeans/tree/2ndDonation
> >>> > > > > > > >
> >>> > > > > > > > Gj
> 

Re: [DISCUSS] Integration of 2nd donation

2018-08-01 Thread Peter Steele
Gj

I'm not sure I fully understand what the issue is. I suspect it's not a
clear direction on what the branching strategy is for this project. There
are also conflicting ideas which makes it hard to comment.

If you just want to merge everything in to master then the way to do this
has been discussed already. This is a very standard thing to do in git.

I personally don't agree with this approach because master should contain
everything that has been signed off and this code has not been signed off.
You have a branch so use that branch for approving everything then merge in
to master once donation 2 is signed off. Remember you can cherry pick
commits to the master branch back to the donation2 branch to keep them in
sync.

The donation2 branch should be a copy of master with the additional
modules. Does it?

The rat report should be run from this new branch

The new modules should be added to the rate report if they need to be
configured.

The committers need to agree on the branching strategy then the to-do list
falls in to place easily.





On Wed, 1 Aug 2018 10:50 Geertjan Wielenga,
 wrote:

> OK. There are 430 people registered on this mailing list.
>
> Until someone responds to this thread or simply uses their existing
> knowledge to bring the 2nd donation into master probably in the way
> suggested by Jan Lahoda above in this thread, integration of the 2nd
> donation is effectvely dead. Want Java EE in Apache NetBeans? Want PHP?
> Groovy? JavaScript? Then answer the open questions here or please do the
> merge in one way or another yourself. :-)
>
> Gj
>
>
> On Wednesday, August 1, 2018, Geertjan Wielenga <
> geertjan.wiele...@googlemail.com> wrote:
>
> > My fork's master is now merged into my fork's 2ndDonation branch:
> >
> > https://github.com/geertjanw/incubator-netbeans/tree/2ndDonation
> >
> > Using:
> >
> > git clone -b 2ndDonation https://github.com/geertjanw/
> > incubator-netbeans.git
> >
> > git pull https://github.com/apache/incubator-netbeans.git
> > --allow-unrelated-histories
> >
> > From my 2ndDonation branch, I could do a PR for the origin repo's
> > 2ndDonation branch.
> >
> > Is that the next step or something else (or does someone who knows what
> > needs to be done want to do it)?
> >
> > Gj
> >
> >
> >
> > On Wed, Aug 1, 2018 at 7:57 AM, Geertjan Wielenga <
> > geertjan.wiele...@googlemail.com> wrote:
> >
> >> OK.
> >>
> >> What are the PR checks exactly, i.e., how will we know this approach is
> >> successful?
> >>
> >> Should I do this in my fork first? Or straight into the 2ndDonation
> >> branch at https://github.com/apache/incubator-netbeans/tree/2ndDonation
> ?
> >>
> >> Gj
> >>
> >> On Tue, Jul 31, 2018 at 7:04 PM, Jan Lahoda  wrote:
> >>
> >>> On Tue, Jul 31, 2018 at 5:19 PM, Geertjan Wielenga <
> >>> geertjan.wiele...@googlemail.com.invalid> wrote:
> >>>
> >>> > Did the above (including --allow-unrelated-histories), ran Ant Rat,
> >>> and was
> >>> > encouraged to find 'only' 1223 unknown licenses identified:
> >>> >
> >>> > https://cwiki.apache.org/confluence/display/NETBEANS/
> >>> > Initial+Rat+Report+for+2nd+Donation
> >>> >
> >>> > I believe that if I were to do a push, the Ant Rat that is run
> >>> > automatically needs to be tweaked to include the new clusters.
> >>> >
> >>> > Jan Lahoda, I think you can tell more about this and explain what
> >>> needs to
> >>> > be done re Rat and then someone can do that.
> >>> >
> >>>
> >>> I think it might be good to merge master into the 2ndDonation  branch
> >>> (and
> >>> push to 2ndDonation). Then it might(?) be possible to create a PR from
> >>> 2ndDonation to master (which would run all the PR checks for us
> >>> automatically). I though rat wouldn't need need tweaks in travis
> config,
> >>> but apparently it will need some - I can try to do that, but having
> >>> master
> >>> merged into the 2ndDonation branch would help.
> >>>
> >>> Thanks,
> >>>  Jan
> >>>
> >>>
> >>> > Thanks,
> >>> >
> >>> > Gj
> >>> >
> >>> >
> >>> > On Tue, Jul 31, 2018 at 5:02 PM, Peter Steele 
> >>> > wrote:
> >>> >
> >>> > > You do it locally on your own PC, clone master, pull in chosen
> >>> branch,
> >>> > > commit and push. I don't know of a way to do it on the GitHub site,
> >>> using
> >>> > > git commands is easiest. There is probably a gui to do this too
> >>> > >
> >>> > > On Tue, 31 Jul 2018 15:58 Geertjan Wielenga,
> >>> > >  wrote:
> >>> > >
> >>> > > > Apologies for my ignorance, but should someone do this in their
> own
> >>> > clone
> >>> > > > or should it be done directly in
> >>> > > > https://github.com/apache/incubator-netbeans?
> >>> > > >
> >>> > > > Gj
> >>> > > >
> >>> > > > On Tue, Jul 31, 2018 at 4:45 PM, Peter Steele <
> >>> steeleh...@gmail.com>
> >>> > > > wrote:
> >>> > > >
> >>> > > > > https://help.github.com/articles/merging-an-upstream-
> >>> > > > > repository-into-your-fork/
> >>> > > > >
> >>> > > > > On Tue, 31 Jul 2018 15:41 Geertjan Wielenga,
> >>> > > > >  wrote:
> >>> > > > >
> >>> > > > > > Is 

RE: [Apache NetBeans 9 Apress Book] Starting the new book

2018-08-01 Thread Delfi Ramirez



Agreed to most of the proposed index / scheme

Please consider

"* Part 1: Using Apache NetBeans *: Chapter 3: New features, jigsaw support, 
jshell, etc."

To be indexed in Part 3, or part 2, for academic purposes, maybe. due to the 
fact that the "New features" section can grow in a second donation or through 
git collab

cheers


Delfi Ramirez

Segonquart Studio

https://segonquart.net

From: John Kostaras
Sent: 01 August 2018 10:02
To: dev@netbeans.incubator.apache.org
Subject: [Apache NetBeans 9 Apress Book] Starting the new book

Hallo again,

and thank you for your feedback. I couldn't have described the effort
needed in a better way.

In order to somehow start, here are few things that we need to consider in
my opinion.

   1. *How we can cooperate.*
  1. I suggest that we use a header like the one in this email in order
  to make it easier to categorise the emails targeting the group of authors
  of the book, and don't disturb others in the dev mailing list.
  2. I have also created a google group (
  netbeans-9-community-b...@googlegroups.com) which you could join (I
  'll also try to invite some of those in this thread that are
interested in
  contributing).
  3. Are you aware of any web co-authoring tool? There are a number
  wiki-like ones, free and non-free, but I don't know of any that
we can keep
  our work restricted of the world. I use for example github.io. I
  don't know if Apress can offer us such an infrastructure, i.e. a
wiki that
  can be private to its members to co-author a book? Bertrand mentions that
  Any PoC in Apress Josh?
   2. *Book structure*
  1. We also need to decide on the book structure. Geertjan already
  proposed to split it into three parts, each of
  which could be split into about 5 chapters:
  Part 1: Using Apache NetBeans
  Part 2: Extending Apache NetBeans
  Part 3: Contributing to Apache NetBeans
  2. We need to decide what will these 5x3 = 15 chapters are going to
  be and who writes what.
  1. E.g. thanks to Oliver:
 2. - https://www.youtube.com/watch?v=h4k5JpluJM8
   https://www.slideshare.net/GeertjanWielenga/extending-nbide
 - new language support
 - some available language additions
 - useful available external plugins
 3. Thanks to Milos here is a lot of material on NetBeans Platform
 Cookbook  which
 we could use as a base for some chapters rewriting them to NB
9 (again for
 Part 2)
 4. I 'll do a search and provide a list of all available NetBeans
 books published so far, so that we could have an idea what
has been out
 there, and maybe give more ideas for chapters.

Here is a very draft proposal of the various chapters, but we could discuss
of course:

*Part 1: Using Apache NetBeans*
Chapter 1: What is NetBeans. A short history of NetBeans. Apache NetBeans.
Distinction of NetBeans platform and NetBeans IDE. New features support in
version 9. How do download and install Apache NetBeans 9
Chapter 2: Getting Started with NetBeans. Layout, editing files and
projects, tips and tricks
Chapter 3: New features, jigsaw support, jshell etc.
Chapter 4: Running, debugging, profiling applications
Chapter 5: Developing desktop applications (Swing and JavaFX)

*Part 2: Extending Apache NetBeans*
Chapter 6: Introduction to NetBeans RCP. Core, UI
Chapter 7: Module System, File System, Lookup
Chapter 8: Window system, Actions, Nodes and Explorers, HTML/UI
Chapter 9: Extras, Visual Library, Dialogs, etc.
Chapter 10: Writing a NetBeans plugin

*Part 3: Contributing to Apache NetBeans* *(a lot of material can be found
in our cwiki )*
Chapter 11: Overview of how NetBeans 9 is hosted in Apache, infrastructure:
Apache JIRA, Confluence, wiki etc.
Chapter 12: Apache mailing list, Apache NetBeans web page
Chapter 13: NetCAT, synergy
Chapter 14: How to download and build Apache NetBeans 9 from sources;
Chapter 15: How to contribute (fixing bugs, articles, web site, NETCAT,
writing plugins); what needs to be done (e.g. code donations etc.)

I look forward your feedback.

Regards,

John.


On Mon, 16 Jul 2018 at 14:38, Geertjan Wielenga
 wrote:

> Broadly, I think such a book should be split into three parts, each of
> which could be split into about 5 chapters:
>
> Part 1: Using Apache NetBeans
> Part 2: Extending Apache NetBeans
> Part 3: Contributing to Apache NetBeans
>
> Gj
>
> On Monday, July 16, 2018, Delfi Ramirez  wrote:
>
> > Hi All:
> >
> > Agreed there is the  need of a chapter-by-chapter community written book.
> >
> > Count me in. Even if there is the need for the book, once written,  of a
> > single translator for the whole community content.
> >
> > Even everyone of us has English as a mother tongue or second tongue, we
> > may able to reach and target new markets and new 

Re: [DISCUSS] Integration of 2nd donation

2018-08-01 Thread Geertjan Wielenga
OK. There are 430 people registered on this mailing list.

Until someone responds to this thread or simply uses their existing
knowledge to bring the 2nd donation into master probably in the way
suggested by Jan Lahoda above in this thread, integration of the 2nd
donation is effectvely dead. Want Java EE in Apache NetBeans? Want PHP?
Groovy? JavaScript? Then answer the open questions here or please do the
merge in one way or another yourself. :-)

Gj


On Wednesday, August 1, 2018, Geertjan Wielenga <
geertjan.wiele...@googlemail.com> wrote:

> My fork's master is now merged into my fork's 2ndDonation branch:
>
> https://github.com/geertjanw/incubator-netbeans/tree/2ndDonation
>
> Using:
>
> git clone -b 2ndDonation https://github.com/geertjanw/
> incubator-netbeans.git
>
> git pull https://github.com/apache/incubator-netbeans.git
> --allow-unrelated-histories
>
> From my 2ndDonation branch, I could do a PR for the origin repo's
> 2ndDonation branch.
>
> Is that the next step or something else (or does someone who knows what
> needs to be done want to do it)?
>
> Gj
>
>
>
> On Wed, Aug 1, 2018 at 7:57 AM, Geertjan Wielenga <
> geertjan.wiele...@googlemail.com> wrote:
>
>> OK.
>>
>> What are the PR checks exactly, i.e., how will we know this approach is
>> successful?
>>
>> Should I do this in my fork first? Or straight into the 2ndDonation
>> branch at https://github.com/apache/incubator-netbeans/tree/2ndDonation?
>>
>> Gj
>>
>> On Tue, Jul 31, 2018 at 7:04 PM, Jan Lahoda  wrote:
>>
>>> On Tue, Jul 31, 2018 at 5:19 PM, Geertjan Wielenga <
>>> geertjan.wiele...@googlemail.com.invalid> wrote:
>>>
>>> > Did the above (including --allow-unrelated-histories), ran Ant Rat,
>>> and was
>>> > encouraged to find 'only' 1223 unknown licenses identified:
>>> >
>>> > https://cwiki.apache.org/confluence/display/NETBEANS/
>>> > Initial+Rat+Report+for+2nd+Donation
>>> >
>>> > I believe that if I were to do a push, the Ant Rat that is run
>>> > automatically needs to be tweaked to include the new clusters.
>>> >
>>> > Jan Lahoda, I think you can tell more about this and explain what
>>> needs to
>>> > be done re Rat and then someone can do that.
>>> >
>>>
>>> I think it might be good to merge master into the 2ndDonation  branch
>>> (and
>>> push to 2ndDonation). Then it might(?) be possible to create a PR from
>>> 2ndDonation to master (which would run all the PR checks for us
>>> automatically). I though rat wouldn't need need tweaks in travis config,
>>> but apparently it will need some - I can try to do that, but having
>>> master
>>> merged into the 2ndDonation branch would help.
>>>
>>> Thanks,
>>>  Jan
>>>
>>>
>>> > Thanks,
>>> >
>>> > Gj
>>> >
>>> >
>>> > On Tue, Jul 31, 2018 at 5:02 PM, Peter Steele 
>>> > wrote:
>>> >
>>> > > You do it locally on your own PC, clone master, pull in chosen
>>> branch,
>>> > > commit and push. I don't know of a way to do it on the GitHub site,
>>> using
>>> > > git commands is easiest. There is probably a gui to do this too
>>> > >
>>> > > On Tue, 31 Jul 2018 15:58 Geertjan Wielenga,
>>> > >  wrote:
>>> > >
>>> > > > Apologies for my ignorance, but should someone do this in their own
>>> > clone
>>> > > > or should it be done directly in
>>> > > > https://github.com/apache/incubator-netbeans?
>>> > > >
>>> > > > Gj
>>> > > >
>>> > > > On Tue, Jul 31, 2018 at 4:45 PM, Peter Steele <
>>> steeleh...@gmail.com>
>>> > > > wrote:
>>> > > >
>>> > > > > https://help.github.com/articles/merging-an-upstream-
>>> > > > > repository-into-your-fork/
>>> > > > >
>>> > > > > On Tue, 31 Jul 2018 15:41 Geertjan Wielenga,
>>> > > > >  wrote:
>>> > > > >
>>> > > > > > Is there a way to merge the branch into master on GitHub?
>>> > > > > >
>>> > > > > > Or is there someone who can recommend best practices for doing
>>> > this?
>>> > > > > >
>>> > > > > > Thanks,
>>> > > > > >
>>> > > > > > Gj
>>> > > > > >
>>> > > > > >
>>> > > > > > On Tue, Jul 31, 2018 at 4:16 PM, Josh Juneau <
>>> juneau...@gmail.com>
>>> > > > > wrote:
>>> > > > > >
>>> > > > > > > Looking forward to getting started with the work on this 2nd
>>> > > > donation.
>>> > > > > > >
>>> > > > > > > On Tue, Jul 31, 2018 at 3:09 AM Geertjan Wielenga
>>> > > > > > >  wrote:
>>> > > > > > >
>>> > > > > > > > Is there any objection to merging the 2nddonation branch
>>> into
>>> > > > master
>>> > > > > > > today?
>>> > > > > > > >
>>> > > > > > > > https://github.com/apache/incu
>>> bator-netbeans/tree/2ndDonation
>>> > > > > > > >
>>> > > > > > > > Gj
>>> > > > > > > >
>>> > > > > > > > On Sun, Jul 29, 2018 at 9:44 PM, Geertjan Wielenga <
>>> > > > > > > > geertjan.wiele...@googlemail.com> wrote:
>>> > > > > > > >
>>> > > > > > > > > Is there anything stopping us from merging the 2nd
>>> donation
>>> > > > branch
>>> > > > > > into
>>> > > > > > > > > master?
>>> > > > > > > > >
>>> > > > > > > > > If not, let's do it, then take a look at the Rat report
>>> after
>>> > > the
>>> > > > > > first
>>> > > > > > > > > build that includes 

[Apache NetBeans 9 Apress Book] Starting the new book

2018-08-01 Thread John Kostaras
Hallo again,

and thank you for your feedback. I couldn't have described the effort
needed in a better way.

In order to somehow start, here are few things that we need to consider in
my opinion.

   1. *How we can cooperate.*
  1. I suggest that we use a header like the one in this email in order
  to make it easier to categorise the emails targeting the group of authors
  of the book, and don't disturb others in the dev mailing list.
  2. I have also created a google group (
  netbeans-9-community-b...@googlegroups.com) which you could join (I
  'll also try to invite some of those in this thread that are
interested in
  contributing).
  3. Are you aware of any web co-authoring tool? There are a number
  wiki-like ones, free and non-free, but I don't know of any that
we can keep
  our work restricted of the world. I use for example github.io. I
  don't know if Apress can offer us such an infrastructure, i.e. a
wiki that
  can be private to its members to co-author a book? Bertrand mentions that
  Any PoC in Apress Josh?
   2. *Book structure*
  1. We also need to decide on the book structure. Geertjan already
  proposed to split it into three parts, each of
  which could be split into about 5 chapters:
  Part 1: Using Apache NetBeans
  Part 2: Extending Apache NetBeans
  Part 3: Contributing to Apache NetBeans
  2. We need to decide what will these 5x3 = 15 chapters are going to
  be and who writes what.
  1. E.g. thanks to Oliver:
 2. - https://www.youtube.com/watch?v=h4k5JpluJM8
   https://www.slideshare.net/GeertjanWielenga/extending-nbide
 - new language support
 - some available language additions
 - useful available external plugins
 3. Thanks to Milos here is a lot of material on NetBeans Platform
 Cookbook  which
 we could use as a base for some chapters rewriting them to NB
9 (again for
 Part 2)
 4. I 'll do a search and provide a list of all available NetBeans
 books published so far, so that we could have an idea what
has been out
 there, and maybe give more ideas for chapters.

Here is a very draft proposal of the various chapters, but we could discuss
of course:

*Part 1: Using Apache NetBeans*
Chapter 1: What is NetBeans. A short history of NetBeans. Apache NetBeans.
Distinction of NetBeans platform and NetBeans IDE. New features support in
version 9. How do download and install Apache NetBeans 9
Chapter 2: Getting Started with NetBeans. Layout, editing files and
projects, tips and tricks
Chapter 3: New features, jigsaw support, jshell etc.
Chapter 4: Running, debugging, profiling applications
Chapter 5: Developing desktop applications (Swing and JavaFX)

*Part 2: Extending Apache NetBeans*
Chapter 6: Introduction to NetBeans RCP. Core, UI
Chapter 7: Module System, File System, Lookup
Chapter 8: Window system, Actions, Nodes and Explorers, HTML/UI
Chapter 9: Extras, Visual Library, Dialogs, etc.
Chapter 10: Writing a NetBeans plugin

*Part 3: Contributing to Apache NetBeans* *(a lot of material can be found
in our cwiki )*
Chapter 11: Overview of how NetBeans 9 is hosted in Apache, infrastructure:
Apache JIRA, Confluence, wiki etc.
Chapter 12: Apache mailing list, Apache NetBeans web page
Chapter 13: NetCAT, synergy
Chapter 14: How to download and build Apache NetBeans 9 from sources;
Chapter 15: How to contribute (fixing bugs, articles, web site, NETCAT,
writing plugins); what needs to be done (e.g. code donations etc.)

I look forward your feedback.

Regards,

John.


On Mon, 16 Jul 2018 at 14:38, Geertjan Wielenga
 wrote:

> Broadly, I think such a book should be split into three parts, each of
> which could be split into about 5 chapters:
>
> Part 1: Using Apache NetBeans
> Part 2: Extending Apache NetBeans
> Part 3: Contributing to Apache NetBeans
>
> Gj
>
> On Monday, July 16, 2018, Delfi Ramirez  wrote:
>
> > Hi All:
> >
> > Agreed there is the  need of a chapter-by-chapter community written book.
> >
> > Count me in. Even if there is the need for the book, once written,  of a
> > single translator for the whole community content.
> >
> > Even everyone of us has English as a mother tongue or second tongue, we
> > may able to reach and target new markets and new loyal fellows in this
> > world wide world we live in
> >
> > Cheers
> >
> >
> > Delfi Ramirez
> >
> > Segonquart Studio
> >
> > https://segonquart.net
> >
> > From: Oliver Rettig
> > Sent: 16 July 2018 13:47
> > To: dev@netbeans.incubator.apache.org
> > Subject: Re: Apache NetBeans Apress Book
> >
> > Hi all,
> >
> > I like the idea of a  community-written book very much. This can
> encourage
> > people to join
> > our great community and it show that netbeans is now a apache project ...
> > For me the
> > community is one of the most 

Re: [DISCUSS] Integration of 2nd donation

2018-08-01 Thread Geertjan Wielenga
My fork's master is now merged into my fork's 2ndDonation branch:

https://github.com/geertjanw/incubator-netbeans/tree/2ndDonation

Using:

git clone -b 2ndDonation https://github.com/geertjanw/incubator-netbeans.git

git pull https://github.com/apache/incubator-netbeans.git
--allow-unrelated-histories

>From my 2ndDonation branch, I could do a PR for the origin repo's
2ndDonation branch.

Is that the next step or something else (or does someone who knows what
needs to be done want to do it)?

Gj



On Wed, Aug 1, 2018 at 7:57 AM, Geertjan Wielenga <
geertjan.wiele...@googlemail.com> wrote:

> OK.
>
> What are the PR checks exactly, i.e., how will we know this approach is
> successful?
>
> Should I do this in my fork first? Or straight into the 2ndDonation branch
> at https://github.com/apache/incubator-netbeans/tree/2ndDonation?
>
> Gj
>
> On Tue, Jul 31, 2018 at 7:04 PM, Jan Lahoda  wrote:
>
>> On Tue, Jul 31, 2018 at 5:19 PM, Geertjan Wielenga <
>> geertjan.wiele...@googlemail.com.invalid> wrote:
>>
>> > Did the above (including --allow-unrelated-histories), ran Ant Rat, and
>> was
>> > encouraged to find 'only' 1223 unknown licenses identified:
>> >
>> > https://cwiki.apache.org/confluence/display/NETBEANS/
>> > Initial+Rat+Report+for+2nd+Donation
>> >
>> > I believe that if I were to do a push, the Ant Rat that is run
>> > automatically needs to be tweaked to include the new clusters.
>> >
>> > Jan Lahoda, I think you can tell more about this and explain what needs
>> to
>> > be done re Rat and then someone can do that.
>> >
>>
>> I think it might be good to merge master into the 2ndDonation  branch (and
>> push to 2ndDonation). Then it might(?) be possible to create a PR from
>> 2ndDonation to master (which would run all the PR checks for us
>> automatically). I though rat wouldn't need need tweaks in travis config,
>> but apparently it will need some - I can try to do that, but having master
>> merged into the 2ndDonation branch would help.
>>
>> Thanks,
>>  Jan
>>
>>
>> > Thanks,
>> >
>> > Gj
>> >
>> >
>> > On Tue, Jul 31, 2018 at 5:02 PM, Peter Steele 
>> > wrote:
>> >
>> > > You do it locally on your own PC, clone master, pull in chosen branch,
>> > > commit and push. I don't know of a way to do it on the GitHub site,
>> using
>> > > git commands is easiest. There is probably a gui to do this too
>> > >
>> > > On Tue, 31 Jul 2018 15:58 Geertjan Wielenga,
>> > >  wrote:
>> > >
>> > > > Apologies for my ignorance, but should someone do this in their own
>> > clone
>> > > > or should it be done directly in
>> > > > https://github.com/apache/incubator-netbeans?
>> > > >
>> > > > Gj
>> > > >
>> > > > On Tue, Jul 31, 2018 at 4:45 PM, Peter Steele > >
>> > > > wrote:
>> > > >
>> > > > > https://help.github.com/articles/merging-an-upstream-
>> > > > > repository-into-your-fork/
>> > > > >
>> > > > > On Tue, 31 Jul 2018 15:41 Geertjan Wielenga,
>> > > > >  wrote:
>> > > > >
>> > > > > > Is there a way to merge the branch into master on GitHub?
>> > > > > >
>> > > > > > Or is there someone who can recommend best practices for doing
>> > this?
>> > > > > >
>> > > > > > Thanks,
>> > > > > >
>> > > > > > Gj
>> > > > > >
>> > > > > >
>> > > > > > On Tue, Jul 31, 2018 at 4:16 PM, Josh Juneau <
>> juneau...@gmail.com>
>> > > > > wrote:
>> > > > > >
>> > > > > > > Looking forward to getting started with the work on this 2nd
>> > > > donation.
>> > > > > > >
>> > > > > > > On Tue, Jul 31, 2018 at 3:09 AM Geertjan Wielenga
>> > > > > > >  wrote:
>> > > > > > >
>> > > > > > > > Is there any objection to merging the 2nddonation branch
>> into
>> > > > master
>> > > > > > > today?
>> > > > > > > >
>> > > > > > > > https://github.com/apache/incu
>> bator-netbeans/tree/2ndDonation
>> > > > > > > >
>> > > > > > > > Gj
>> > > > > > > >
>> > > > > > > > On Sun, Jul 29, 2018 at 9:44 PM, Geertjan Wielenga <
>> > > > > > > > geertjan.wiele...@googlemail.com> wrote:
>> > > > > > > >
>> > > > > > > > > Is there anything stopping us from merging the 2nd
>> donation
>> > > > branch
>> > > > > > into
>> > > > > > > > > master?
>> > > > > > > > >
>> > > > > > > > > If not, let's do it, then take a look at the Rat report
>> after
>> > > the
>> > > > > > first
>> > > > > > > > > build that includes the branch, and see what kind and how
>> > many
>> > > > > > problems
>> > > > > > > > are
>> > > > > > > > > identified and how to solve them.
>> > > > > > > > >
>> > > > > > > > > Thanks,
>> > > > > > > > >
>> > > > > > > > > Gj
>> > > > > > > > >
>> > > > > > > > >
>> > > > > > > > >
>> > > > > > > > > On Thu, Jul 26, 2018 at 11:00 PM, Antonio <
>> > anto...@vieiro.net>
>> > > > > > wrote:
>> > > > > > > > >
>> > > > > > > > >> That's easy: I still own one of the NetBeans Day in 2004
>> > > > > > somewhere...
>> > > > > > > > >>
>> > > > > > > > >> El 26/07/2018 a las 22:58, Emilian Bold escribió:
>> > > > > > > > >>
>> > > > > > > > >>> We just need some tshirts to gift people :-)
>> > > > > > > > >>>
>> > > > > > > > >>> --emi