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 <mblaes...@doppel-helix.eu> 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 +0000 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 <salja...@gmail.com> > > 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 <lah...@gmail.com> 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 +0000 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 > > > > them incentives to solve problems themselves). In the years > > > > after > > > > initial training/learning contant change will be the norm and > > > > people > > > > not being able to learn might be better of learning this fact > > > > early on. > > > > > > > > Just my thoughts though > > > > > > > > Greetings > > > > > > > > Matthias, who thinks, that NetBeans problems are in other areas > > > > > > > > > > > > --------------------------------------------------------------- > > > > ----- > > > > - 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 > > > > -- Sent from a mobile device. Please excuse any typos.