Fro the record, where I worked there was a company-standard template required.
Not so much a license, but a copyright notice. I think such requirements are
not that uncommon outside of OSS in the corporate world.
I think perhaps this feature would benefit from a few changes:
1 - allowing a per
I think it is reasonable to simply make
`Templates/Licenses/license-default.txt` be empty, or delete it if
that does not break anything. If we want to alert developers that they
_can_ get automatic license header insertion, for the minority
(typically OSS devs) who would need it, there are better w
Not an expert on this so others more well versed in this then I can chime in
but thought I would put it in the thread...
Looking for Netbeans Templates I found reference (1) to FAQ for template
variables. From this I see some of the following:
${project.license} based on the value (e.g., 'CDDL'
I think this idea of having license selection as part of the new project wizard
makes sense.
Scott
> On Jun 1, 2020, at 12:49 PM, David Green wrote:
>
> Perhaps the license question should be part of the new project workflow.
--
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
> 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.
My experience with license headers are:
- Open Source - I need license headers
- Commercial - I haven't used license headers (project for banks,
financial companies etc.)
- Teaching - I don't want to use license headers it is annoying
- Studying - It is annoying
- Presentation -
On Mon, Jun 1, 2020 at 2:09 AM Tomas Poledny wrote:
> My proposal is to create a checkbox in settings (and per project too) with
> enabling license headers.
FYI, if you use Maven, NetBeans does the right thing automatically:
looks for the license declaration in your POM, and picks a license
heade
> -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
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)
&g
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
ena
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
at least not be discouraged.
-- Eirik
-Original Message-
From: Matthias Bläsing
Sent: Sunday, May 31, 2020 1:42 PM
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)
Hi
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 al
: dev@netbeans.apache.org
Subject: Default license header in generated files confuses students (was: Re:
The time has come to bd farewell to the license header)
Hi,
Am Sonntag, den 31.05.2020, 16:37 + schrieb Kenneth Fogel:
> Please, please, please get rid of this:
>
> /*
> * To ch
I don't know that it's confusing (it never was to me) just not
convenient...perhaps due to my own ignorance.
I think of any given license as project, not IDE specific.
Perhaps I should dig a bit further before commenting.
On Sun, May 31, 2020 at 1:00 PM Matthias Bläsing
wrote:
> Hi,
>
> Am Son
Hi,
Am Sonntag, den 31.05.2020, 16:37 + schrieb Kenneth Fogel:
> Please, please, please get rid of this:
>
> /*
> * To change this license header, choose License Headers in Project Properties.
> * To change this template file, choose Tools | Templates
> * and open the template in the editor.
18 matches
Mail list logo