File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Version ID? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Version ID?" Watch "Version ID?" New topic

Version ID?

Wilson Gordon
Ranch Hand

Joined: Apr 07, 2007
Posts: 89
I was looking at a apache commons source file and it has version ID in the class's documentation comment:

I use eclipse. How can I have the program generate the version ID like that?

Jaime M. Tovar
Ranch Hand

Joined: Mar 28, 2005
Posts: 133
I think its a cvs header not something related with eclipse. Take a look to "cvs version control" in google.

She will remember your heart when men are fairy tales in books written by rabbits.<br /> As long as there is duct tape... there is also hope.
gkumar kumar

Joined: May 01, 2007
Posts: 8
If you are asking about the comments in the class file

* @author ${user}
* ${tags}

These comments we can set in eclipse at
Windows->Preferences->java->code Style->code Templetes

Thanks&Regards,<br />gkumar
Wilson Gordon
Ranch Hand

Joined: Apr 07, 2007
Posts: 89
Thanks all.

It does look like the version thing is generated by program like Subversion.

Without subversion. I guess we'll have to modify the @version manually.
It is sorta covered in the JavaRanch Style Guide.
subject: Version ID?
It's not a secret anymore!