Two Laptop Bag*
The moose likes IDEs, Version Control and other tools and the fly likes NetBeans: Adding copy right information Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "NetBeans: Adding copy right information" Watch "NetBeans: Adding copy right information" New topic
Author

NetBeans: Adding copy right information

gautham kasinath
Ranch Hand

Joined: Dec 01, 2000
Posts: 583
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


"In the country of the blind, the one eyed man is the King"
Gautham Kasinath CV at : http://www.geocities.com/gkasinath
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
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.


42
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NetBeans: Adding copy right information
 
Similar Threads
EJB3.0 deployment on jboss4.0.4GA
Is it netbeans or is it me?
Can't access/call class/method in java class which is compile by using netbeans
MPXJ : Jaxb error reading xml file
Java Deployment