Re: [VOTE] Release Apache NetBeans 15 macOS Installer

2022-08-29 Thread David Green
 +1 non-binding

tested shasum -a 512 -c Apache-NetBeans-15-bin-macosx.dmg.sha512 OK
Installed
Installed JavaFX plug-in
Migrated settings in, migrated 4 plugins over with restart
Tried simple JavaFX (clean, build, run) fine
Tried a small Swing App (clean, build, run) fine

Thanks all for your efforts.

On Aug 29, 2022 at 5:41:26 AM, John Mc  wrote:

> Vote for Apache NetBeans 15 macOS installer.
>
> Primary voting artefact :
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/15/Apache-NetBeans-15-bin-macosx.dmg
>
> SHA512 checksum :
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/15/Apache-NetBeans-15-bin-macosx.dmg.sha512
>
> 153ffe0f5a7feb56e6184ef4519727f9090d9eded4e29ac7e2566a1658773379c93155672100c9b9d70be9f0491ef6c8480d0b67ec0b376f6261e7dbd3e53faa
> Apache-NetBeans-15-bin-macosx.dmg
>
> KEYS file :
> https://dist.apache.org/repos/dist/release/netbeans/KEYS
>
> PGP signature file :
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/15/Apache-NetBeans-15-bin-macosx.dmg.asc
>
> Built locally using the artefacts found in the Jenkins job:
>
> https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release150/16/
>
> This vote is going to be open at least 72 hours, vote with +1, 0, and
> -1 as usual. Please mark your vote with (binding) if you're an Apache
> NetBeans PMC member.
>
> This vote is dependent on the main Apache NetBeans 15 release vote passing.
>
> Regards
>
> John
>


Re: [VOTE] Release Apache NetBeans 14 macOS Installer

2022-06-04 Thread David Green
 More info:

*Java:* 17.0.3; OpenJDK 64-Bit Server VM 17.0.3+7-LTS

*Runtime:* OpenJDK Runtime Environment 17.0.3+7-LTS

On Jun 4, 2022 at 10:58:17 AM, David Green  wrote:

> +1
>
> MacBook Pro 2021 M1 Pro, Monterey 12.4
>
> Checksum check says "OK":
>
> shasum -a 512 -c Apache-NetBeans-14-bin-macosx.dmg.sha512
>
> Install works without issue and properly dismounts mounted .DMG and puts
> it in trash (when that option is chosen)
>
> Created a simple maven app.  Still has weird headers
>
> /*
>  * Click 
> nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to 
> change this license
>  * Click 
> nbfs://nbhost/SystemFileSystem/Templates/Project/Maven2/JavaApp/src/main/java/${packagePath}/${mainClassName}.java
>  to edit this template
>  */
>
>
> Note that packagePath and mainClassName variables are **not** substituted
> for.
>
> It is an Intel app so it requires Rosetta on Mac.  Is there a timetable
> for addressing this in a later release?
>
> Installed a couple plug-ins (external formatter, gitignore) without issues
>
> Cut & Paste from another macOS app into NetBeans source editor works.
>
> Cut & Paste into terminal window require CTRL+Shift+X and CTRL+Shift+V (as
> shown on right-click).  **Should it be CMD instead of CTRL?**
>
> An existing JavaFX program builds runs from the GUI.
>
> Close NetBeans, Remove the 14 userdir then restart choosing to migrate 13
> settings.  No issues found.
>
> Thanks for all the efforts!
>
> Dave
>
> On Jun 4, 2022 at 12:51:37 AM, John Mc  wrote:
>
>> Vote for Apache NetBeans 14 macOS installer.
>>
>> Primary voting artefact :
>>
>> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-macosx.dmg
>>
>>
>> SHA512 checksum :
>>
>> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-macosx.dmg.sha512
>>
>>
>> b3cf4fbe65d29a8aea05d2e6d3fcec0f4417b4a425e7b012116fa181d9f8f888018cb29b7c0ca27bf68514cecc861796102c6e9e619317187fd983ae8a4a3e5a
>> Apache-NetBeans-14-bin-macosx.dmg
>>
>>
>> KEYS file :
>> https://dist.apache.org/repos/dist/release/netbeans/KEYS
>>
>> PGP signature file :
>>
>> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-macosx.dmg.asc
>>
>> Built locally using the artefacts found in the Jenkins job:
>>
>> https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release140/27/
>>
>> This vote is going to be open at least 72 hours, vote with +1, 0, and
>> -1 as usual. Please mark your vote with (binding) if you're an Apache
>> NetBeans PMC member.
>>
>> This vote is dependent on the main Apache NetBeans 14 release vote
>> passing.
>>
>> Regards
>>
>> John
>>
>


Re: [VOTE] Release Apache NetBeans 14 macOS Installer

2022-06-04 Thread David Green
 +1

MacBook Pro 2021 M1 Pro, Monterey 12.4

Checksum check says "OK":

shasum -a 512 -c Apache-NetBeans-14-bin-macosx.dmg.sha512

Install works without issue and properly dismounts mounted .DMG and puts it
in trash (when that option is chosen)

Created a simple maven app.  Still has weird headers

/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt
to change this license
 * Click 
nbfs://nbhost/SystemFileSystem/Templates/Project/Maven2/JavaApp/src/main/java/${packagePath}/${mainClassName}.java
to edit this template
 */


Note that packagePath and mainClassName variables are **not** substituted
for.

It is an Intel app so it requires Rosetta on Mac.  Is there a timetable for
addressing this in a later release?

Installed a couple plug-ins (external formatter, gitignore) without issues

Cut & Paste from another macOS app into NetBeans source editor works.

Cut & Paste into terminal window require CTRL+Shift+X and CTRL+Shift+V (as
shown on right-click).  **Should it be CMD instead of CTRL?**

An existing JavaFX program builds runs from the GUI.

Close NetBeans, Remove the 14 userdir then restart choosing to migrate 13
settings.  No issues found.

Thanks for all the efforts!

Dave

On Jun 4, 2022 at 12:51:37 AM, John Mc  wrote:

> Vote for Apache NetBeans 14 macOS installer.
>
> Primary voting artefact :
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-macosx.dmg
>
>
> SHA512 checksum :
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-macosx.dmg.sha512
>
>
> b3cf4fbe65d29a8aea05d2e6d3fcec0f4417b4a425e7b012116fa181d9f8f888018cb29b7c0ca27bf68514cecc861796102c6e9e619317187fd983ae8a4a3e5a
> Apache-NetBeans-14-bin-macosx.dmg
>
>
> KEYS file :
> https://dist.apache.org/repos/dist/release/netbeans/KEYS
>
> PGP signature file :
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/14/Apache-NetBeans-14-bin-macosx.dmg.asc
>
> Built locally using the artefacts found in the Jenkins job:
>
> https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release140/27/
>
> This vote is going to be open at least 72 hours, vote with +1, 0, and
> -1 as usual. Please mark your vote with (binding) if you're an Apache
> NetBeans PMC member.
>
> This vote is dependent on the main Apache NetBeans 14 release vote passing.
>
> Regards
>
> John
>


Re: [VOTE] Release Apache NetBeans 13 macOS installer

2022-03-19 Thread David Green
 I should have noted Monterey 12.3

On Mar 19, 2022 at 9:22:19 AM, David Green  wrote:

> +1
>
> sha512 confirmed
> jdk17 (azul)
> no issue with security, DMG opens, double-click on .pkg works
> selected and loaded user-chosen plug-ins
> compiled and built some existing projects
>
> Thanks for sorting everything out.
>
>
> On Mar 19, 2022 at 5:11:34 AM, John Mc  wrote:
>
>> This has been a lot longer than I wanted as I got caught up with work, but
>> here is the updated macOS installer for Apache NetBeans 13.
>>
>> Primary voting artefact :
>>
>> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-macosx.dmg
>>
>> SHA512 checksum :
>>
>> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-macosx.dmg.sha512
>>
>>
>> 68cd93b697b8fa02013d4ab69f773a93c3c42f92498578470af6d808179d292649b85bdb946a9bc75d9cc94aba3d4c8e0d0a3eb3fee565ab390810ad7b609b49
>> Apache-NetBeans-13-bin-macosx.dmg
>>
>> KEYS file :
>> https://dist.apache.org/repos/dist/release/netbeans/KEYS
>>
>> PGP signature file :
>>
>> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-macosx.dmg.asc
>>
>> Built locally using the artefacts found in the Jenkins job:
>>
>> https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release130/20/
>>
>> NOTE: The distpreparation artefact from this Jenkins job was replaced
>> with:
>>
>> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/13/distpreparation.zip
>> The changes can be compared against the PR:
>> https://github.com/apache/netbeans/pull/3699
>>
>> This vote is going to be open at least 72 hours, vote with +1, 0, and
>> -1 as usual. Please mark your vote with (binding) if you're an Apache
>> NetBeans PMC member.
>>
>> This vote is dependent on the main Apache NetBeans 13 release vote
>> passing.
>>
>> Regards
>>
>> John
>>
>


Re: [VOTE] Release Apache NetBeans 13 macOS installer

2022-03-19 Thread David Green
 +1

sha512 confirmed
jdk17 (azul)
no issue with security, DMG opens, double-click on .pkg works
selected and loaded user-chosen plug-ins
compiled and built some existing projects

Thanks for sorting everything out.


On Mar 19, 2022 at 5:11:34 AM, John Mc  wrote:

