Urgent: On setting up formplayer

https://lh3.googleusercontent.com/-mZYKcGt8ows/WVtfAtTnJDI/AAAAAAAAABk/XfYZnwwzxGE2j6xW2X4Xy7cqDYymEmCCQCLcBGAs/s1600/Screenshot%2Bfrom%2B2017-07-04%2B12-18-15.png

https://lh3.googleusercontent.com/-V-5M8Czt82U/WVteVh_z_GI/AAAAAAAAABg/IMLXliSyZWc7w-zCJZU_BZ8FfxJYifCDwCLcBGAs/s1600/Screenshot%2Bfrom%2B2017-07-04%2B12-19-17.png

https://lh3.googleusercontent.com/-7JTsBAYVito/WVtd1Os4NNI/AAAAAAAAABc/AtMdd3IpNF4E-5UZ2QeOmZUXT40HYU32ACLcBGAs/s1600/Screenshot%2Bfrom%2B2017-07-04%2B12-17-33.png

I installed commcare via Docker and it was perfect. I tried running
./gradlew build; java -jar build/libs/formplayer.jar

command and I'm coming up with the following error:

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':compileJava'.

Could not resolve all task dependencies for configuration
':compileClasspath'.
Could not resolve project :commcare.
Required by:
project :
Project : declares a dependency from configuration 'compile' to
configuration 'api' which is not declared in the descriptor for project :
commcare.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug
    option to get more log output.

BUILD FAILED in 1s
Error: Unable to access jarfile build/libs/formplayer.jar

I have tried upgrading my version of gradle but still cant get it to work.

Screenshots of my predicament are::

https://lh3.googleusercontent.com/-7JTsBAYVito/WVtd1Os4NNI/AAAAAAAAABc/AtMdd3IpNF4E-5UZ2QeOmZUXT40HYU32ACLcBGAs/s1600/Screenshot%2Bfrom%2B2017-07-04%2B12-17-33.png

This occurs when i try to run a commcare survey
https://lh3.googleusercontent.com/-7JTsBAYVito/WVtd1Os4NNI/AAAAAAAAABc/AtMdd3IpNF4E-5UZ2QeOmZUXT40HYU32ACLcBGAs/s1600/Screenshot%2Bfrom%2B2017-07-04%2B12-17-33.png

https://lh3.googleusercontent.com/-V-5M8Czt82U/WVteVh_z_GI/AAAAAAAAABg/IMLXliSyZWc7w-zCJZU_BZ8FfxJYifCDwCLcBGAs/s1600/Screenshot%2Bfrom%2B2017-07-04%2B12-19-17.png

This is the location of "formplayer" in the commcare project directory
https://lh3.googleusercontent.com/-V-5M8Czt82U/WVteVh_z_GI/AAAAAAAAABg/IMLXliSyZWc7w-zCJZU_BZ8FfxJYifCDwCLcBGAs/s1600/Screenshot%2Bfrom%2B2017-07-04%2B12-19-17.png

https://lh3.googleusercontent.com/-mZYKcGt8ows/WVtfAtTnJDI/AAAAAAAAABk/XfYZnwwzxGE2j6xW2X4Xy7cqDYymEmCCQCLcBGAs/s1600/Screenshot%2Bfrom%2B2017-07-04%2B12-18-15.png

This is the console output when i build gradle
https://lh3.googleusercontent.com/-mZYKcGt8ows/WVtfAtTnJDI/AAAAAAAAABk/XfYZnwwzxGE2j6xW2X4Xy7cqDYymEmCCQCLcBGAs/s1600/Screenshot%2Bfrom%2B2017-07-04%2B12-18-15.png

https://lh3.googleusercontent.com/-V-5M8Czt82U/WVteVh_z_GI/AAAAAAAAABg/IMLXliSyZWc7w-zCJZU_BZ8FfxJYifCDwCLcBGAs/s1600/Screenshot%2Bfrom%2B2017-07-04%2B12-19-17.png

