How can I make the function of "Keyword Expansion" effective

If you are having a problem using Fortress, post a message here.

Moderator: SourceGear

Post Reply
doitnow
Posts: 3
Joined: Sat Dec 27, 2008 12:08 am

How can I make the function of "Keyword Expansion" effective

Post by doitnow » Sat Dec 27, 2008 12:17 am

Hi,
My buddy.
Can I get you help? I have a question to ask.
I use the Fortress well, but I cannot make the function of "Keyword Expansion" effective. The attachment is the snap of my admin web page. need I set other more(or in my client side)?

Image

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: How can I make the function of "Keyword Expansion" effective

Post by lbauer » Sat Dec 27, 2008 11:38 pm

Could you give an example of the keywords you are trying to expand in your files?

What language are you using in your files?
Linda Bauer
SourceGear
Technical Support Manager

doitnow
Posts: 3
Joined: Sat Dec 27, 2008 12:08 am

Re: How can I make the function of "Keyword Expansion" effective

Post by doitnow » Sun Dec 28, 2008 2:10 am

sorry,
how to set the keywords in my files?
my language is C#.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: How can I make the function of "Keyword Expansion" effective

Post by lbauer » Mon Dec 29, 2008 9:01 am

Keywords allow you to specify strings in your source control files that get expanded to contain dynamic content in the file when retrieved to a client.

After enabling Keyword Expansion in the Admin Web Client for the Fortress server, you can use keywords in your source code files. For instance, if you use the keyword

Code: Select all

$Author: $ 
in your file, it will expand after every checkin to show name of the user who last changed the file.

For other keywords, see Fortress Client Help->Reference Guide->Keyword expansion. You can see it online as well:

http://download.sourcegear.com/misc/for ... lp/client/
Linda Bauer
SourceGear
Technical Support Manager

doitnow
Posts: 3
Joined: Sat Dec 27, 2008 12:08 am

Re: How can I make the function of "Keyword Expansion" effective

Post by doitnow » Mon Dec 29, 2008 8:12 pm

thanks a lot. I got it.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: How can I make the function of "Keyword Expansion" effective

Post by lbauer » Tue Dec 30, 2008 1:36 pm

You're welcome. : )
Linda Bauer
SourceGear
Technical Support Manager

Post Reply