> This has been a lot longer than I wanted as I got caught up with work, but
> here is the updated macOS installer for Apache NetBeans 13.
>
> Primary voting artefact :
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-macosx.dmg
>
> SHA512 checksum :
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-macosx.dmg.sha512
>
>
> 68cd93b697b8fa02013d4ab69f773a93c3c42f92498578470af6d808179d292649b85bdb946a9bc75d9cc94aba3d4c8e0d0a3eb3fee565ab390810ad7b609b49
> Apache-NetBeans-13-bin-macosx.dmg
>
> KEYS file :
> https://dist.apache.org/repos/dist/release/netbeans/KEYS
>
> PGP signature file :
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-macosx.dmg.asc
>
> Built locally using the artefacts found in the Jenkins job:
>
> https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release130/20/
>
> NOTE: The distpreparation artefact from this Jenkins job was replaced with:
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/13/distpreparation.zip
> The changes can be compared against the PR:
> https://github.com/apache/netbeans/pull/3699
>
> This vote is going to be open at least 72 hours, vote with +1, 0, and
> -1 as usual. Please mark your vote with (binding) if you're an Apache
> NetBeans PMC member.
>
> This vote is dependent on the main Apache NetBeans 13 release vote passing.
>
> Regards
>
> John
>


Re: Issues raised in vote thread - WAS: [VOTE] Release Apache NetBeans 13

2022-02-27 Thread David Green
On Feb 26, 2022 at 3:09:20 AM, Neil C Smith  wrote:

On Fri, 25 Feb 2022 at 23:11, David Green  wrote:
>
> I have a program that runs and builds up files in the template directory.
>
> It runs but when I create a new Maven Java Project, it does not use the
>
> template for the main method but rather sticks in
>
>
> Thanks for your vote.  If you want to raise an issue in the vote
> thread, I would recommend opening an issue at
> https://github.com/apache/netbeans/issues and referencing that with a
> link and short description in the thread.  Otherwise, issues raised in
> the vote thread are likely to get lost / not properly looked at.
>
>
Hi Neil,

Thanks for the follow-up.

Issue #3678 has been created.

Thank you and the rest of the team for your work on this great tool.

Dave


Re: [VOTE] Release Apache NetBeans 13

2022-02-25 Thread David Green
 0

Using NetBeans 13 from macOS installer

I have a program that runs and builds up files in the template directory.
It runs but when I create a new Maven Java Project, it does not use the
template for the main method but rather sticks in


/*

 * Click
nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to
change this license

 * Click
nbfs://nbhost/SystemFileSystem/Templates/Project/Maven2/JavaApp/src/main/java/${packagePath}/${mainClassName}.java
to edit this template

 */

***Installer*** The nbfs:// URL is not clickable.  Should the installer be
registering nbfs: to invoke NetBeans?  (repeated in macOS installer vote)

***NetBeans*** Should the generator of the Maven project be checking to see
if there is a template for Java Main Class and use it rather than generate
its own reference?

The workaround is straightforward, just delete the autogenerated file, then
generate another Java Main class using the file generation tooling which
does use existing templates.  I would not stop the release for this but if
there is a fix-cycle added, this might be quickly fixable.

Dave


On Feb 25, 2022 at 7:47:27 AM, Josh Juneau  wrote:

> +1 (Binding)
>
> - Downloaded and built with Zulu JDK 11
> - Checked signatures, NOTICE, LICENSE files
>
> *Product Version:* Apache NetBeans IDE 13
>
> *Java:* 11.0.5; OpenJDK 64-Bit Server VM 11.0.5+10-LTS
>
> *Runtime:* OpenJDK Runtime Environment 11.0.5+10-LTS
>
> *System:* Mac OS X version 10.16 running on x86_64; UTF-8; en_US (nb)
>
>
>
> Josh Juneau
> juneau...@gmail.com
> http://jj-blogger.blogspot.com
> Apress Author 
>
>
>
> On Wed, Feb 23, 2022 at 9:02 AM Neil C Smith 
> wrote:
>
> This is our first voting candidate for the release of Apache NetBeans 13.
>
>
> Please note all requirements below for validating sources and
>
> convenience binaries before voting.
>
>
> Apache NetBeans 13 constitutes all clusters in the Apache NetBeans Git
>
> repository, which together provide the NetBeans Platform (i.e., the
>
> underlying application framework), as well as all the modules that
>
> provide the Java SE, Java EE, PHP, JavaScript and Groovy features of
>
> Apache NetBeans.
>
>
> 
>
>
> Build artefacts are available here :
>
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans/13/
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-platform/13/
>
>
> They were built by the Jenkins pipeline :
>
>
>
>
> https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release130/20/
>
>
> 
>
>
> We are primarily voting on :
>
>
>
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans/13/netbeans-13-source.zip
>
>
> SHA512 :
>
>
> 40776cf1962989c50c94f4a16784c2519d15100f5949e6d447ffb78b80f93a10707703824ad9f50232f380108caeff76fa4660679840ca4ee6899e8a5fc3e821
>
>
> KEYS file : https://downloads.apache.org/netbeans/KEYS
>
>
> 
>
>
> Associated with the primary source item we have, generated with the
>
> pipeline mentioned above :
>
>
> -- at https://dist.apache.org/repos/dist/dev/netbeans/netbeans/13/
>
>
> Binaries associated with the source - netbeans-13-bin.zip as well as
>
> update content under the nbms folder.
>
>
> -- at
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-platform/13/
>
>
> The platform cluster build netbeans-platform-13-bin.zip and
>
> netbeans-platform-13-source.zip
>
>
> 
>
>
> Maven Artefacts
>
>
> The Maven artefacts for Apache NetBeans 13 are ready on staging
>
> associated to this vote.
>
>
> https://repository.apache.org/content/repositories/orgapachenetbeans-1102/
>
>
> The version is : RELEASE130
>
>
> 
>
>
> Voting Requirements
>
>
> Before voting +1 you are required to download the signed source code
>
> package, compile it as provided, and test the resulting executable on
>
> your own platform, along with also verifying that the package meets
>
> the requirements of the ASF policy on releases -
>
> http://www.apache.org/legal/release-policy.html#management
>
>
> In particular, you should (at least) follow these steps.
>
>
> 1. Download the artefact to be voted on and unzip it.
>
> 2. Check that the artefact does not contain any jar files (there are
>
> branding folders with the name *.jar).
>
> 3. Verify the cryptographic signatures, the NOTICE and LICENSE file
>
> 4. Build it using the README provided by the artefact.
>
> 5. Look in nbbuild/netbeans for the NetBeans installation created by
>
> the build process and try running it.
>
>
> In addition to checking the sources, you should check the associated
>
> convenience binary zips, nbms and maven staging at the artefact links
>
> above. As well as checking any artefact functions correctly, you
>
> should check that it has been correctly signed by a PMC member, and
>
> that the source being voted on is sufficient to build the relevant
>
> binary.
>
>
> Separate votes wil

Re: [VOTE] Release Apache NetBeans 13 macOS Installer

2022-02-25 Thread David Green
Installer:  0

NetBeans 13: 0 (repeated in NetBeans Thread)


√ Downloads % shasum -a 512 -c Apache-NetBeans-13-bin-macosx.dmg.sha512

Apache-NetBeans-13-bin-macosx.dmg: OK


Double-clicking on Package on a Monterey 12.2.1 M1Pro machine, yields


*“Apache NetBeans 13.pkg” can’t be opened because Apple cannot check it for
malicious software.*

and no way to proceed except click OK without installing.


Right-click Open provides the same warning but the open option to continue
the install.


***installer*** It may be useful to tell folks to use right-click Open
somewhere (perhaps in the DMG with a graphic)


Did not import 12.6’s config


There is a White projects/navigator background rather than gray as in past.


Tried existing project, Code compiles / runs


I have a program that runs and builds up files in the template directory.
It runs but when I create a new Maven Java Project, it does not use the
template for the main method but rather sticks in


/*

 * Click
nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to
change this license

 * Click
nbfs://nbhost/SystemFileSystem/Templates/Project/Maven2/JavaApp/src/main/java/${packagePath}/${mainClassName}.java
to edit this template

 */

***Installer*** The nbfs:// URL is not clickable.  Should the installer be
registering nbfs: to invoke NetBeans?

***NetBeans*** Should the generator of the Maven project be checking to see
if there is a template for Java Main Class and use it rather than generate
its own reference?

The workaround is straightforward, just delete the autogenerated file, then
generate another Java Main class using the file generation tooling which
does use existing templates.

Dave



On Feb 25, 2022 at 3:49:30 PM, John Mc  wrote:

> Vote for Apache NetBeans 13 macOS installer.
>
> Primary voting artefact :
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-macosx.dmg
>
> SHA512 checksum :
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-macosx.dmg.sha512
>
>
> 29810edcbcfab3b4ece2a587defeee8d8a55f8fd03a2ac8d3e723e14c679d4481c6cf3b9f2fbf715109da7ba5bd63e03f7760fac1ef23112e7199a5e151f21f3
>
> KEYS file :
> https://dist.apache.org/repos/dist/release/netbeans/KEYS
>
> PGP signature file :
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/13/Apache-NetBeans-13-bin-macosx.dmg.asc
>
> Built locally using the artefacts found in the Jenkins job:
>
> https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release130/20/
>
> This vote is going to be open at least 72 hours, vote with +1, 0, and
> -1 as usual. Please mark your vote with (binding) if you're an Apache
> NetBeans PMC member.
>
> This vote is dependent on the main Apache NetBeans 13 release vote passing.
>
> Regards
>
> John
>


Re: No main manifest attribute in jar in Maven project

2022-02-16 Thread David Green
To a new user, it is unexpected and the disconnect between some of the
project properties and Maven is a surprise.  I think the some users expect
more from the IDE.

I can understand the challenges of doing this in that it is like adding
another programming language where some of the syntax is in a vast
collection of independent modules.   Additionally, I think many want to
ensure the pom file is useable by other contributors who don’t use the same
IDE.

It seems like the present strategy is to help build the initial pom for a
new project and then stay out of the way.

It seems that this page
https://netbeans.apache.org/wiki/MavenBestPractices.asciidoc
, while old, documents what the IDE does and where one must work with the
Pom file.

On Wed, Feb 16, 2022 at 6:45 PM Vladimir Machat  wrote:

