[rules-dev] Copyright license headers: howto for IntelliJ

Toni Rikkola trikkola at redhat.com
Fri Jul 30 06:58:31 EDT 2010


Nice Geoffrey,

I used a maven plugin to add the headers, but its not perfect. So 
hopefully as many as possible do what Geoffrey did and makes adding it 
automatic in the IDE. At the same time you can add the @author tag to 
get fame and credit ( or shame ;-).

Toni

Anstis, Michael (M.) wrote:
> Here's an interesting looking plugin for Eclipse
> http://marketplace.eclipse.org/content/copyright-wizard for
> retrospective comments.
>
> Otherwise you can always fall back to "templates" for new work...
>
>
> -----Original Message-----
> From: rules-dev-bounces at lists.jboss.org
> [mailto:rules-dev-bounces at lists.jboss.org] On Behalf Of Geoffrey De Smet
> Sent: 26 July 2010 18:57
> To: rules-dev at lists.jboss.org
> Subject: [rules-dev] Copyright license headers: howto for IntelliJ
>
> Toni added copyright license headers for all files,
> but it's also nice to automatically have them ok for new development.
>
> So here's a howto for IntelliJ (I hope one of the Eclipse guys does a 
> howto for Eclipse :)
>
> - Open IntelliJ.
> - Close all projects (this will give you the template project settings).
> - Open Settings.
> - Go to Copyright/Copyright profiles
> - Add Copyright profile
> -- name textfield: JBoss Inc
> -- Fill this into the text area:
> Copyright $today.year JBoss Inc
>
> Licensed under the Apache License, Version 2.0 (the "License");
> you may not use this file except in compliance with the License.
> You may obtain a copy of the License at
>
>       http://www.apache.org/licenses/LICENSE-2.0
>
> Unless required by applicable law or agreed to in writing, software
> distributed under the License is distributed on an "AS IS" BASIS,
> WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> See the License for the specific language governing permissions and
> limitations under the License.
> - Do not end with a newline character
> - Go to Copyright
> -- Default project copyright combobox, select "JBoss Inc"
>
> Rinse an repeat for each JBoss project...
>
>   



More information about the rules-dev mailing list