kaushal_1
13 years agoNew Contributor
Path of the file uploaded in the server (for static analysis)
Hi,
I am trying to integrate the static analysis with CodeCollaborator. In sequence of this i have written a trigger which gets executed when a review is created. This trigger will invoke PMD, with intention to do a static analysis of the file (which is uploaded for review). I would like to know if there is a mechanism to figure out the path of the file which got uploaded.
While checking the internal structure i found that the files got uploaded under "CodeCollaborator Server\tomcat\collaborator-content-cache\...", but with some wage name like "2353b70deb259e6b72f04de0d0a3b476".
Can you please suggest how can we achieve this, is there any API which we can use.
Regards,
Kaushal
I am trying to integrate the static analysis with CodeCollaborator. In sequence of this i have written a trigger which gets executed when a review is created. This trigger will invoke PMD, with intention to do a static analysis of the file (which is uploaded for review). I would like to know if there is a mechanism to figure out the path of the file which got uploaded.
While checking the internal structure i found that the files got uploaded under "CodeCollaborator Server\tomcat\collaborator-content-cache\...", but with some wage name like "2353b70deb259e6b72f04de0d0a3b476".
Can you please suggest how can we achieve this, is there any API which we can use.
Regards,
Kaushal