I'm doing XML according to this answer: http://answers.bitrock.com/questions/63/what-does-the-save-relative-paths-option-mean
I.e. I set the option "Save relative path" but when I save the project I can see that paths are absolute inside XML project file.
I've converted path manually from c:\repo\project\output\program.exe to ./output/program.exe. It works but I still have a problem. if a working directory when I run bulding (either from GUI or console) differs from c:\repo\project, the compiler couldn't convert paths. It adds the path of itself, I mean it convert the path to c:\program file\bitrock installer\bin\output\program.exe.
I.e. it doesn't set work directory to folder where project file is located. However I can live with this because I can run builder from right folder.
The second problem is critical. I wrote:
And it couldn't run the program. The error message is:
Error: Unknown error while running output\program2.exe Error building project
It works if I specify absolute path only. But it won't work for me because we have many configurations where we build install packages. What can I do?
asked 16 Feb '12, 07:31
I'm not sure I understand the issue. Could you include some snippets including the paths not being relativized?
In addition, you can always using absolute paths but relative to the project directory using the
answered 16 Feb '12, 18:17