LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

distribution build in CVI 9.0, paths to included files

I'm using CVI 9.0.

This is not really a big issue, but an annoyance.

When I create a distribution (build a release) I am working with files on a network drive (in Clearcase, if that matters).

I usually have my project mounted on Z: (i.e. Z:\cctd\test_sw\proj1),

but with others working on this, or needing to do something in a different version (mounted on a different drive), I may need  to work with a version on the X: drive (i.e. X:\cctd\test_sw\proj1).

The problem I have with this is that the files listed in the distribution package have hard coded drive mappings, so if I switch from the Z version to the X verison, the files listed in  (Build->Distributions->Edit proj) the Files tab, in the bottom half the "Installation Files & Directories" have a lot of the files in red, because they are from the distribution from the Z drive and have sizes 0, they are not available.

I then have to manually remove and then add the files back in.

I'd like to have some way to not have to mess with this.

I'd like a drive setting that I can change and it would adjust each file, or it would just use some sort of relative path or something.

 

Anyone know how to work around this?

Message Edited by Ken (This is my stinking alias) on 01-15-2009 11:53 AM
0 Kudos
Message 1 of 3
(2,811 Views)

For files added to the distribution in the Files tab, relative paths are only kept if the files are in the project. So, for example, if you are distributing a UIR, it is likely in your project tree, and so CVI looks for that file relative to the .prj file. For your use case, I would suggest adding all the files that are showing up red to your project tree. You could create a folder in your project tree named "Distribution Files" and add them there.

 

Let me know if that solution works for you, or else maybe we can think of a better solution to implement for a future version.

 

Mert A.

National Instruments

0 Kudos
Message 2 of 3
(2,798 Views)

It worked to add the files to the project.

Funny I didn't think of that before.

 

Thanks

0 Kudos
Message 3 of 3
(2,761 Views)