File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NetBeans: Adding copy right information

 
gautham kasinath
Ranch Hand
Posts: 583
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

What I am trying to do is a very trivial task. I have to add the copy rights notice (GNU) that my company issues to all the Java sources that I have. I use the netBeans and I have spent a day and a half in trying to figure out HOW I can include the same into NetBeans, so that existing classes can have the copy right notice injected on the top and the new classes that I may create (right click -> Java Class) have the same.

Any clues?! Google failed, netbeans mail arhive failed in solving my problem..

Cheers
G
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For new classes you can probably just change the templates used to create them.
I don't know how it's done in NB but in Eclipse that's an almost trivial task.

For existing classes I think you'd best write a small program that does it for you as otherwise you're stuck with a large copy-paste action.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic