AVACloud is a web based Software as a Service (SaaS) offering for GAEB files.
The GAEB standard is a widely used format to exchange tenderings, bills of quantities and contracts both in the construction industry and in regular commerce. AVACloud uses the GAEB & AVA .Net Libraries and makes them available to virtually all programming frameworks via a web service.
This project here contains example code in Java to read and convert GAEB files. The client code is generated from the AVACloud Swagger Specification.
Please find here a step-by-step tutorial how to use the Java client.
Execute the following command in the root directory of the project:
cmd /c mvn package -f "pom.xml"
Execute the compiled library with the following arguments:
java -jar target/com.danglit.avacloud.client-1.1.0.jar <ClientId> <ClientSecret> <PathToGaebFile>
Replace the arguments with the following:
Argument | Description |
---|---|
ClientId | Your OAuth2 client id |
ClientSecret | Your OAuth2 client secret |
PathToGaebFile | A path to a local GAEB file |
If you don't have values for ClientId
and ClientSecret
yet, you can check out the documentation for instructions on how to register for AVACloud and create an OAuth2 client.
You can directly use the file GAEBXML_EN.X86
in this repository if you don't have a GAEB file at hand.
This example app does five operations:
- The local GAEB file is transformed to Excel and saved next to the input file
- The local GAEB file is converted to the unified Dangl.AVA format and the total price as well as the number of positions in the bill of quantities is printed to the console
- It prints all positions to the console, in the format: Item Number - Short Text - Unit Tag - Unit Price
- It creates a new
ProjectDto
and uses the AvaConversion_ConvertToReb endpoint to create a new REB DA11 file for quantities in the project root as CreatedReb.d11 - It creates a new
ProjectDto
and uses the AvaConversion_ConvertToGaeb endpoint to create a new GAEB file in the root of the project as CreatedGaeb.X86. It's using GAEB XML V3.2 and the X86 exchange phase.