I saw a neat trick that one of my co-workers did. He added some comments to the Java code. When the committed in cvs, the code is updated with the comments entered into CVS. My question is where can I learn more about this neat trick. I wanted to understand it better. He's been using it for awhile and didn't know where I could get more info. Any info you have that can point me in the right direction would be great. Thanks in advance.
I actually don't like this feature very much. Your IDE should provide this information to you in a much more comfortable way, anyway (like the "Resource History" view in Eclipse). If it does, it just adds clutter to the code, in my opinion.
I guess it can be valuable when you print your sources a lot, though, so your mileage might certainly vary...
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
it works well for when you remove your code from the ide environment. such as printing as you said.
you can find information like this in the 'cederqvist' or whatever they are calling the help files of CVS
Joined: May 29, 2003
thanks for the info. I tried to look up the codes in eclipse but no luck. We have to list all of the changes in our source code and this would be the easiest way. It stops me from adding commentsin CVS and then in my code. Using these variables allows the comments to autmatically be added. Thanks again for your help.