Where could i be going wrong? What have i not done?

Did you do the first step, which is "$ git submodule update --init
--recursive"?
It looks the error is that gradle can't find commcare, which is a submodule
of the formplayer project.

··· On Tuesday, July 4, 2017 at 5:28:17 AM UTC-4, Mr. Gat wrote: > > > > > > > > > > > > I installed commcare via Docker and it was perfect. I tried running > ./gradlew build; java -jar build/libs/formplayer.jar > > command and I'm coming up with the following error: > > FAILURE: Build failed with an exception. > > * What went wrong: > Could not determine the dependencies of task ':compileJava'. > > Could not resolve all task dependencies for configuration > ':compileClasspath'. > > Could not resolve project :commcare. > Required by: > project : > > Project : declares a dependency from configuration 'compile' to > configuration 'api' which is not declared in the descriptor for project : > commcare. > > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or --debug > option to get more log output. > > BUILD FAILED in 1s > Error: Unable to access jarfile build/libs/formplayer.jar > > I have tried upgrading my version of gradle but still cant get it to work. > > Screenshots of my predicament are:: > > > > > > This occurs when i try to run a commcare survey > > > > > > > > > This is the location of "formplayer" in the commcare project directory > > > > > > > > This is the console output when i build gradle > > > > > > > > > Where could i be going wrong? What have i not done? >

Mr. Gat,

I too had the same issue on this from my local install. [running the
submodule update from the commcare-hq folder did nothing......[no updates
no dowloads]

I have gotten past this by doing the following.

I cloned the formplayer repo into the commcarehq home directory.
then I ran the git submodule update --init --recursive" script from the
formplayer directory.
this allowed for a successful build from the same directory.

I reran my migration, ptop_all and topics to ensure that all was updated.
I may have some final settings to get all working but so far this has
helped.

Let keep in touch on this as it seams we are on the same path.......

I have a dedicated development box that hast a 8 core processor and 32g of
memory to distribute to the services............not sure what needs what
but im setting up the following

nginx 2g
kafka 4g
postgres 4g
couch 2g
elasticsearch 6g
formserver 4g

any thoughts on the initial sizing?

··· On Thursday, July 6, 2017 at 5:31:51 AM UTC-7, Noah Carnahan wrote: > > Did you do the first step, which is "$ git submodule update --init > --recursive"? > It looks the error is that gradle can't find commcare, which is a > submodule of the formplayer project. > > On Tuesday, July 4, 2017 at 5:28:17 AM UTC-4, Mr. Gat wrote: >> >> >> >> >> >> >> >> >> >> >> >> I installed commcare via Docker and it was perfect. I tried running >> ./gradlew build; java -jar build/libs/formplayer.jar >> >> command and I'm coming up with the following error: >> >> FAILURE: Build failed with an exception. >> >> * What went wrong: >> Could not determine the dependencies of task ':compileJava'. >> > Could not resolve all task dependencies for configuration >> ':compileClasspath'. >> > Could not resolve project :commcare. >> Required by: >> project : >> > Project : declares a dependency from configuration 'compile' to >> configuration 'api' which is not declared in the descriptor for project : >> commcare. >> >> * Try: >> Run with --stacktrace option to get the stack trace. Run with --info or >> --debug option to get more log output. >> >> BUILD FAILED in 1s >> Error: Unable to access jarfile build/libs/formplayer.jar >> >> I have tried upgrading my version of gradle but still cant get it to work. >> >> Screenshots of my predicament are:: >> >> >> >> >> >> This occurs when i try to run a commcare survey >> >> >> >> >> >> >> >> >> This is the location of "formplayer" in the commcare project directory >> >> >> >> >> >> >> >> This is the console output when i build gradle >> >> >> >> >> >> >> >> >> Where could i be going wrong? What have i not done? >> >