> Thanks, I know how to do it, I was just wondering why it's not done by
> Netbeans the same it is done for Ant project...
>
> On 16/02/2022 21:31, Tim de Vries wrote:
> > I have a tool which packages to executable jar with optional manifest
> attributes. I was hoping to charge $1/user/month. I don’t know if that’s
> allowed here.
> >
> > Sent from my iPhone
> >
> >> On Feb 16, 2022, at 11:55 AM, antonio  wrote:
> >>
> >> Hi,
> >>
> >> Adding the main class in MANIFEST.MF is not good enough to run a Maven
> project with "java -jar". You also want to create a "fat jar" with all the
> dependencies in it. See [1] for guidance.
> >>
> >>> Is there a reason why Netbeans doesn't do it?
> >> Here're some possible answers (of my own, doesn't mean NetBeans
> endorses them):
> >>
> >> a) I don't like my IDE to mess around with my pom.xml files but for
> very specific things (adding dependencies, for instance).
> >> b) This is something users are expected to do.
> >> c) This is project-specific. Maven based Spring-Boot projects, for
> instance, have a main class of their own. NetBeans Platform based projects
> do also have a main class of their own.
> >> d) Nobody has created a PR for this feature.
> >>
> >> Hope this helps,
> >> Antonio
> >>
> >> [1]
> >> https://www.baeldung.com/executable-jar-with-maven
> >>
> >>
> >>> El 16/2/22 a las 11:43, Vladimir Machat escribió:
> >>> Hi all,
> >>> I was just wondering, is Netbeans supposed to fill out the main
> attribute in MANIFEST.MF that goes to the jar file, when building Maven
> project?
> >>> At the moment it doesn't do it, which means that the resulting jar
> can't be executed just by
> >>> $ java -jar App.jar
> >>> I would expect Netbeans to set the main attribute when setting the
> main class either in the Project properties or when it asks you the very
> fist time you run the application in the IDE.
> >>> Is there a reason why Netbeans doesn't do it?
> >>> Thanks
> >>> Vlad
> >> -
> >> To unsubscribe, e-mail:dev-unsubscr...@netbeans.apache.org
> >> For additional commands, e-mail:dev-h...@netbeans.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.apache.org
> > For additional commands, e-mail:dev-h...@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >

-- 
Sent from a mobile device. Please excuse any typos.


Re: That Darn License Header

2022-01-26 Thread David Green
My students put together this

https://github.com/dgreen/NetBeansTemplateConfig

To set up the templates for my course.  It contains files for the templates
so you can change as desired.

I have students download the project and just run it. The GUI may need a
bit of work but the template setting logic seems to work for both MacOS and
Windows.  At least a concept approach to deal with the issue.

Dave

On Wed, Jan 26, 2022 at 11:33 AM Kenneth Fogel 
wrote:

> I am one of those who would prefer an empty license comment block at the
> beginning of a file. I have noticed that the header has changed and now
> links directly to two files. Unfortunately both files are unintelligible to
> me. Imagine how confused my students, in an Intro course I am giving right
> now, will think of these files. This was how I found the Help bug as I
> wanted to look up how to just eliminate these comments. Instructions on how
> to squash this block will be appreciated.
>
> Ken
>
> --
Sent from a mobile device. Please excuse any typos.


Re: [DISCUSS] Default to FlatLaf in NetBeans 13?

2021-11-24 Thread David Green
 I tried FlatLaf in 12.5.  When I migrated settings to 12.6 while testing
macOS installer, lines with a breakpoint set on them were close to
unreadable, the background color was a very dark red-brown with black
text.  This did not seem to reconcile with the settings for debugging when
I inspected the individual settings in preferences.  When I put it back to
NetBeans style, it looked fine.  When I stopped NetBeans and started it up
again, I was able to set FlatLaf without this problem.

Dave

On Nov 24, 2021 at 3:46:19 PM, Michael Bien  wrote:

> On 24.11.21 19:39, Neil C Smith wrote:
>
> On Wed, 24 Nov 2021 at 18:07, Jaroslav Tulach 
> wrote:
>
> > No dialogs, please!
>
> :-)
>
>
> >> I personally don't think we should have a dialog (just) for this.
>
> > If you want to ask users, do it in the installer!
>
> Well, we have a number of dialogs already, at least one of which would
>
> be good to get rid of (because it achieves nothing).
>
>
> OTOH, I'd quite like to see the back of the current installers too.
>
>
> If we agree to set FlatLaf by default... lets set it by default.
> Light/dark can be probed and maybe even changed on the welcome page
> after everything loaded. The welcome page could also link to the
> settings for those who like system themes.
>
> *if* we do need the window anyway (e.g because it should contain more
> than just theme selection):
>
> i personally would prefer to have the "user preferences setup" in NB
> instead of an installer otherwise it would not cover zip distributions
> or when users clean the nb config.
>
> -michael
>
>
> Neil
>
>
> -
>
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
>
> For additional commands, e-mail: dev-h...@netbeans.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.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: [VOTE] Release Apache NetBeans 12.6 mac OSX Installer

2021-11-24 Thread David Green
+1

Downloaded.
Sha512 signature valid
Installed, normal migration of settings,  plugins
Jdk15

Caused update to external formatter which in google mode raises an
exception — this has already been noted on developer’s github issues (
https://github.com/funfried/externalcodeformatter_for_netbeans/issues/164
) and not an installer or a NetBeans 12.6 issue.

On Wed, Nov 24, 2021 at 10:30 AM John Mc  wrote:

> Hi,
>
> We can vote for Apache NetBeans 12.6 mac OSX installer.
>
> Primary voting artefact:
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/12.6/Apache-NetBeans-12.6-bin-macosx.dmg
>
> KEYS file:
> https://dist.apache.org/repos/dist/release/netbeans/KEYS
>
> PGP signature file:
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/12.6/Apache-NetBeans-12.6-bin-macosx.dmg.asc
>
> SHA512 checksum file:
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/12.6/Apache-NetBeans-12.6-bin-macosx.dmg.sha512
>
> Built locally using the artefacts found in the Jenkins job:
>
>
> https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release126/14/
>
> NOTE: macOS versions prior to 10.14.4 require the Swift 5 Runtime to be
> installed to launch Apache NetBeans
>
> This vote is going to be open at least 72 hours, vote with +1, 0, and -1 as
> usual.
> Please mark your vote with (binding) if you're an Apache NetBeans PMC
> member.
> Apache NetBeans-12.6 mac OSX Installer will be released if and when this
> vote passes.
>
> Regards
>
> John
>
-- 
Sent from a mobile device. Please excuse any typos.


Re: [VOTE] Release Apache NetBeans 12.5 Mac OSX Installer

2021-09-13 Thread David Green
+1

sha512sum -c Apache-NetBeans-12.5-bin-macosx.dmg.sha512.txt

Apache-NetBeans-12.5-bin-macosx.dmg: OK


Passed Big Sur security as well.


Works!


Migration from 12.4 of the config works.  4 plugins moved.


Existing projects build and run using maven.


The standard out writing into the Output window still waits on a newline
before it is visible.  This was not expected to be fixed but I thought I
would mention it is still there.  Problem seems to be Maven influenced.


Great job!


Dave

On Mon, Sep 13, 2021 at 12:33 PM John Mc  wrote:

> Hi,
>
> We can vote for Apache NetBeans 12.5 Mac OSX installer.
>
> Primary voting artefact:
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans/12.5-installers/macosx/Apache-NetBeans-12.5-bin-macosx.dmg
>
> KEYS file:
> https://dist.apache.org/repos/dist/release/netbeans/KEYS
>
> PGP signature file:
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans/12.5-installers/macosx/Apache-NetBeans-12.5-bin-macosx.dmg.asc
>
> SHA512 checksum file:
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans/12.5-installers/macosx/Apache-NetBeans-12.5-bin-macosx.dmg.sha512
>
> Built locally using the artefacts found in the Jenkins job:
>
>
> https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release125/11/
>
> NOTE: macOS versions prior to 10.14.4 require the Swift 5 Runtime to be
> installed to launch Apache NetBeans
>
> This vote is going to be open at least 72 hours, vote with +1, 0, and -1 as
> usual.
> Please mark your vote with (binding) if you're an Apache NetBeans PMC
> member.
> Apache NetBeans-12.5 Mac OSX Installer will be released if and when this
> vote passes.
>
> Regards
>
> John
>


Re: System.out.print buffered to Output Window

2021-08-28 Thread David Green
Probably good advice but I was trying to follow the direction of NetBeans
to use Maven as the preferred build tool.

At this point, for this semester, I am way too committed to Maven (it is an
online course with all the course content is done).  This was a simple type
it in like the textbook example (that I did not try) that bit me .

For our immediate purpose, we just went with a println substitution but I
felt I should report the bug with context for eventual repair (or at least
consideration/documentation of a limitation).

Thanks!

On Sat, Aug 28, 2021 at 4:36 PM László Kishalmi 
wrote:

