This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Anyway to get it into userSplashName
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 04, 2011
11:58 AM
How to embed Subversion Keywords into iap_xml
Hello:
Subversion allows for the inclusion of keywords into any source file checked into source control. These keywords are expanded at checkout and provide meaningful information to the developer checking out files. Examples are:
$URL$ - The URL of the file in the repository
$Rev$ - The revision # checked out
$Author$ - The name of the person who last modified the file
$Date$ - The date of last modification
$Id$ - Composite of all of the above
Since the installation script will sometimes change as a product is developed, we check in the iap_xml file into Subversion, and would like to make use of keywords to keep track of the different revision of the install script.
I'd like to know if this is possible, and how it might be accomplished. Where in my build file may I safely put content that will not be over written by Install Anywhere 2008 Enterprise.
AdThanksVance,
Mike
Subversion allows for the inclusion of keywords into any source file checked into source control. These keywords are expanded at checkout and provide meaningful information to the developer checking out files. Examples are:
$URL$ - The URL of the file in the repository
$Rev$ - The revision # checked out
$Author$ - The name of the person who last modified the file
$Date$ - The date of last modification
$Id$ - Composite of all of the above
Since the installation script will sometimes change as a product is developed, we check in the iap_xml file into Subversion, and would like to make use of keywords to keep track of the different revision of the install script.
I'd like to know if this is possible, and how it might be accomplished. Where in my build file may I safely put content that will not be over written by Install Anywhere 2008 Enterprise.
AdThanksVance,
Mike
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 04, 2011
04:43 PM
Unfortunately, this is exactly the way IA represents its variables, so it might get a little conflicting... but you could try and have a Comment action somewhere in the beginning of your project (the 1st action in the Pre-Install Task), which would translate to a bloc of CDATA in the resulting .iap_xml file, I guess that should do the trick...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 04, 2011
05:22 PM
Vlad:
The first usable section that I think would work for me is:
Splash.png
Any ideas as to how I can stick a comment in here.
Mike
The first usable section that I think would work for me is:
Any ideas as to how I can stick a comment in here.
Mike
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 04, 2011
06:06 PM
Hi:
The very first pre-install action, a comment, ends up on line 3387 in my iap_xml file.
Not very useful.
The very first pre-install action, a comment, ends up on line 3387 in my iap_xml file.
Not very useful.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 07, 2011
04:05 AM
Well, I said that the field should be a CDATA, but you should not touch ANY field... if you touch for instance this one, you'll lose the access to the splash file... On the other hand, the way things are saved in the .iap_xml project are not necessary the way you see them in the Advanced Designer.
muradkhan wrote:
Vlad:
The first usable section that I think would work for me is:
Splash.png
Any ideas as to how I can stick a comment in here.
Mike
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 07, 2011
11:12 AM
Thanks Vlad:
Appreciate the response. It would appear that there is no way for me to accomplish what I want. Would you agree, and would you also agree that it is a reasonable expectation that such artifacts be versionable (which it is of course is), but modifiable by the version control system.
Appreciate the response. It would appear that there is no way for me to accomplish what I want. Would you agree, and would you also agree that it is a reasonable expectation that such artifacts be versionable (which it is of course is), but modifiable by the version control system.
pv7721 wrote:
Well, I said that the field should be a CDATA, but you should not touch ANY field... if you touch for instance this one, you'll lose the access to the splash file... On the other hand, the way things are saved in the .iap_xml project are not necessary the way you see them in the Advanced Designer.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 07, 2011
12:35 PM
Unfortunately, IA doesn't seem to have been designed to be very SCM friendly. To see that, just open up your project in the Advanced Designer, go to the Install task, click to an action then try to close the project. It will prompt you to save even if there isn't a single modification. Save and then do a diff: you'll plenty of stuff that IA artificially regenerated so even for a small modification you've got plenty of other polluting ones (so looking at an IA diff is always a nightmare).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 07, 2011
01:16 PM
Thanks Vlad.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)