3P
3P copied to clipboard
Wrong Propath for compilation
Description of the Issue: When compiling a source code (.p) from my source directory is not finding an include that is current in the same source directory. My code references the include as {include/include.i}, and it can´t be found during compilation. My source directory is "C:\temp\WorkArea\007321", and the program i´m trying to compile is "C:\temp\WorkArea\007321\program\program.p". My include is in the path "C:\temp\WorkArea\007321\include\include.i". I asume it should find de include for compilation. Checking the propath 3P is using for compilation (found the file progress.propath) on my user\AppData directory, I could undertand why it is not finding my include: The propath is pointing to "C:\temp\WorkArea\007321\program" when it should be "C:\temp\WorkArea\007321" as it is configured in my source directory. Am I wrong?
Thanks
Steps to Reproduce the Issue:
- Set Source Directory as C:\Temp\WorkArea\007321
- Create a program C:\temp\WorkArea\007321\program\program.p
- Create an include C:\temp\WorkArea\007321\include\include.i
- Reference the include in the program as {include/include.i}
- Open file program.p in Notepad++
- Try to compile program.p
Expected Behavior: No problem to compile the .P file and generate .R file
Actual Behavior: Error during compilation. I was expecting the "source directory" would be the first directory in the propath for compilation, followed by the propath configured in the INI file.
Aclaration: The images presented are just for exemplification, in reality I have configured a INI file for aditional propaths. The PROPATH in my INI file do have a directory that contains the include (my global repository of source codes), so no error is presented during compilation, but it compiles with a older version of the include, not the one I have in my "source directory".
Screenshots