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.
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?
>
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
···
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?
>>
>