cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CAPM: Local environment 'CDS init ' will create db and srv module?

p619793
Active Participant

I am following Create a Project Using the Command LineCreate a Project Using the Command Line and trying to initiate the project. It created the project folder in my local directory.

> cds init <bookshop> 

The project structure thus created does not have 'db' and 'srv' modules.

I am not clear about the following steps mentioned in the documentation.

Accepted Solutions (1)

Accepted Solutions (1)

maxstreifeneder
Product and Topic Expert
Product and Topic Expert

Hi Sumit Kumar Kundu,

I agree that this documentation is a little bit confusing and I have already adressed this a few seconds ago. In the meantime, please have a look at the provided examples via:

cds init --help

There you can find the optional/mandatory parameters as well as a few examples. The one command you are supposed to use according to the documentation link you provided is:

cds init <projectname> --modules srv,db --srv-technology java

Hope I could help.

Cheers,
Max

qmacro
Developer Advocate
Developer Advocate

Thanks Max - I assume by "addressed" you mean alerted the authors with feedback. That would be great.

Sumit - to explain the context of this out of date documentation, an earlier version of what one got with "cds init" was a small terminal-based wizard which asked you questions, hence the "Choose Java" bit 🙂 Now as Max has indicated, you choose by providing options on the command line.

maxstreifeneder
Product and Topic Expert
Product and Topic Expert

yep, alerted the authors with feedback! 🙂 Thanks also for your explanations, DJ!

p619793
Active Participant

Thanks a ton, Max! 🙂 It created the db and srv modules now with the suggested variant.

cds init <projectname> --modules srv,db --srv-technology java

Answers (0)