Sign Up

IG Relative Build Paths by Illuminated G - Toolkit for LabVIEW Download

Saves build spec paths relatively more often.

D Discussion Watch * 3 ↓173
 screenshot
Version1.1.0.5
ReleasedJan 05, 2024
Publisher Illuminated G
License MIT
LabVIEW VersionLabVIEW>=20.0
Operating System Windows, Mac, and Linux
Project links Homepage   Discussion

Description

Changes how LabVIEW decides to save relative paths so that relative paths can be used in build specs more often.

The priority of checks with this package is as follows:

1) If the referenced path is underneath the folder containing the project file, the path is saved relative to the project.

2) If the referenced path is underneath the folder containing the installed LabVIEW.exe then the path is saved relative to the LabVIEW App.Dir path.

3) If the referenced path and the project have at least 2 path segments in common (drive letter and a folder) then the path will be saved relatively.

Examples for 3:

Saved relatively:
c:\dev\ProjectA\Module1\mod1.lvproj references c:\dev\build\bin - Common path is c:\dev which has 2 segments: ["c", "dev"]

Saved absolutely:
c:\dev\ProjectA\Module1\mod1.lvproj references c:\libs\MyCoolLib - Common path is only the drive letter which is less than the 2 required segments.

Release Notes

1.1.0.5 (Jan 05, 2024)

Changes the relative path checkfor 2 cases, see #2 and #3 in the full package description. Fixes LabVIEW lib folders being saved relatively.

derrickb and joerghampel were contributors to this release


Download Package

Versions
All Contributors

  Post an Idea   Post a Resource

Recent Posts