-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Welcome to the TypeCobolBuild wiki!
TypeCobolBuild is the TypeCobol build currently based on RTC [(Rational Team Concert)] (https://jazz.net/downloads/rational-team-concert/releases/5.0.2). The project aims to provide a tool for compiling projects using the parser/generator TypeCobol.
The TypeCobolBuild project consists of:
- JTCB the main java project, it uses the RTC-SDK (Rational Team Concert) to access files located on RTC Streams.
- TCB a DLL (Dynamic Link Library) written using C++/CLI programming language which implements the interoperability between the Java SDK and the .Net Framewok.
- TypeCobolBuilder the Build Engine implementation directly in relation with TypeCobol infrastructure and written using C# programming language.
Download
The TypeCobolBuild project is available as a zip download or via git:
git clone https://github.com/TypeCobolTeam/TypeCobolBuild.git
You will also need the following prerequisites:
RTC Plain Java Librairies
- Download the RTC SDK RTC-Client-plainJavaLib-5.0.2.
- Unzip the content of the RTC-Client-plainJavaLib-5.0.2.zip file somewhere, and copy all files of the resulting directory RTC-Client-plainJavaLib-5.0.2 in your local clone repository exactly in the directory TypeCobolBuild/JTCB/rtc_libs. The result should looks like the following screenshot.
JDK 1.7
- Download and install the Java JDK 1.7 or later.
- Set your environment variable JAVA_HOME to the JDK install directory (for example: set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.7.0_80).
Maven
- The project JTCB is buildable using Maven. We use Maven (version 3.3.9)
- Add in in your Path environment variable the Gradle binary directory (example: C:\Program Files\apache-maven-3.3.9\bin).
Gradle
- The project JTCB is buildable using Gradle. We use Gradle (version 2.14)
- Add in in your Path environment variable the Maven binary directory (example: C:\Program Files\gradle-2.14\bin).
JTCB can be build using Maven or Gradle.
Building with Maven
The main prerequisite with building using Maven is to store RTC Plain Java Libraries in the Maven local repository on your machine. So the first time that you build the project you must execute the following command in the JTCB directory.
* TypeCobolBuild\JTCB\RepoRTC.bat
You use the following Maven command to respectively: compile, produce a full jar package and produce a full jar package without running tests.
- mvn compile
- mvn package
- mvn package -DskipTests
To produce a full Building with Gradle