Title: How do I configure the IDE to put logs and other files in separate project folders? |
Question:
By default, trace logs and data files are created in my project's output folder. How do I configure the IDE to put these and other files in separate project folders?
Answer:
When running or debugging the isCOBOL IDE sets the current working directory to the project's output folder. This explains why your log files are getting written there. You can specify directories for log files, compiler error and listing files, and even data files in your project as follows:
iscobol.tracelevel=31
Add "errors" and "listings" folders to your project and then add the following compiler options:
-ef -eo=errors -lf -lo=listings
Add a "data" folder to your project and then add the following to your properties file:
iscobol.file.prefix=../data
The reason to specify "../" in folder names in the properties file is because these folders are one level up from the current working directory when the program runs (i.e. the parent of the output folder), and using "../" allows you to move your project to a different folder without requiring a change to your properties file. |
Authored by: Veryant Support on Thu, Jun 3rd, 2010 at 7:00 PM This question has been viewed 8003 times so far. |
Online URL: http://support.veryant.com/support/phpkb/question.php?ID=130 |
Powered by PHPKB Knowledge Base Software