cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Web IDE Full-Stack Version: Build of CDS Artifact failed

former_member206574
Active Participant
0 Kudos

Hi Experts,

Build of CDS is getting failed without showing any errors in console.

Created a project using Full-stack application for cloud foundry template as below and wrote a simple .cds file in CDS module. when trying to build the CDS module, throwing build error without showing specific error.

Build on CDS file need to create a HDBCDS file in hdb module. But creating an error of build failed.

Builder is installed to the workspace and cloudfoundry workspace is connected as well.

Regards,

Venu

Accepted Solutions (1)

Accepted Solutions (1)

boris_tsirulnik
Participant

Hi Venu,

Please edit the file project.json under the cds module.

It's located in Sales\cds\.che\ folder. (Not to be confused with project level Sales\.che\ folder)

To show this file, click on "Show Hidden Files" button on top of the workspace tree.

Click on Ctrl+Alt+B to beautify the code. (Edit->Beautify from the top menu)

You should see this on line 17:

	"mixinTypes": ["mtamodule", "fullmtabuild"]

Modify the text to this:

	"mixinTypes": ["mtamodule"]

... and save the file.

P.S as the CDS module is an experimental feature, we are planning to remove this soon. We are planning to provide a more flexible structure where you will not need a dedicated CDS module. This will be non-experimental feature.

As part of this new structure you will be able to place CDS files in any module. The CDS syntax will remain compatible, so you model can be easily used in this new project structure.

Let me know if you need further info and you would like to contact me directly.

Regards,

Boris

Answers (1)

Answers (1)

former_member206574
Active Participant
0 Kudos

Hi Boris,

Apologies for late reply. Now we are not able to see the Build option for the CDS module.

From when we are not having the separate CDS module in the template full-stack application for Cloud Foundry.

For HANA CDS annotations if you have any document please share.

Regards,

Venu