> For those kind of projects use Ant or Gradle. They do not suffer from this
> issue, and probably better suited for small student projects.
>
> On Sat, Aug 28, 2021, 13:16 David Green  wrote:
>
> > Thanks for the reply and insight.
> >
> > That does work at the command line (as did running it from a jar file).
> I
> > am seeking to have it work in the NetBeans Output window and I found that
> > if I edited the Run (and Run File) Actions in the project properties to
> use
> > "java" instead of "exec", it does work.  It did generate a nbactions.xml
> > file that was not there before.
> >
> > Should this be the default behavior when one generates Java with Maven |
> > Java Application?  I am looking for configurations to use with students
> who
> > are learning the language and OO thinking and don't want to add any more
> > friction than necessary.
> >
> > Are there any downsides of making this change?
> >
> > Dave
> >
> >
> >
> >
> >
> >
> >
> > On Sat, Aug 28, 2021 at 2:15 PM Vladimir Machat 
> > wrote:
> >
> > > Hi,
> > >
> > > i believe it's exec:exec maven target problem, because if you run the
> > > same code with exec:java it works perfectly, even without the flush()
> > >
> > > try 'mvn exec:java -Dexec.mainClass=dgreen.printbug.NewMain' from
> > > command line
> > >
> > > On 28/08/2021 18:54, David Green wrote:
> > > > In NetBeans 12.4 and verified to also behave this way on NetBeans
> > > > 12.5-beta2, System.out.print is buffered such that it does not show
> up
> > in
> > > > the NetBeans Output window until a System.out.println (or probably
> > things
> > > > like program end, and some buffer full scenario).
> > > >
> > > > Using JDK 15 and a Maven Project.  I am using macOS but my students
> who
> > > hit
> > > > this problem are using Windows.
> > > >
> > > > Example code:
> > > >
> > > > package dgreen.printbug;
> > > >
> > > > import java.util.Scanner;
> > > >
> > > > /**
> > > >   * Demo program showing that System.out.print's are not pushed to
> > output
> > > > window until a
> > > >   * System.out.println
> > > >   */
> > > > public class NewMain {
> > > >
> > > >/** @param args the command line arguments */
> > > >public static void main(String[] args) {
> > > >  Scanner sc = new Scanner(System.in);
> > > >  System.out.print("Enter your name: ");
> > > >  System.out.flush(); // should not be necessary but does not work
> > > either
> > > >  String name = sc.nextLine();
> > > >  System.out.println("Hi " + name);
> > > >}
> > > > }
> > > >
> > > > —-
> > > > Running it after Clean & Build (or before)
> > > >
> > > > --- exec-maven-plugin:3.0.0:exec (default-cli) @ printbug ---
> > > > dave
> > > > Enter your name: Hi dave
> > > >
> > 
> > > > BUILD SUCCESS
> > > >
> > > > where "dave" was typed in without the benefit of seeing the prompt.
> > > >
> > > > This works fine when run from true command line either inside a
> > NetBeans
> > > > Terminal Window or the real command line.
> > > >
> > > > In Jira as https://issues.apache.org/jira/browse/NETBEANS-5961
> > > >
> > > > Dave
> > > >
> > >
> >
>


Re: System.out.print buffered to Output Window

2021-08-28 Thread David Green
Thanks for the reply and insight.

That does work at the command line (as did running it from a jar file).  I
am seeking to have it work in the NetBeans Output window and I found that
if I edited the Run (and Run File) Actions in the project properties to use
"java" instead of "exec", it does work.  It did generate a nbactions.xml
file that was not there before.

Should this be the default behavior when one generates Java with Maven |
Java Application?  I am looking for configurations to use with students who
are learning the language and OO thinking and don't want to add any more
friction than necessary.

Are there any downsides of making this change?

Dave







On Sat, Aug 28, 2021 at 2:15 PM Vladimir Machat  wrote:

> Hi,
>
> i believe it's exec:exec maven target problem, because if you run the
> same code with exec:java it works perfectly, even without the flush()
>
> try 'mvn exec:java -Dexec.mainClass=dgreen.printbug.NewMain' from
> command line
>
> On 28/08/2021 18:54, David Green wrote:
> > In NetBeans 12.4 and verified to also behave this way on NetBeans
> > 12.5-beta2, System.out.print is buffered such that it does not show up in
> > the NetBeans Output window until a System.out.println (or probably things
> > like program end, and some buffer full scenario).
> >
> > Using JDK 15 and a Maven Project.  I am using macOS but my students who
> hit
> > this problem are using Windows.
> >
> > Example code:
> >
> > package dgreen.printbug;
> >
> > import java.util.Scanner;
> >
> > /**
> >   * Demo program showing that System.out.print's are not pushed to output
> > window until a
> >   * System.out.println
> >   */
> > public class NewMain {
> >
> >/** @param args the command line arguments */
> >public static void main(String[] args) {
> >  Scanner sc = new Scanner(System.in);
> >  System.out.print("Enter your name: ");
> >  System.out.flush(); // should not be necessary but does not work
> either
> >  String name = sc.nextLine();
> >  System.out.println("Hi " + name);
> >}
> > }
> >
> > —-
> > Running it after Clean & Build (or before)
> >
> > --- exec-maven-plugin:3.0.0:exec (default-cli) @ printbug ---
> > dave
> > Enter your name: Hi dave
> > 
> > BUILD SUCCESS
> >
> > where "dave" was typed in without the benefit of seeing the prompt.
> >
> > This works fine when run from true command line either inside a NetBeans
> > Terminal Window or the real command line.
> >
> > In Jira as https://issues.apache.org/jira/browse/NETBEANS-5961
> >
> > Dave
> >
>


System.out.print buffered to Output Window

2021-08-28 Thread David Green
In NetBeans 12.4 and verified to also behave this way on NetBeans
12.5-beta2, System.out.print is buffered such that it does not show up in
the NetBeans Output window until a System.out.println (or probably things
like program end, and some buffer full scenario).

Using JDK 15 and a Maven Project.  I am using macOS but my students who hit
this problem are using Windows.

Example code:

package dgreen.printbug;

import java.util.Scanner;

/**
 * Demo program showing that System.out.print's are not pushed to output
window until a
 * System.out.println
 */
public class NewMain {

  /** @param args the command line arguments */
  public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.print("Enter your name: ");
System.out.flush(); // should not be necessary but does not work either
String name = sc.nextLine();
System.out.println("Hi " + name);
  }
}

—-
Running it after Clean & Build (or before)

--- exec-maven-plugin:3.0.0:exec (default-cli) @ printbug ---
dave
Enter your name: Hi dave

BUILD SUCCESS

where "dave" was typed in without the benefit of seeing the prompt.

This works fine when run from true command line either inside a NetBeans
Terminal Window or the real command line.

In Jira as https://issues.apache.org/jira/browse/NETBEANS-5961

Dave


Re: Wiki: Broken links

2021-07-09 Thread David Green
Hi,

http://web.archive.org/web/20210117213956/https://netbeans.org/community/guidelines/code-conventions.html

Seems like the above is the last copy captured by the wayback machine as
HTML not the original source (assuming it was built from ASCIIDoc or
something).

Best,

Dave


On Fri, Jul 9, 2021 at 4:11 AM Eric Barboni  wrote:

> Hi,
>  We need to reintroduce this page on the website I see no occurrence for it
> on website repo.
>
> Best Regards
> Eric
>
> -Message d'origine-
> De : Benjamin Asbach 
> Envoyé : vendredi 9 juillet 2021 07:45
> À : dev@netbeans.apache.org
> Objet : Wiki: Broken links
>
> Hi,
>
> I saw that Code Conventions are linked to [1] on wiki page [2].
>
> Maybe someone with edit right might fix that.
>
> Cheers
> Benjamin
>
> [1] https://netbeans.org/community/guidelines/code-conventions.html
> [2]
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=74681408
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.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.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
> --
Sent from a mobile device. Please excuse any typos.


SHA512 sum for the 12.4 MacOS .DMG is improperly formatted

2021-06-01 Thread David Green
I think the file Apache-NetBeans-12.4-bin-macosx.dmg.sha512.txt on the page
https://netbeans.apache.org/download/nb124/nb124.html is not formatted
correctly.  It certainly is not formatted the same as the Windows and Linux
ones and does not work with sha512sum (homebrew) nor shasum (macos) command
line program on the mac.

Correct values but wrong format.

Dave

On Mon, May 24, 2021 at 10:38 AM David Green  wrote:

> Hi,
>
> Old news now but I wanted to note that the file
>
> https://downloads.apache.org/netbeans/netbeans/12.3/Apache-NetBeans-12.3-bin-macosx.dmg.sha512
> is in an improper format (right info but not ready for feeding into
> shasum512).  The Linux and Windows ones are formatted correctly.
> Thought I would pass this along in case there is a process that needs
> adjusting before 12.4 posted.
>
> Dave
>


SHA512 sum for the 12.3 MacOS .DMG is improperly formatted

2021-05-24 Thread David Green

Hi,

Old news now but I wanted to note that the file 
https://downloads.apache.org/netbeans/netbeans/12.3/Apache-NetBeans-12.3-bin-macosx.dmg.sha512 
is in an improper format (right info but not ready for feeding into 
shasum512).  The Linux and Windows ones are formatted correctly.  
Thought I would pass this along in case there is a process that needs 
adjusting before 12.4 posted.


Dave

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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





Re: [VOTE] Release Apache NetBeans-12.1 Mac OSX Installer - vote 2

2020-09-09 Thread David Green
On 8 Sep 2020, at 0:16, John Mc wrote:

> We can vote for Apache NetBeans 12.0 Mac OSX installer, again.  I've
> addressed the previous issue that users reported when attempting to install
> Apache NetBeans.

12.1 Mac OSX installer

+1

Used GPG to check signature

Installed nb-java, import 12.0 config

Built existing app.

Thanks for creating this!

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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





Re: [VOTE] Release Apache NetBeans-12.0 Mac OSX Installer

2020-06-07 Thread David Green

+1

Installed.  Ran existing ant application, created new maven application.

On 3 Jun 2020, at 16:05, John Mc wrote:


Hi,

We can vote for Apache NetBeans 12.0 Mac OSX installer

Primary voting artefact:
https://dist.apache.org/repos/dist/dev/netbeans/netbeans/12.0/vc1/installers/macosx/Apache-NetBeans-12.0-bin-macosx.dmg

KEYS file:
https://dist.apache.org/repos/dist/release/netbeans/KEYS

PGP signature file:
https://dist.apache.org/repos/dist/dev/netbeans/netbeans/12.0/vc1/installers/macosx/Apache-NetBeans-12.0-bin-macosx.dmg.asc

SHA512 checksum file
https://dist.apache.org/repos/dist/dev/netbeans/netbeans/12.0/vc1/installers/macosx/Apache-NetBeans-12.0-bin-macosx.dmg.sha512

