Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-09-2007, 12:05 PM
jbrown0099 jbrown0099 is online now
Registered User
 
Join Date: 10-09-2007
Location: Georgia
Posts: 1
replacing line in file...

I have read the documentation on how to do this but still do not understand. Below is the line which I want replaced.

<property name="version" value="McK-10.1.0.0"/>

This is what I want to replace it with. The only thing that will change is the 10.1.0.0. However, it will not always be 10.1.0.0. I just want to be able to replace what is between the McK- and the "/>. Any help would be much appreciated. Thanks.

<property name="version" value="McK-%Version%"/>
Reply With Quote
  #2  
Old 10-09-2007, 12:29 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
See attached sample (I wasn't sure if you wanted to replace with the value of a %Version% macro or the literal string %Version%, so the sample shows both).
Attached Files
File Type: bld repl_ver.bld (1.3 KB, 1029 views)
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 12:21 PM.


Copyright © 1999-2023 Kinook Software, Inc.