Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 The Software Craftsman this week in the Agile 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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Version ID?