support: Customer Portal
Focused on delivering choice, investment protection and flexibility to organizations with valuable COBOL assets
 

Veryant Knowledge Base
Home > All Categories > isCOBOL IDE > How do I configure the IDE to put logs and other files in separate project folders?
Question 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:

  • Set the iscobol.logfile property to specify the directory where trace log files are written
  • Set the iscobol.file.prefix property to specify the directory where data files are opened
  • Use the -eo compiler option to specify the directory where compiler error files are written
  • Use the -lo compiler option to specify the directory where compiler listing files are written
isCOBOL properties can be placed in a file named "iscobol.properties" in your output folder. Or they can be placed in any file you choose and then specify this file on the command line using the system property -Discobol.conf=filename.

For example, add a folder to your project named "logs". Then create a file in your output folder named iscobol.properties with the following contents:

iscobol.tracelevel=31
iscobol.logfile=../logs/iscobol.log

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 This question has been viewed 7993 times so far.
Click Here to View all the questions in isCOBOL IDE category.
File Attachments File Attachments
There are no attachment file(s) related to this question.
How helpful was this article to you?
User Comments User Comments Add Comment
There are no user comments for this question. Be the first to post a comment. Click Here
Related Questions Related Questions
  1. How do I set up a CVS repository and access it from Eclipse and the isCOBOL IDE?
  2. How do I resolve the error "Unhandled event loop exception"?
  3. How to filter the problems view to avoid seeing the errors of so many different programs in a project?
  4. isCOBOL IDE or Eclipse error "Workspace in use or cannot be created, choose a different one"
  5. Can you recommend a book for learning the Eclipse based isCOBOL IDE?
  6. isCOBOL IDE Eclipse Troubleshooting
  7. How do I make an isCOBOL program that will run on a mobile device, like iPad?
  8. Does Veryant provide a plugin to Eclipse or did Veryant customize Eclipse to be the IDE for isCOBOL?
  9. How do I install support for Subversion (SVN) in Eclipse or isCOBOL IDE?
  10. What are the steps to add an external tool or integrate a utility such as JDBC2FD into the isCOBOL IDE?
  11. On which version of Eclipse are the isCOBOL 's built?
  12. Generate stopped working after upgrading the isCOBOL IDE
  13. What is the current working directory when I launch my program from the IDE?
  14. How do I install new plugins received from Veryant Support?
  15. Were you aware of the ability of "block selection" in the isCOBOL Editor under Eclipse?
  16. Toggling comments in the properties file editor
  17. Is there a way to stop the pop up from coming up when I start to type in code in the program?
  18. How to create groups of fields on the IDE screen painter, that use the same area on the screen, but visible at different moments?
  19. How can I work with the java property 'file.encoding' inside the isCOBOL IDE?
  20. Did you know you can compare text files using the isCOBOL IDE?
  21. How to generate and compile an isCOBOL IDE workspace in background-mode
  22. How can we avoid having to select the way a program will be "Run As" or "Debug As" in the IDE each time we run it?
  23. How to create a report with the IDE Report Designer
  24. How to use existing FD/SL copybooks in the Screen Programs without generating FD/SL from IDE Data View
  25. How to run batch programs on a Linux server and compile and debug them from the IDE
  26. Guide to update the isCOBOL development environment
  27. Working with Remote Projects
  28. How to view two different consoles in the IDE
Article Information Additional Information
Article Number: 130
Created: 2010-06-03 1:54 PM
Rating: 1 Star
 
Article Options Article Options
Print Question Print this Question
Email Question Email Question to Friend
Export to Adobe PDF Export to PDF File
Export to MS Word Export to MS Word
Bookmark Article
Subscribe to Article Subscribe to Article
 
Search Knowledge Base Search Knowledge Base



 
 

© Veryant - All Rights Reserved
Veryant and isCOBOL are trademarks or registered marks of Veryant in the United States and other countries. All other marks are the property of their respective owners.