OHDSI Home | Forums | Wiki | Github

Error building WebAPI 2.8.0


(mintmountain89) #1

Hi all,

We are having problems building the WebAPI.war file for release 2.8.0. The message that is that the git directory is not found in the pom.xml.

tagging @Chris_Knoll have you seen this issue before? We could build WebAPI 2.7.8 but encountered the error in the latest release.

Thanks!


(Chris Knoll) #2

The .git folder comes from pulling the repo, and part of the build attempts to read the git commit information and fold it into the application information. But, I think what’s happenign here is you may get the source from the releases (ie: zipped source) and in that case, there’s no .git folder.

That’s a bit of a paradox: we want people to just go to the releases and download the zip, but then you won’t have git information.

Could you open an issue on github.com/ohdsi/webapi and post that image (or better, if you could just copy the error message into text).

We’ll ask the devs that added the additional git commit information into the POM and see if there’s a way to bypass that.


(mintmountain89) #3

Thanks @Chris_Knoll, have done so here: https://github.com/OHDSI/WebAPI/issues/1733

Yes, you are right - we have been getting the file from the zipped source.


t