Built locally using the artefacts found in the Jenkins job:
https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-TLP/job/netbea
ns/job/release120/23/artifact/

This vote is going to be open at least 72 hours, vote with +1, 0, and 
-1 as

usual.
Please mark your vote with (binding) if you're an Apache NetBeans PMC
member.

Apache NetBeans-12.0 Mac OSX Installer will be released if and when 
this

vote passes.

Regards

John


-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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





Re: Default license header in generated files confuses students (was: Re: The time has come to bd farewell to the license header)

2020-06-02 Thread David Green
I should have said that the template is evaluated on creation of the new
file and a blank license file will keep the source clean.

It does not cause files that have already been generated to change.

On Tue, Jun 2, 2020 at 11:20 AM David Green  wrote:

> > Maybe it can be hidden if license file is empty.
>
> It is in a per project basis.
>
> Dave
> --
> Sent from a mobile device. Please excuse any typos.
>
-- 
Sent from a mobile device. Please excuse any typos.


Re: Default license header in generated files confuses students (was: Re: The time has come to bd farewell to the license header)

2020-06-02 Thread David Green
> Maybe it can be hidden if license file is empty.

It is in a per project basis.

Dave
-- 
Sent from a mobile device. Please excuse any typos.


Re: Default license header in generated files confuses students (was: Re: The time has come to bd farewell to the license header)

2020-06-01 Thread David Green
Another (mostly retired) professor here.

