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(a)lists.jboss.org
[mailto:rules-dev-bounces@lists.jboss.org] On Behalf Of Geoffrey De Smet
Sent: 26 July 2010 18:57
To: rules-dev(a)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...
--
With kind regards,
Geoffrey De Smet
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev