ni / niveristand-communications-bus-template

Template custom device for using communications buses in VeriStand
http://www.ni.com
MIT License
0 stars 3 forks source link

Keep build spec settings for custom device project #97

Closed buckd closed 3 years ago

buckd commented 3 years ago

What does this Pull Request accomplish?

This change eliminates the need to fix up build specifications following execution of the template cloning tool. This allows new files to automatically be included in the custom device builds as well as keeping build settings like enable debugging and stripping block diagrams.

A temporary project is created prior to replacing library names and the build specs from the temporary project is then copied back into the actual project and the paths are then updated.

Why should this Pull Request be merged?

This change keeps all the original build settings from the template provided in this repo after a new project is generated.

Fixes #91

What testing has been done?

Manual testing by comparing XML, opening in LabVIEW, and tested that cloned project correctly executes in System Explorer and deploys (on Windows).

niveristand-diff-bot commented 3 years ago

Bleep bloop!

LabVIEW Diff Robot here with some diffs served up hot for your pull request.

Notice something funny? Help fix me on my GitHub repo.

Template Tool.lvlib--Clone Template Main.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-97/2021-04-28/13%3A40%3A48/Template%20Tool.lvlib--Clone%20Template%20Main.vi.png)
Template Tool.lvlib--Copy Template Source to New Location.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-97/2021-04-28/13%3A40%3A48/Template%20Tool.lvlib--Copy%20Template%20Source%20to%20New%20Location.vi.png)
Template Tool.lvlib--Create Temporary Duplicate Project.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-97/2021-04-28/13%3A40%3A48/Template%20Tool.lvlib--Create%20Temporary%20Duplicate%20Project.vi.png)
Template Tool.lvlib--Find Named XML Item.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-97/2021-04-28/13%3A40%3A48/Template%20Tool.lvlib--Find%20Named%20XML%20Item.vi.png)
Template Tool.lvlib--Get Build Spec XML.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-97/2021-04-28/13%3A40%3A48/Template%20Tool.lvlib--Get%20Build%20Spec%20XML.vi.png)
Template Tool.lvlib--Get Target XML Information.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-97/2021-04-28/13%3A40%3A48/Template%20Tool.lvlib--Get%20Target%20XML%20Information.vi.png)
Template Tool.lvlib--Get XML Item Name.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-97/2021-04-28/13%3A40%3A48/Template%20Tool.lvlib--Get%20XML%20Item%20Name.vi.png)
Template Tool.lvlib--Restore Build Specs After Replace.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-97/2021-04-28/13%3A40%3A48/Template%20Tool.lvlib--Restore%20Build%20Specs%20After%20Replace.vi.png)
Template Tool.lvlib--Update Build Specs and Build.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-97/2021-04-28/13%3A40%3A48/Template%20Tool.lvlib--Update%20Build%20Specs%20and%20Build.vi.png)
niveristand-diff-bot commented 3 years ago

Bleep bloop!

LabVIEW Diff Robot here with some diffs served up hot for your pull request.

Notice something funny? Help fix me on my GitHub repo.

Template Tool.lvlib--Clone Template Main.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-97/2021-05-04/10%3A50%3A41/Template%20Tool.lvlib--Clone%20Template%20Main.vi.png)
Template Tool.lvlib--Copy Template Source to New Location.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-97/2021-05-04/10%3A50%3A41/Template%20Tool.lvlib--Copy%20Template%20Source%20to%20New%20Location.vi.png)
Template Tool.lvlib--Create Temporary Duplicate Project.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-97/2021-05-04/10%3A50%3A41/Template%20Tool.lvlib--Create%20Temporary%20Duplicate%20Project.vi.png)
Template Tool.lvlib--Find Named XML Item.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-97/2021-05-04/10%3A50%3A41/Template%20Tool.lvlib--Find%20Named%20XML%20Item.vi.png)
Template Tool.lvlib--Get Build Spec XML.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-97/2021-05-04/10%3A50%3A41/Template%20Tool.lvlib--Get%20Build%20Spec%20XML.vi.png)
Template Tool.lvlib--Get Target XML Information.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-97/2021-05-04/10%3A50%3A41/Template%20Tool.lvlib--Get%20Target%20XML%20Information.vi.png)
Template Tool.lvlib--Get XML Item Name.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-97/2021-05-04/10%3A50%3A41/Template%20Tool.lvlib--Get%20XML%20Item%20Name.vi.png)
Template Tool.lvlib--Restore Build Specs After Replace.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-97/2021-05-04/10%3A50%3A41/Template%20Tool.lvlib--Restore%20Build%20Specs%20After%20Replace.vi.png)
Template Tool.lvlib--Update Build Specs and Build.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-97/2021-05-04/10%3A50%3A41/Template%20Tool.lvlib--Update%20Build%20Specs%20and%20Build.vi.png)