You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Mark R. Diggory" <md...@latte.harvard.edu> on 2003/07/09 21:21:34 UTC
[OT] Eclipse, Javadoc, and cvs in @version tags
I'm trying to setup a javadoc template in Eclipse to handle cvs
verisioning in Javadoc comments. Does anyone have a good resource for
this sort of thing? I just don't quite get where such templates/varables
take effect (Does the CVS client have this capability, is it part of
Eclipse or whatever)? Anyone who has tips on how to get such information
to be automatically updated, I would be 110% grateful to.
-Mark
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: [OT] Eclipse, Javadoc, and cvs in @version tags
Posted by "Mark R. Diggory" <md...@latte.harvard.edu>.
Mike Bowler wrote:
> Mark R. Diggory wrote:
>
>> I'm trying to setup a javadoc template in Eclipse to handle cvs
>> verisioning in Javadoc comments.
>
>
> Something like this? (this is what I use)
> @version $Revision$
Works great, thanks! I'm using:
@version $$Revision:$$ $$Date:$$
in my eclipse @version template ($ is an escaping char in eclipse
templates because variables are used like $date).
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
RE: [OT] Eclipse, Javadoc, and cvs in @version tags
Posted by Martin van den Bemt <ml...@mvdb.net>.
If it doesn't replace well use $Id: $ etc :) (in eclipse you type $$Id:
$$ btw.
Check if your files are actually checked in in kkv mode (see Team-Change
ASCII/Binary property.
I had everything checked in once (not here though) as ko, since that was
/ is the default in eclipse.
Mvgr,
Martin
On Wed, 2003-07-09 at 22:17, Noel J. Bergman wrote:
> > > I'm trying to setup a javadoc template in Eclipse to handle cvs
> > > verisioning in Javadoc comments.
>
> > @version $Revision$
>
> Or @version CVS $Revision$ $Date$
> Or @version $Id$
> Or ... :-)
>
> > I assume it happens on the server side but I'm not positive.
>
> On the server.
>
> --- Noel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
--
Martin van den Bemt <ml...@mvdb.net>
mvdb.com
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
RE: [OT] Eclipse, Javadoc, and cvs in @version tags
Posted by "Noel J. Bergman" <no...@devtech.com>.
> > I'm trying to setup a javadoc template in Eclipse to handle cvs
> > verisioning in Javadoc comments.
> @version $Revision$
Or @version CVS $Revision$ $Date$
Or @version $Id$
Or ... :-)
> I assume it happens on the server side but I'm not positive.
On the server.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: [OT] Eclipse, Javadoc, and cvs in @version tags
Posted by Mike Bowler <mb...@GargoyleSoftware.com>.
Mark R. Diggory wrote:
> I'm trying to setup a javadoc template in Eclipse to handle cvs
> verisioning in Javadoc comments.
Something like this? (this is what I use)
@version $Revision$
This will get expanded to the following on checkout
@version $Revision: 1.3$
> Does anyone have a good resource for
> this sort of thing?
http://www.cvshome.org is generally the place for cvs information. For
expandable keywords, check out http://www.cvshome.org/docs/ref.html and
scroll down to the "keywords" section.
> I just don't quite get where such templates/varables
> take effect
I assume it happens on the server side but I'm not positive. Either
way, expansion *will* happen when using Eclipse.
--
Mike Bowler
Principal, Gargoyle Software Inc.
Voice: (416) 822-0973 | Email : mbowler@GargoyleSoftware.com
Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org