ballerina-distribution icon indicating copy to clipboard operation
ballerina-distribution copied to clipboard

the .sh file or the description file should mention if a project subfolder within a sample needs to be initialized

Open keizer619 opened this issue 6 years ago • 0 comments

Issue by shavantha Thursday Apr 19, 2018 at 12:24 GMT Originally opened as https://github.com/ballerina-platform/ballerina-examples/issues/279


the .sh file or the description file should mention if a project sub-folder within a sample needs to be initialized

for an example grpc-unary-service samples init file has the below instructions. but before we initialize the sample folder if we run ballerina run client, the step wont work and we are shown a ballerina: cannot find package 'client' so we need to initialize the sample folder first. This needs to be mentioned on all samples which has a client folder.

#Run the service
$ ballerina run grpc-unary-service.bal
ballerina: initiating service(s) in 'grpc-unary-service.bal'

#Run client connector
ballerina run client
~                                                                                                                                                        
~                                                                                                                                                        
~                                    

keizer619 avatar Oct 15 '18 05:10 keizer619