Unfortunately I'm unfamiliar with Perl.
Do u think its a good idea to start learning Perl just to add some
comments? :P
>> Is there a tool to aid in the generation of comments/javadoc?
>> As an example, I'd like to add a copyright on top of every java file
>> I've
>> already created.
>
> You can always use Perl for this kind of tasks...
John - 20 May 2004 11:43 GMT
>>> Is there a tool to aid in the generation of comments/javadoc?
>>> As an example, I'd like to add a copyright on top of every java file
[quoted text clipped - 7 lines]
> Do u think its a good idea to start learning Perl just to add some
> comments? :P
My favourite hack is to replace "package myPackage;" with "HEADER
INFORMATIONpackage myPackage;"
John
Ryan Stewart - 20 May 2004 12:52 GMT
*fixed top post*
> >> Is there a tool to aid in the generation of comments/javadoc?
> >> As an example, I'd like to add a copyright on top of every java file
[quoted text clipped - 7 lines]
> Do u think its a good idea to start learning Perl just to add some
> comments? :P
If you're going to go that route, why not just write a Java program to add
the comments? Otherwise, I know NetBeans has an auto comment feature. I'm
not aware that it has something that will let you add one thing to a number
of files, but it does automatic javadoc formatting for you.
Roedy Green - 20 May 2004 17:06 GMT
>Do u think its a good idea to start learning Perl just to add some
>comments? :P
You could just scan for the first /** of the program with index of and
add the comment just before the the next */. Use Java.

Signature
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.