Finding difficulties in excluding files and directories from sonar analysis

Finally I was able to get the exclusion working. After reading this post thoroughly, replaced my exclusion as below

sonar_exclusion="**/date/*, **/ndd/*, **/base/tz.cpp, **/boost/**, **/base/oidc*"

Though my issue is resolved still i’m not understanding how did it not work at first when I was giving full path like below

sonar_exclusion="**/app2/src/base/date/*,**/app2/src/base/ndd/*,**/app2/src/base/tz.cpp,**/app2/src/base/boost/**,**/app2/src/base/oidc*"