Just add following dependency to your pom.xml and that's it!
<dependency>
<groupId>net.sf.cobol2j</groupId>
<artifactId>cobol2j</artifactId>
<version>1.5.4</version>
</dependency>
I really miss a feedback from you. Please help me find the best direction to turn my development efforts: https://sourceforge.net/apps/limesurvey/cobol2j/index.php?sid=35179&lang=en
Serious bug removed. Why nobody reported COMP-3 problem for years? It caused wrong byte size calculation for even number of picture size fields. Now ok!
New features includes: shell scripts; new transparent "type"; new dat2dat conversion utility; new rich error messages.
New error reporting added. Failing field data, name and type displayed. No more NumberFormatException.
New 1.5 version has now writing COBOL dat files capabilities.
New xsd and fixed bugs for dat2xml and dat2xls. Fresh 3rd party jars.
Convert your dat file to xml or xls ( Excel ) format or use API to publish formated data directly on your web application!
Thanks to cb2xml SF project we can now import COBOL copybook. New XSL transformation file is included in 1.2.1 to process cb2xml file and generate our file format xml. This can be loaded by FileFormat class.
Now you can read even more complex COBOL files with variable record length. xml and java file definitions has got extended. New feature required to define group of fields. It is possible to nest groups and they may reference predecesor field as it depends on. Enjoy!
New 1.1 release has load and save methods in FileFormat class. This let you use cobol2j w/o re-compile. You can define your rpg/cobol layout in xml file instead of extending FileFormat class programaticaly. Taste & enjoy!
Thank you for your interest in previewing cobol2j. Projest ststistics is not zero since first release and I hope it is not only because of web crawlers. I see two main areas of cobol2j development: data file structure persistance in xml file. This will prevent a user from recompiling the code. Second area is a GUI for data file previewing and giving opportunity to process result file ( to csv or xl sheet ). Other improvements can be support for binary cobol fields or more conversion tables. It requires sample life data that I dont have access to. So I kindly ask you please drop an email, post or feature request so I know it is worth an effort.
Thank you!
P.S. Forums are public and dont require login!
Project get started and I work on home page together with the code and first release. Big day soon!