Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Suggestions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1  
Old 04-16-2018, 01:40 PM
mevans mevans is offline
Registered User
 
Join Date: 04-21-2015
Posts: 32
Improved .bld file format

There have been a few times when I wished that the .bld file format was easier to navigate programmatically.

For example, all the steps are flat, but contain an indent node. It would be nice if a Group step actually had child notes of the steps inside of it.

Another example is parameters. Instead of having ordered ParamValues and Parameters, it would be nice if there was a parameter node that had a value.

I have a couple of use cases in mind here:
  1. Diffing before source control commit: Often times, I think it would be easier to diff changes if the XML was organized this way.
  2. Customer gets a subset of the script: We have an escrow requirement where we need to provide source code and a build script; however, the script does additional steps that we do internally and it doesn't make sense to include these steps in the escrow deposit. I've organized the code we need to omit in a Group that I can easily select it and delete it. This is a manual operation. If I could use an Xpath to find the group in the .bld script and delete it, that would be terrific. If everything was nested inside the group, it would be easy to accomplish this. For now, it remains a manual step.

I'm guessing the way things get output might just be a default serializer for various components. You'd potentially have to write custom serializers for components to do this, so it could be a bit of work to implement and test.
Reply With Quote
  #2  
Old 02-26-2019, 10:25 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Another way to automate that would be to use the Visual Build object model to remove the group step and its children (steps following with greater indent).

See the attached sample.
Attached Files
File Type: bld RemoveGroup.bld (1.9 KB, 4257 views)
Reply With Quote
Reply


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 09:20 AM.


Copyright © 1999-2023 Kinook Software, Inc.