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

Veryant Knowledge Base
Home > All Categories > isCOBOL Compiler > Can you provide an example ant build script (e.g. build.xml)?
Question Title Can you provide an example ant build script (e.g. build.xml)?

In version 2020R2, the isCOBOL compiler was integrated in Apache Ant builds.
You can find an ant build script in the $ISCOBOL/samples/issamples folder, with instructions to implement it in the README.md in the same folder.

If you are using a version prior to isCOBOL 2020 R2, you'll find a generic example attached of a build.xml ant script to use with isCOBOL and ant.
Modify the directory and options properties at the beginning of the file, especially the one pointing to the iscobol.dir:

   <property value="/opt/veryant/iscobol" name="iscobol.dir"/>
so that it points to the directory where you have isCOBOL installed.

For more information you can read the Apache Ant integration documentation in isCOBOL's Programming Guides.

Authored by: Veryant Support This question has been viewed 7168 times so far.
Click Here to View all the questions in isCOBOL Compiler category.
File Attachments File Attachments
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. Is there any disadvantage to using -cp compiler option for full pointer support?
  2. Does isCOBOL support traditional Printer Reporting?
  3. I need to compile one of my programs with different compiler options than the rest of the programs in a project. How can I do this either inside the IDE or from the command line?
Article Information Additional Information
Article Number: 190
Created: 2012-01-24 11:53 AM
Rating:
 
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.