04-14-2009 04:08 PM
When running the deployment utility, I am able to analyze source files successfully; no problems there. When I go to build, all appears to go well until I click the popup that has the message: "The build is finished." After closing the popup, I get the following warning:
"Warning: This problem will cause an error when building a deployable image or an installer. The following file(s) were not found:"
It's followed by a list of dozens of files. However, I verified that all files are included in the search directories.
I installed the deployment as-is and it seems to run ok; it finds the files it's supposed to. However, I'm going to have a hard time selling this procedure off to QA if the deployment shows a 'file not found' message.
My question is: why do I get the 'file not found' warning during the deployment build process, yet the 'analyze source file' step finishes ok and the deployed files work ok?
04-15-2009 05:58 PM
Hi Jojo_in_tx,
I would suggest looking at the way you are specifying the paths to these files. are you using relative or absolute paths? Is it possible to try to move these files to a different directory (perhaps a directory with working files), and see if you still get the behavior? Also, are all the files not being found in the same directory?
04-16-2009 07:21 AM
These files are all relative and are part of the workspace. I did find a
workaround to the problem.
In the search directories selection box, the top-level entry is "Current
sequence file" with subdir search enabled. The next entry is the workspace
directory with subdir search enabled; all files are in subdirs of the
workspace directory. The remaining entries are unchecked or not
user-defined (ie.: other NI directories on my computer). In order for the
deployment to work, I had to enable the third entry on the list: "Initial
directory" along with subdir enabled. However, the initial directory is
the same as the workspace directory (since I opened teststand by
double-clicking on my .tsw file). What I don't understand is why should it
matter that I have initial directory on the path if it's the same as the
entry before it?