on 2024 Jul 18 7:40 AM
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.
Request clarification before answering.
So after hustling for a while, the solution was to keep hana artifacts in db/src folder and cds files in db/ folder.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
33 | |
21 | |
16 | |
8 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.