Skip to Content
0
Aug 26, 2020 at 01:39 PM

Seperate folders for .hdbtables & .hdbviews as build output

76 Views

Hi everyone,

Currently I am getting familiar with the CAP model.

Now I would like to output the generated files (generated by "cds build") into the subfolders "hdbtables" & "hdbviews", so that the hdbtables & hdbviews are organized.

The current output looks like this:

[cds] - done > wrote output to:
  db/src/gen/.hdiconfig
  db/src/gen/.hdinamespace
  db/src/gen/data_model.Books.hdbtable
  db/src/gen/data_model.Books_texts.hdbtable
  db/src/gen/localized.data_model.Books.hdbview
  srv/gen/csn.json

How I want to see the output:

[cds] - done > wrote output to:
  db/src/gen/.hdiconfig
  db/src/gen/.hdinamespace
  db/src/gen/hdbtable/data_model.Books.hdbtable
  db/src/gen/hdbtable/data_model.Books_texts.hdbtable
  db/src/gen/hdbview/localized.data_model.Books.hdbview
  srv/gen/csn.json

Is there a way to customize the code (e.g. the package.json) in such a way that this result can be accomplished?