We had a team project (https://github.com/dgreen/NetBeansTemplateConfig) at
the end of the course and one of the groups built a limited template tool
(for our environment) that sets up the students machine for the course
standard header for most of the Java types and the core unit tests.   The
students released the code under the MIT license upon my request.

It contains the license logic that is presently in use because I wanted,
like some others here, to make the point that licensing should be
considered near the start of the project.  We have an Ethics and
Intellectual Property module in the course as well.   We then show how to
go into the project’s license option and set it to an empty file (using the
GUI) to disable licensing if it is not needed (and it is not required for
the class assignments).

Code could stand a lot of improvements but I wanted to share how an another
educator approached it.  The present code supports Windows and Mac but not
the betas with their non-numeric convention.  It does try to run against
the latest user directory although presently there is one version for
NetBeans and another for OpenBeans (and was several for CoolBeans as naming
conventions were established).

Perhaps the license question should be part of the new project workflow.

Dave

On Mon, Jun 1, 2020 at 9:34 AM Matthias Bläsing 
wrote:

> From me a strong -1 to split the configuration. What do we gain if we
> have a checkbox and the configuration of the text at another place? I'm
> sure some usability study will tell me it is right, but for me it is
> the oposite.
>
> Am Montag, den 01.06.2020, 14:32 + schrieb Kenneth Fogel:
> > I think Tomas' suggestion below makes the most sense. If the
> > community feels strongly that licenses must be encouraged then it
> > could be reduced to a single line such as :
> >
> > // Consider creating a Licence header in Project Properties or Tools
> > Templates.
> >
> > Ken
> >
> >
> >
> > -Original Message-
> > From: Tomas Poledny 
> > Sent: June 1, 2020 2:09 AM
> > To: dev@netbeans.apache.org
> > Subject: Re: Default license header in generated files confuses
> > students (was: Re: The time has come to bd farewell to the license
> > header)
> >
> > My proposal is to create a checkbox in settings (and per project too)
> > with enabling license headers. It can be disabled by default and if
> > you want license headers (because you know what you are doing) you
> > can easily enable it in settings.
> >
> > Tomas
> >
> >
> > On Mon, Jun 1, 2020 at 7:35 AM Jan Lahoda  wrote:
> >
> > > Just a few comments:
> > > -we could have a hint (lightbulb) allowing to easily open global
> > > or
> > > project-specific configuration -if we keep the text, we probably
> > > want
> > > to tweak it to speak about per-project configuration (i.e. besides
> > > the
> > > global configuration, projects can have their own configuration)
> > >
> > > Jan
> > >
> > >
> > > On Sun, May 31, 2020 at 7:42 PM Matthias Bläsing <
> > > mblaes...@doppel-helix.eu>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > Am Sonntag, den 31.05.2020, 17:24 + schrieb Eirik Bakke:
> > > > > I believe the proposal here is merely to make the template
> > > > > empty
> > > > > by default--people who want a default license header (to e.g.
> > > > > the
> > > > > Apache
> > > > > license) can still use the feature, but must customize the
> > > > > template first, like they always had to before.
> > > >
> > > > yes, but then you have to discover it first. The template as is,
> > > > allows you with minimal fuss to:
> > > >
> > > > - remove the header
> > > > - adjust it to your liking
> > > >
> > > > for minimal learning (if you want to call reading simple
> > > > instructions learning).
> > > >
> > > > I bet, that if we remove the message someone will come up and
> > > > complain, that the feature is missing or badly discoverable.
> > > >
> > > > > But I think this is a bigger issue for beginners, who will
> > > > > likely
> > > > > just leave the defaults in, out of fear of breaking anything.
> > > > > When
> > > > > you're trying to teach students how to write a for loop, all
> > > > > the
> > > > > magic incantations at the beginning of a Java file are just
> > > > > distractions.
> > > >
> > > > Sorry - I hear that very often:
> > > >
> > > > - programming students are not willing to read
> > > > - programming students can't customize their working environment
> > > > - programming students can't be expected to read documentation
> > > > - programming students are stupid
> > > >
> > > > I think this cuts it way short. Remember: Programmars/Developers
> > > > are
> > > > normally paid good money and yes, my baseline assumption is,
> > > > that
> > > > people in this area of work can be expected to know their work
> > > > domain and their tools. I also believe people are more
> > > > intelligent
> > > > that we thing, at least if we make them use their brain (i.e.
> > > > give

Re: FOSDEM talk: "From Oracle to Apache: News from NetBeans Community"

2020-02-03 Thread David Green
Very good presentation!

Thanks,

Dave

On Mon, Feb 3, 2020 at 7:54 AM Geertjan Wielenga 
wrote:

> Hi all,
>
> Several of us on the mailing list were at FOSDEM in Brussel yesterday
> (Neil, Jan Lahoda, Martin Entlicher, Patrik Karlstrom) and it was a pretty
> good event -- I think we should treat FOSDEM as a place where we can get
> together every year and share new insights etc around NetBeans.
>
> One of the talks was by me, specifically about the state and direction of
> NetBeans, it takes about 20 minutes, take a look here:
>
> https://mirror.cyberbits.eu/fosdem/2020/UD2.119/fromoracleapache.webm
>
> Thanks,
>
> Gj
>
-- 
Sent from a mobile device. Please excuse any typos.


Re: Memory usage text rendering issue

2020-02-02 Thread David Green

On 2 Feb 2020, at 12:28, Scott Palmer wrote:

Does anyone else see really ugly text in the memory usage widget on 
the toolbar?  This has been an issue for a while and I can’t recall 
if I have reported it or it is already a known issue.  It seems like 
something that shouldn’t be hard to address.  The text showing heap 
used vs available heap is rendered in such a way that the letters are 
very puffy and jagged.  Almost like any anti-aliasing that would be 
blending the edges has the alpha channel interpreted as a binary 0% or 
100% opacity.  I’ve attached an image, not sure if it will are it 
through.

I’m testing NB 11.3-beta 2 with JDK 13.0.2 on macOS 10.15.3 (beta)


I mitigate most of it by right-clicking on the image and choosing to 
disable “drop shadow”.


Dave


-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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





Re: Apache NetBeans 11.3-beta2 available

2020-02-01 Thread David Green

On 31 Jan 2020, at 11:48, Eric Barboni wrote:


See artefacts here:
https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-TLP/job/netbea
ns/job/release113/6/artifact/dist/

The binary you most likely need is:
https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-TLP/job/netbea
ns/job/release113/6/artifact/dist/netbeans-11.3-beta2-bin.zip
associated sha512
e526fce408f726e7544c2bd7b040a64b5a8926ca76ec3dd0e0344ecfc2b61dde8512e6fa752d
b8dcf165a1778747882423c61f02daf751d02acad09f9f04e30e


Just a FYI…

When running

sha512sum netbeans-11.3-beta2-bin.zip

I got

66fd28b7fc0188819f010bb8f23645ec18e4e12e4fda0905c53c2cb07e835890d8b46d83f9430842ad647edc9e8db15f5f7e15ca15f9f0bd63b305a8554a2f4a 
 netbeans-11.3-beta2-bin.zip


(Which does match the contents of 
https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-TLP/job/netbeans/job/release113/6/artifact/dist/netbeans-11.3-beta2-bin.zip.sha512) 
but not the above.


Dave

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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





Re: Apache NetBeans 11.3-beta2 available

2020-01-31 Thread David Green
On Fri, Jan 31, 2020 at 11:48 AM Eric Barboni  wrote:

> Dear Apache NetBeans community,
>
> The second beta build for Apache NetBeans 11.3 is available. Rough delta to
> the first beta build:
> JSF 2.3,
> flatlaf fixes + flatlaf 0.26.
> Jdk 14 records
> Gradle/groovy fix,
> ...
>
> -- 2 pending PR that may be good to go for beta3
> https://github.com/apache/netbeans/pull/1908 Springframework (users ml
> reported)
> https://github.com/apache/netbeans/pull/1907/ jdk 14 issue
>
> See artefacts here:
>
> https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-TLP/job/netbea
> ns/job/release113/6/artifact/dist/
> 
>
> The binary you most likely need is:
>
> https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-TLP/job/netbea
> ns/job/release113/6/artifact/dist/netbeans-11.3-beta2-bin.zip
> 
> associated sha512
>
> e526fce408f726e7544c2bd7b040a64b5a8926ca76ec3dd0e0344ecfc2b61dde8512e6fa752d
> b8dcf165a1778747882423c61f02daf751d02acad09f9f04e30e
> ./netbeans-platform-11.3-beta2-bin.zip
> source sha152
>
> bbdb5542d9fc1c0c37939ddc1ba8cf793e31ab36bd00cf851992d053d90ad9b34c8bc45aa4b6
> 44c926b0ca8e270511aa6efc0a9d06dc0ef545b4e5457c7596d4
> ./netbeans-11.3-beta2-source.zip
>
> Happy testing
>
> Best Regards
> Eric
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
> --
Sent from a mobile device. Please excuse any typos.


Re: [VOTE] Release Apache NetBeans 11.2 macOS Installer

2019-10-29 Thread David Green
+1

On Fri, Oct 25, 2019 at 10:56 AM  wrote:

> Hi
>
> Artifacts are available here:
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans/11.2-vc1
>
> Built locally from release112 branch using JDK 1.8 on macOS 10.13.6:
>
> Primary voting artifact:
>
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans/11.2-vc1/Apache-NetBeans-11.2-bin-macosx.dmg
>
> SHA512:
>
> 7cde2e5ff1fe2125ff0446b1cd663172eb64db4d852b6cbc265ce33b0eb2ce30b4f4bb632ce8860ce1a16c2127858f45391518b6e8fcfe32ea534d32f24769f8
>
> Apache-NetBeans-11.2-bin-macosx.dmg
>
> KEYS file:
>
> https://dist.apache.org/repos/dist/release/netbeans/KEYS
>
> Installer build steps:
>
> https://cwiki.apache.org/confluence/display/NETBEANS/Installer+Build+Steps
>
> Please check that the artifact functions correctly and has been
> correctly signed by a PMC member.
>
> This vote is going to be open at least 72 hours, vote with +1, 0, and -1
> as usual.
>
> Please mark your vote with (binding) if you're an Apache NetBeans PMC
> member.
>
> Apache NetBeans 11.2 macOS Installer will be released if and when this
> vote passes.
>
>
> Thanks,
>
> Reema
>
>
>
>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
> --
Sent from a mobile device. Please excuse any typos.


Re: [VOTE] Release Apache NetBeans 11.2 macOS Installer

2019-10-28 Thread David Green
Agree.

On Mon, Oct 28, 2019 at 12:39 PM  wrote:

> Hi,
>
> This came up during last release, I had raised an infra ticket for
> notarization - INFRA-18790
> , but it failed with
> a long list of errors.
>
> This needs investigation, I haven't been able to get to it yet.
>
> So, I agree with Geertjan's suggestion to add note that installer works
> for 10.13.x and 10.14.x macOS releases and is pending notarization that
> is required for 10.15.x release.
>
> Thanks,
>
> Reema
>
> On 28/10/19 5:43 PM, Geertjan Wielenga wrote:
> > We could add on the Download page that the installer for Mac OSX has been
> > signed but not notarized (
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__developer.apple.com_documentation_security_notarizing-5Fyour-5Fapp-5Fbefore-5Fdistribution&d=DwIBaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=I_-Y15BecdUmuYLJbvbi0hFUs7JgHZnV_jPFSP8DQF0&m=AU5axCXNKWDQypYO5D1OcvSHUynS_-Wl1_0S-laIHDc&s=e05RMNxX87RB32yCeA9JWFLooi2yfatEqICXh-ffoTw&e=
> > ).
> >
> > Unless Reema has a plan or someone has a plan relating to notarization.
> > Since we have it signed and it seems a lengthy Apple-driven process to
> > notarize it, I'd argue that so long as we state that clearly, this should
> > not be a blocker for releasing the installer.
> >
> > Gj
> >
> > On Mon, Oct 28, 2019 at 11:36 AM Carl Mosca 
> wrote:
> >
> >> -1
> >>   "Can't be opened because Apple cannot check for malicious software"
> >>
> >> On Mon, Oct 28, 2019 at 6:26 AM Neil C Smith 
> >> wrote:
> >>
> >>> On Mon, 28 Oct 2019 at 09:54, Eric Barboni  wrote:
>  Sha512 and key from Reema is ok it means this can be released on dist.
>  Not functional is another point. But Reema can cancel if tester on
> >> MacOS
> >>> found issue.
> >>>
> >>> Distribution on dist requires more than that, and we also discussed
> >>> requiring more ourselves.  The wording that was discussed, that I
> >>> thought you said you agreed with, said that all voters must verify all
> >>> checksums and keys (including the additional keys in the installers!),
> >>> check they function, and verify that they only install artefacts built
> >>> from the released sources.  I don't see any point in voting on
> >>> binaries if we're not requiring checks on all those things that the
> >>> PMC must check.
> >>>
> >>> Anyway, let's not hijack the vote thread further on this.
> >>>
> >>> I'd like to hear Reema's opinion on pulling and re-voting on macOS
> >>> installers because of the notarization issue though.
> >>>
> >>> Thanks and best wishes,
> >>>
> >>> Neil
> >>>
> >>> -
> >>> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> >>> For additional commands, e-mail: dev-h...@netbeans.apache.org
> >>>
> >>> For further information about the NetBeans mailing lists, visit:
> >>>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_NETBEANS_Mailing-2Blists&d=DwIBaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=I_-Y15BecdUmuYLJbvbi0hFUs7JgHZnV_jPFSP8DQF0&m=AU5axCXNKWDQypYO5D1OcvSHUynS_-Wl1_0S-laIHDc&s=XYqudrqPACu1wB_McTbfOCSjE5P-TWycb2BM7SRC_8Y&e=
> >>>
> >>>
> >>>
> >>>
> >> --
> >> Carl J. Mosca
> >>
>
-- 
Sent from a mobile device. Please excuse any typos.


Re: [VOTE] Release Apache NetBeans 11.2 macOS Installer

2019-10-26 Thread David Green
I think this applies
https://developer.apple.com/news/?id=09032019a

Dave

On Sat, Oct 26, 2019 at 12:26 PM Geertjan Wielenga 
wrote:

> Yes, just got to that understanding too:
>
>
> https://apple.stackexchange.com/questions/366542/install-spotify-cant-be-opened-because-apple-cannot-check-it-for-malicious-so
>
> Gj
>
> On Sat, Oct 26, 2019 at 7:26 PM Neil C Smith 
> wrote:
>
> > On Sat, 26 Oct 2019, 18:17 Scott Palmer,  wrote:
> >
> > >
> > > “Apache NetBeans 11.2.pkg” can’t be opened because Apple cannot check
> it
> > > for malicious software.
> > >
> >
> > Is that lack of notarization not signing?
> >
> >
> https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution
> >
> > Best wishes,
> >
> > Neil
> >
>
-- 
Sent from a mobile device. Please excuse any typos.


Re: JDK deployment support for NetBeans releases

2019-10-23 Thread David Green
+1

Although consideration in the future should be given to supporting
immediate prior LTS for a period of time (6 months?) to give LTS trackers a
time window to upgrade.

On Wed, Oct 23, 2019 at 4:40 PM Geertjan Wielenga 
wrote:

> Hi all,
>
> I suggest that for deployment platforms, we always specify the following:
>
> 1. NetBeans runs on JDK 8.
> 2. NetBeans runs on the latest LTS release, i.e., currently JDK 11.
> 3. NetBeans runs on the latest current non-LTS release, i.e., currently JDK
> 13.
>
> In other words, for Apache NetBeans 11.2, if someone complains about
> problems running on JDK 12 (or 9 or 10), we should say "JDK 12 (or 9 or 10)
> is not the current non-LTS nor LTS release -- please use either JDK 8, 11,
> or 13."
>
> The deployment platforms sections of the download pages I have updated
> accordingly:
> https://netbeans.apache.org/download/nb110/nb110.html
> https://netbeans.apache.org/download/nb111/nb111.html
>
> Comments and hopefully mainly agreement is welcome.
>
> Gj
>
-- 
Sent from a mobile device. Please excuse any typos.


Re: Apache NetBeans 11.2-beta3 is Available for Testing!

2019-10-22 Thread David Green
Works for me.  Deleted old 11.2-* user directories and then ran.  
nbjavac loaded.


Runs several existing projects and copied the JavaFX libraries per the 
pom file.


I would note that, like the convenience binaries, the Profile the IDE, 
and Pause I/O Checks buttons are on the tool bar which I don’t think 
are needed by most users.


Thanks,

Dave



On 18 Oct 2019, at 20:07, reema.tan...@oracle.com wrote:


Mac installer:

https://github.com/rtaneja1/netbeans/releases/tag/beta3-11.2

Thanks,
Reema

On 17/10/19 1:33 PM, Geertjan Wielenga wrote:

Many thanks! Are you also planning a Mac installer?

Gj

On Thu, Oct 17, 2019 at 8:01 AM  wrote:


Latest build passed after correcting JDK config,

Beta3 based Linux and Windows installers:

https://urldefense.proofpoint.com/v2/url?u=https-3A__builds.apache.org_view_M-2DR_view_NetBeans_job_netbeans-2Dinstallers_&d=DwIFaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=I_-Y15BecdUmuYLJbvbi0hFUs7JgHZnV_jPFSP8DQF0&m=Eq3J4fMbjfpOAZhm2OwLlfwAHZqBh7jqdjGULKx_heM&s=Rj_T2NLWADjqMlwXPA3U2fKfqyYGutiGVNoyqfNaybs&e=

Thanks,

Reema

On 16/10/19 9:50 PM, Neil C Smith wrote:
On Wed, 16 Oct 2019 at 15:34, Geertjan Wielenga 


wrote:

No installers until the final release.
Would be nice if we could get into a state where we could better 
test

installers before release.  However, just tried to trigger the
netbeans-installer build and it failed.  I assume this is recent
Jenkins environment changes, but I'll leave it for Reema to look 
at.


Best wishes,

Neil

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:


https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_NETBEANS_Mailing-2Blists&d=DwIBaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=I_-Y15BecdUmuYLJbvbi0hFUs7JgHZnV_jPFSP8DQF0&m=t9X8I1xHgCHLlVkTiakyBgpe4xzCps3PuIuqFXV9O9Y&s=CwV3lCuHBbjRInqYeVVrfdKJji6S_H3GSKIpwlUfoXk&e=




-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_NETBEANS_Mailing-2Blists&d=DwIFaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=I_-Y15BecdUmuYLJbvbi0hFUs7JgHZnV_jPFSP8DQF0&m=Eq3J4fMbjfpOAZhm2OwLlfwAHZqBh7jqdjGULKx_heM&s=bV1FqMZ3JfigfifJvF-SMCF3GVwa2BITbWor98n0igQ&e=






-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.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.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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





Re: JavaFX needs some additional default support IMO

2019-10-07 Thread David Green
OK, feels like hacking but I found that this addition to the POM did the 
trick:


```
   
org.apache.maven.plugins
maven-javadoc-plugin
3.1.1

11
11
**/module-info.java


```

I found this in someone else’s struggles 
https://stackoverflow.com/questions/55676341/java-11-12-javadoc-with-maven-results-in-not-generating-javadocs-for-tests


A gist with everything including corresponding nbactions.xml :  
https://gist.github.com/dgreen/e1ae4636f311d38758dafdd7b0decf0f  (all 
built for Group ID: edu.uab.dgreen ArtifactID: fxdemo) source from the 
Java Application with Maven using javafx-archetype-simple .


