cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error deploying to Hana Cloud: Configuration does not define a build plugin for file suffix "cds"

sahu10114
Explorer
0 Kudos
533

I am getting the following error message while deploying to SAP Hana Cloud DB using CDS deploy --to hana. I have no hdbcds files in the gen folder so the other answer doesn't work for me. There's one .cds file in the gen folder, in case it is caused by this .cds, how can we exclude this? 

Error: "src/XXXXX/Schema/XXXXX_TABLES.cds": could not create a compile unit for the file [8211714]
     at "src/XXXXX/Schema/XXXXX_TABLES.cds" (0:0)
Error: "src/.hdiconfig": Configuration does not define a build plugin for file suffix "cds" [8210015]
     at "src/.hdiconfig" (0:0)
Error: Adding "src/XXXXX/Schema/XXXXX_TABLES.cds" for deploy... failed [8211700]
Error: Preparing... failed [8211602]
   Make failed (5 errors, 2 warnings): tried to deploy 10 files, undeploy 0 files, redeploy 0 dependent files 
Error: Making... failed [8211605]

I have put .hdbcds in undeploy.json and there's no plugin defined in .hdiconfig (doing so doesn't make the error go away). What can be the solution for this? Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

sahu10114
Explorer

So after hustling for a while, the solution was to keep hana artifacts in db/src folder and cds files in db/ folder.

Answers (0)