Thanks for the help.  There are probably simpler versions and I hope one 
can be found to make part of a future NetBeans so that it is easier to 
start new projects.


Dave

On 7 Oct 2019, at 17:20, David Green wrote:

I am in this camp (of wanting to generate javadoc formatted pages.  I 
had been through these references (that you suggested — thanks 
though).


I have now discovered that javadoc:javadoc works (either within 
NetBeans or at the command line with Maven) if the module-info.java 
file does NOT exist but, of course, the rest of my build system wants 
it there to define the module.


(Perhaps unrelated but…) Looking at the old Jigsaw project it 
appears that the file structure included the module name as a 
directory entry right below source which is now visually there in the 
NetBeans IDE but the actual directory is src/main/java/….


Dave

On 7 Oct 2019, at 14:13, Geertjan Wielenga wrote:


And also for generating your own, that's a Maven task:

https://maven.apache.org/plugins/maven-javadoc-plugin/

Gj

On Mon, Oct 7, 2019 at 9:11 PM Geertjan Wielenga 


wrote:


Maybe this:


https://stackoverflow.com/questions/54278159/javafx-11-in-netbeans-10-with-maven-has-no-sources-javadocs

Gj

On Mon, Oct 7, 2019 at 9:01 PM David Green  
wrote:



Thanks.

Any on hints on generating Javadoc?

Dave

On 6 Oct 2019, at 8:59, Geertjan Wielenga wrote:


For debugging, this works:



https://stackoverflow.com/questions/56197372/i-cant-debug-an-application-using-netbeans-11-with-javafx-12


Gj


On Sun, Oct 6, 2019 at 7:05 AM Geertjan Wielenga 


wrote:


However, take a look at Samples | OpenJFX in 11.1.

Those two samples have the nbactions file that contains the debug
target
too.

Gj

On Sun, Oct 6, 2019 at 6:58 AM Geertjan Wielenga

wrote:


Yes, that is my aim too, it will happen, probably not for 11.2.

Gj

On Sun, Oct 6, 2019 at 6:53 AM David Green 
wrote:


Yes.

That would be most useful.

Long term, it would be nice to have this be set up when 
selecting a

project type.

Thanks,

Dave

On 5 Oct 2019, at 23:35, Geertjan Wielenga wrote:


So, the project runs as described in:
https://www.youtube.com/watch?v=8xaRwqcKPSI?

You want another YouTube clip just like that showing how to 
set up

Debug
and Javadoc goals in NetBeans?

Gj

On Sun, Oct 6, 2019 at 4:12 AM David Green 


wrote:

Using Netbeans 11.2.beta2 (although same issues seem to apply 
to

11.1
release),

Using the example from https://openjfx.io/openjfx-docs/ for
modules
with
Maven and NetBeans which is also highlighted in the video
https://www.youtube.com/watch?v=8xaRwqcKPSI&feature=youtu.be,
this
allows one to run code with openJavaFX quite nicely with Run
Project
but
Debug Project and Generate JavaDoc fail.

It would be nice if these and perhaps a build image of some 
sort

were
automatically accomplishable by the base Maven pom.  It would
greatly
help folks start using NetBeans for new projects.

I have found a variant of Mathew Dusome’s code
<



Re: JavaFX needs some additional default support IMO

2019-10-07 Thread David Green
I am in this camp (of wanting to generate javadoc formatted pages.  I 
had been through these references (that you suggested — thanks 
though).


I have now discovered that javadoc:javadoc works (either within NetBeans 
or at the command line with Maven) if the module-info.java file does NOT 
exist but, of course, the rest of my build system wants it there to 
define the module.


(Perhaps unrelated but…) Looking at the old Jigsaw project it appears 
that the file structure included the module name as a directory entry 
right below source which is now visually there in the NetBeans IDE but 
the actual directory is src/main/java/….


Dave

On 7 Oct 2019, at 14:13, Geertjan Wielenga wrote:


And also for generating your own, that's a Maven task:

https://maven.apache.org/plugins/maven-javadoc-plugin/

Gj

On Mon, Oct 7, 2019 at 9:11 PM Geertjan Wielenga 
wrote:


Maybe this:


https://stackoverflow.com/questions/54278159/javafx-11-in-netbeans-10-with-maven-has-no-sources-javadocs

Gj

On Mon, Oct 7, 2019 at 9:01 PM David Green  
wrote:



Thanks.

Any on hints on generating Javadoc?

Dave

On 6 Oct 2019, at 8:59, Geertjan Wielenga wrote:


For debugging, this works:



https://stackoverflow.com/questions/56197372/i-cant-debug-an-application-using-netbeans-11-with-javafx-12


Gj


On Sun, Oct 6, 2019 at 7:05 AM Geertjan Wielenga 


wrote:


However, take a look at Samples | OpenJFX in 11.1.

Those two samples have the nbactions file that contains the debug
target
too.

Gj

On Sun, Oct 6, 2019 at 6:58 AM Geertjan Wielenga

wrote:


Yes, that is my aim too, it will happen, probably not for 11.2.

Gj

On Sun, Oct 6, 2019 at 6:53 AM David Green 
wrote:


Yes.

That would be most useful.

Long term, it would be nice to have this be set up when 
selecting a

project type.

Thanks,

Dave

On 5 Oct 2019, at 23:35, Geertjan Wielenga wrote:


So, the project runs as described in:
https://www.youtube.com/watch?v=8xaRwqcKPSI?

You want another YouTube clip just like that showing how to set 
up

Debug
and Javadoc goals in NetBeans?

Gj

On Sun, Oct 6, 2019 at 4:12 AM David Green 


wrote:

Using Netbeans 11.2.beta2 (although same issues seem to apply 
to

11.1
release),

Using the example from https://openjfx.io/openjfx-docs/ for
modules
with
Maven and NetBeans which is also highlighted in the video
https://www.youtube.com/watch?v=8xaRwqcKPSI&feature=youtu.be,
this
allows one to run code with openJavaFX quite nicely with Run
Project
but
Debug Project and Generate JavaDoc fail.

It would be nice if these and perhaps a build image of some 
sort

were
automatically accomplishable by the base Maven pom.  It would
greatly
help folks start using NetBeans for new projects.

I have found a variant of Mathew Dusome’s code
<



-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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





Re: JavaFX needs some additional default support IMO

2019-10-07 Thread David Green

Thanks.

Any on hints on generating Javadoc?

Dave

On 6 Oct 2019, at 8:59, Geertjan Wielenga wrote:


For debugging, this works:

https://stackoverflow.com/questions/56197372/i-cant-debug-an-application-using-netbeans-11-with-javafx-12

Gj


On Sun, Oct 6, 2019 at 7:05 AM Geertjan Wielenga 
wrote:


However, take a look at Samples | OpenJFX in 11.1.

Those two samples have the nbactions file that contains the debug 
target

too.

Gj

On Sun, Oct 6, 2019 at 6:58 AM Geertjan Wielenga 


wrote:


Yes, that is my aim too, it will happen, probably not for 11.2.

Gj

On Sun, Oct 6, 2019 at 6:53 AM David Green  
wrote:



Yes.

That would be most useful.

Long term, it would be nice to have this be set up when selecting a
project type.

Thanks,

Dave

On 5 Oct 2019, at 23:35, Geertjan Wielenga wrote:


So, the project runs as described in:
https://www.youtube.com/watch?v=8xaRwqcKPSI?

You want another YouTube clip just like that showing how to set up
Debug
and Javadoc goals in NetBeans?

Gj

On Sun, Oct 6, 2019 at 4:12 AM David Green 
wrote:

Using Netbeans 11.2.beta2 (although same issues seem to apply to 
11.1

release),

Using the example from https://openjfx.io/openjfx-docs/ for 
modules

with
Maven and NetBeans which is also highlighted in the video
https://www.youtube.com/watch?v=8xaRwqcKPSI&feature=youtu.be, 
this
allows one to run code with openJavaFX quite nicely with Run 
Project

but
Debug Project and Generate JavaDoc fail.

It would be nice if these and perhaps a build image of some sort 
were
automatically accomplishable by the base Maven pom.  It would 
greatly

help folks start using NetBeans for new projects.

I have found a variant of Mathew Dusome’s code
<


http://mail-archives.apache.org/mod_mbox/netbeans-users/201811.mbox/%3c017501d484e0$c7aad770$57008650$@dsolutions.ca%3e




  to work for everything but the Javadoc although I ran into a 
few

issues.

Dave

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.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.apache.org
For additional commands, e-mail: dev-h...@netbeans.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.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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





Re: JavaFX needs some additional default support IMO

2019-10-05 Thread David Green

Yes.

That would be most useful.

Long term, it would be nice to have this be set up when selecting a 
project type.


Thanks,

Dave

On 5 Oct 2019, at 23:35, Geertjan Wielenga wrote:


So, the project runs as described in:
https://www.youtube.com/watch?v=8xaRwqcKPSI?

You want another YouTube clip just like that showing how to set up 
Debug

and Javadoc goals in NetBeans?

Gj

On Sun, Oct 6, 2019 at 4:12 AM David Green  
wrote:



Using Netbeans 11.2.beta2 (although same issues seem to apply to 11.1
release),

Using the example from https://openjfx.io/openjfx-docs/ for modules 
with

Maven and NetBeans which is also highlighted in the video
https://www.youtube.com/watch?v=8xaRwqcKPSI&feature=youtu.be, this
allows one to run code with openJavaFX quite nicely with Run Project 
but

Debug Project and Generate JavaDoc fail.

It would be nice if these and perhaps a build image of some sort were
automatically accomplishable by the base Maven pom.  It would greatly
help folks start using NetBeans for new projects.

I have found a variant of Mathew Dusome’s code
<
http://mail-archives.apache.org/mod_mbox/netbeans-users/201811.mbox/%3c017501d484e0$c7aad770$57008650$@dsolutions.ca%3e>

  to work for everything but the Javadoc although I ran into a few
issues.

Dave

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.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.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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





JavaFX needs some additional default support IMO

2019-10-05 Thread David Green
Using Netbeans 11.2.beta2 (although same issues seem to apply to 11.1 
release),


Using the example from https://openjfx.io/openjfx-docs/ for modules with 
Maven and NetBeans which is also highlighted in the video 
https://www.youtube.com/watch?v=8xaRwqcKPSI&feature=youtu.be, this 
allows one to run code with openJavaFX quite nicely with Run Project but 
Debug Project and Generate JavaDoc fail.


It would be nice if these and perhaps a build image of some sort were 
automatically accomplishable by the base Maven pom.  It would greatly 
help folks start using NetBeans for new projects.


I have found a variant of Mathew Dusome’s code 
 
 to work for everything but the Javadoc although I ran into a few 
issues.


Dave

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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





Re: Opening files from the Finder into NetBeans on Mac OS X

2019-08-16 Thread David Green

On 16 Aug 2019, at 16:25, Geertjan Wielenga wrote:

There's a really long standing bug that's been causing apparently a 
lot of

grief:

https://netbeans.org/bugzilla/show_bug.cgi?id=138943

Here I have created an Apache NetBeans issue of this:

https://issues.apache.org/jira/browse/NETBEANS-2997


What is the desired behavior?  

  * Clicking on a .java (for example) file opens NetBeans on a single 
file non-project basis? (This seems to be what XCode does and it appears 
NetBeans can partially support such a file)

  * Clicking on a project file opens NetBeans on the project?
  * Clicking on a .java file opens NetBeans to the containing project? 
(What if there is no project?
  * Clicking on a new file project.nb inside the project opens NetBeans 
project?


Responding to the message here — let me know if posting against the 
issue is the preferred approach.


Dave

Re: Congratulations to Neil!

2019-07-22 Thread David Green
Congrats and thanks for leading the project into a new release cycle. Well
done!

On Mon, Jul 22, 2019 at 6:28 AM Geertjan Wielenga 
wrote:

> Hi all,
>
> With the 11.1 release wrapped up, let's take a moment to thank Neil for his
> great work as release manager.
>
> We can and will evaluate the release in various ways, though the most
> important aspect of it is that it succeeded, we have our first release as
> top level Apache project, and no small reason for that is Neil pulling
> everything together and getting everyone to work together smoothly and
> painlessly.
>
> Plus, thanks to Neil we now have a predictable release cycle with quarterly
> releases — that is fantastic and something I’d never have thought doable.
>
> I hope Neil will consider doing at least the 11.2 release too, since that
> will enable any kinks in the process to be ironed out in preparation for
> the next volunteer release manager, like Laszlo did two releases as well
> before him.
>
> Kind regards and congrats to all of us as well,
>
> Gj
>
-- 
Sent from a mobile device. Please excuse any typos.


Re: [VOTE] Release Apache NetBeans 11.1 [vote candidate 2]

2019-07-17 Thread David Green

+1

SHA sums on source and bin match.

Dropping ‘netbeans’ folder into the Apache NetBeans 11.1.app (view 
package contents, replace the netbeans in Resources with new NetBeans 
vc2 (as a workaround till the packaged version available).


Deleted the 11.1 user directory and did not import the prior 11.0 
directory.


The welcome screen has on the right side, a featured demo “Hello 
Apache NetBeans 11.0!” — perhaps this can be changed to 11.1 with a 
new video since this appears to be source from Internet on start up.  
Perhaps this is on the TBD punch list for a release.


Dave

On 16 Jul 2019, at 10:57, Neil C Smith wrote:


Dear all,

This is our second voting candidate for the 11.1 release of Apache
NetBeans, following 11.1-beta4 and a fix to the critical issue that
made us pull the first vote.  There have been no changes between beta4
and this voting candidate.

Apache NetBeans 11.1 constitutes all clusters in the Apache NetBeans
Git repo, which together provide the NetBeans Platform (i.e., the
underlying application framework), as well as all the modules that
provide the Java SE, Java EE, PHP, JavaScript and Groovy features of
Apache NetBeans.

Build artefacts are available here:
https://dist.apache.org/repos/dist/dev/netbeans/netbeans/11.1-vc2/
https://dist.apache.org/repos/dist/dev/netbeans/netbeans-platform/11.1-vc2/

Included in the above are the DEPENDENCIES, DISCLAIMER, LICENSE, and
NOTICE files, as well as a README file with build instructions, which
are the same as these:
https://github.com/apache/netbeans/blob/release111/README.md

We are voting on:
https://dist.apache.org/repos/dist/dev/netbeans/netbeans/11.1-vc2/netbeans-11.1-vc2-source.zip

SHA512:
44d551f579587eafea30b3b3d9a9095520fb2dc028d63a1e7a31c6e52882c371c8f8f1ac32d836694fefea269e52bf092e1976cf2c58accd36c816e009248e08
 ./netbeans-11.1-vc2-source.zip

KEYS file:
https://dist.apache.org/repos/dist/release/netbeans/KEYS

Apache NetBeans Git Repo tag: 11.1-vc2 :
https://github.com/apache/netbeans/tree/11.1-vc2

Note: NetBeans license violation checks are managed via the
rat-exclusions.txt file:
https://github.com/apache/netbeans/blob/release111/nbbuild/rat-exclusions.txt

Rat report shows no unknown licenses, except for license files:
https://builds.apache.org/job/netbeans-release/428/artifact/rat-release-temp/nbbuild/build/rat-report.txt

Release specific wiki page:
https://cwiki.apache.org/confluence/display/NETBEANS/Apache+NetBeans+11.1


How (and what) to try out with the release:

1. Download the artefact to be voted on and unzip it.
2. Check that the artefact does not contain any jar files, except for:
- 
platform/autoupdate.services/test/unit/src/org/netbeans/api/autoupdate/data/empty.jar

- enterprise/glassfish.common/test/unit/data/nottaDir-4_1_2.jar
- 
enterprise/glassfish.common/test/unit/data/subdir/nottaDir-5.0.jar

- enterprise/payara.common/test/unit/data/nottaDir-4_1_2.jar
- enterprise/payara.common/test/unit/data/subdir/nottaDir-5.0.jar
which are only jars by their name
3. Verify the cryptographic signatures, the NOTICE and LICENSE file
4. Build it using the README provided by the artefact.
5. Look in nbbuild/netbeans for the NetBeans installation created by
the build process and try running it.

This vote is going to be open at least 72 hours, vote with +1, 0, and
-1 as usual.  Please mark your vote with (binding) if you're a
NetBeans PMC member to help with voting admin.  NetBeans 11.1 will be
released if and when this vote passes.

Convenience binaries, not relevant for voting purposes, are staged at
the build artefacts links above.

Thank you for all the hard work!

Best wishes,

Neil
Volunteer Release Manager for Apache NetBeans 11.1

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.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.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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





Re: [NETBEANS-2455] Splash Screens!

2019-04-26 Thread David Green

Safari can render this http://netbeans.apache.org/images/splash.svg

On 26 Apr 2019, at 19:41, Laszlo Kishalmi wrote:


I was happy too early.

It seems only Firefox/Chrome could correctly render that SVG, command 
line converters I've tried: imagemagic, inkscape and librsvg-bin had 
issues.


So I go back to my original plan get the empty splash (from firefox I 
can make one) and try to draw something on that with Java later.


On 4/26/19 3:55 PM, Laszlo Kishalmi wrote:

I love the svg!


Now we just need to agree on the design. I like both version, but 
don't forget the progress bar an the status texts as well.
Till then, I'm going to make some experiment generating the splash on 
build time from the svg.


On 4/26/19 2:44 PM, Antonio wrote:

Here's a splash image in plain text.

Updating the release number is a piece of cake :-)

http://netbeans.apache.org/images/splash.svg

Cheers,
Antonio

P.S.: Font is 'Anton' (Open Font License)
https://fonts.google.com/specimen/Anton

El 26/04/2019 a las 8:53, Laszlo Kishalmi escribió:

Dear all,

We need Splash Screens for the Development Version to our master 
branch. It looks quite stupid to see the dev version showing a 10 
version on splash even after the 11.0 got released.


Also we need the know-how to be public how to generate the splash 
screen image. A simple Splash Screen background image would be good 
as well!


Thank you in advance!

Laszlo Kishalmi


-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.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.apache.org
For additional commands, e-mail: dev-h...@netbeans.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.apache.org
For additional commands, e-mail: dev-h...@netbeans.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.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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