How do I resolve gradle installApp error on Windows 10?

118 views
Skip to first unread message

Dennis Saoli

unread,
Sep 20, 2016, 6:17:28 PM9/20/16
to jPOS Users


Hi,

I need help. I have just completed setting up gradle-3.1 and ran the gradlewapper successfully, now when I try to run jPOS using the gradle installApp command I get the error below:

"Received result Failure[value=org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: Build file 'C:\jpos\build.gradle' line: 4"

please help me understand what is wrong and how I can fix it. My laptop is running on Windows 10 64-bit. I have also attached the screenshot

regards,

Dennis Saoli,
Nairobi,Kenya.
error_shot.jpg

Victor Salaman

unread,
Sep 20, 2016, 6:22:10 PM9/20/16
to jpos-...@googlegroups.com
Try with the provided ./gradlew .... It might be an incompatibility with supplied gradle build script and installed gradle (3.1)

/V

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
 
Join us in IRC at http://webchat.freenode.net/?channels=jpos
 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/a26eaacf-dff3-4806-b20e-7dc04ec792c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alejandro Revilla

unread,
Sep 20, 2016, 6:23:37 PM9/20/16
to jPOS Users
I'm on 3.0 yet, will take a look at 3.1 and fix a-s-a-p.



saoli

unread,
Sep 20, 2016, 6:29:36 PM9/20/16
to jpos-...@googlegroups.com
Dear Victor,

./gradlew  to me looks like a Linux command. which command do I use for the Windows environment?


Saoli Ole Saiyiorri.

You received this message because you are subscribed to a topic in the Google Groups "jPOS Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jpos-users/Dpd6DA9BClw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jpos-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CALK1SyzJtdigGxc6pgAaq8G2JR7hBe1W46nUo2Gqfn3%3DdPFtFg%40mail.gmail.com.

Victor Salaman

unread,
Sep 20, 2016, 6:31:06 PM9/20/16
to jpos-...@googlegroups.com
There should be a gradlew.bat in that directory.

.\gradlew.bat 

should invoke it


saoli

unread,
Sep 21, 2016, 3:57:25 AM9/21/16
to jpos-...@googlegroups.com
Dear Victor,

I am able to bring up gradle successfully and infact I have downgraded from 3.1 to 2.1 successfully. My problem is when I try to run jpos, from command prompt I change directory to jpos then I execute gradle installApp; it initializes but then throws an error, line 4 in the build file in C:\jpos\build.gradle is where the problem is. Can someone share on how to correct this please. I have attached the detail error log.


Saoli Ole Saiyiorri.

jposs_launch_error.txt

Victor Salaman

unread,
Sep 21, 2016, 4:30:16 AM9/21/16
to jpos-...@googlegroups.com
Hi:

Wish we could of more help, but it builds on Gradle 3.0 and 3.1 , under Linux and MacOS and I don't have s Windows 10 setup to test on.

Maybe someone on the list running Windows 10 can try the build? 



saoli

unread,
Sep 21, 2016, 4:33:20 AM9/21/16
to jpos-...@googlegroups.com

Thanks Victor. I shall try on Linux soon. In the meantime I hope I'll get an answer from the forum


chhil

unread,
Sep 21, 2016, 11:37:09 PM9/21/16
to jpos-...@googlegroups.com

Downloaded the master zip from github, then tried the build gradlew.bat buildon my win 10 box, it gets stuck. I had to kill the PID. 
Starting a Gradle Daemon, 3 stopped Daemons could not be reused, use --status for details
:jpos:compileJava UP-TO-DATE
:jpos:createBuildTimestampPropertyFile
:jpos:createRevisionPropertyFile UP-TO-DATE
:jpos:processResources
:jpos:classes
:jpos:jar
:compat_1_5_2:compileJava
Note: C:\Temp\jpos\master\jPOS-master\compat_1_5_2\src\main\java\org\jpos\space\ISORequestListenerAdaptor.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:compat_1_5_2:processResources UP-TO-DATE
:compat_1_5_2:classes
:compat_1_5_2:jar UP-TO-DATE
:compat_1_5_2:signArchives SKIPPED
:compat_1_5_2:assemble UP-TO-DATE
:compat_1_5_2:pmdMain
10 PMD rule violations were found. See the report at: file:///C:/Temp/jpos/master/jPOS-master/compat_1_5_2/build/reports/pmd/main.html

:compat_1_5_2:compileTestJava UP-TO-DATE
:compat_1_5_2:processTestResources UP-TO-DATE
:compat_1_5_2:testClasses UP-TO-DATE
:compat_1_5_2:pmdTest UP-TO-DATE
:compat_1_5_2:test UP-TO-DATE
:compat_1_5_2:check
:compat_1_5_2:build
:jpos:bundleFull
:jpos:javadoc
:jpos:javadocJar
:jpos:sourceJar UP-TO-DATE
:jpos:signArchives SKIPPED
:jpos:assemble
:jpos:pmdMain
16 PMD rule violations were found. See the report at: file:///C:/Temp/jpos/master/jPOS-master/jpos/build/reports/pmd/main.html
:jpos:compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:jpos:processTestResources UP-TO-DATE
:jpos:testClasses
:jpos:pmdTest
17 PMD rule violations were found. See the report at: file:///C:/Temp/jpos/master/jPOS-master/jpos/build/reports/pmd/test.html
:jpos:test

org.jpos.iso.packagers.PackagerTestCase > testXMLPackager FAILED
    junit.framework.AssertionFailedError at PackagerTestCase.java:214

org.jpos.util.DailyLogListenerTest > testLogRotationAndCompressionWorks FAILED
    java.lang.AssertionError at DailyLogListenerTest.java:303
> Building 58% > :jpos:test > 3217 tests completed, 2 failed, 54 skipped

Mark Salter

unread,
Sep 22, 2016, 7:33:33 AM9/22/16
to jPOS Users


On Thursday, September 22, 2016 at 4:37:09 AM UTC+1, chhil wrote:

Downloaded the master zip from github, then tried the build gradlew.bat buildon my win 10 box, it gets stuck. I had to kill the PID. 
Stuck/dead - or just busy running a test...

... I suspect the latter.

Perhaps we have a failing test on windows.

--
Mark

Mark Salter

unread,
Sep 22, 2016, 7:34:37 AM9/22/16
to jPOS Users
Can you try running gradlew.bat as suggested?

--
Mark

Alejandro Revilla

unread,
Sep 22, 2016, 7:37:55 AM9/22/16
to jpos-...@googlegroups.com
does installApp work? It seems some tests are failing, perhaps you can check the reports and see what's wrong on those. 
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAPazefCAHG9EEsymrtSb2mWa7hWy7uyoYn69R2E21mG6M1qpyQ%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.


--

chhil

unread,
Sep 22, 2016, 8:14:07 AM9/22/16
to jpos-...@googlegroups.com

It busy doing something based on cpu usage.

-chhil




Saoli Ole Saiyiorri.



Saoli Ole Saiyiorri.

To unsubscribe, send email to jpos-users+...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
 
Join us in IRC at http://webchat.freenode.net/?channels=jpos
 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to a topic in the Google Groups "jPOS Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jpos-users/Dpd6DA9BClw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jpos-users+...@googlegroups.com.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
 
Join us in IRC at http://webchat.freenode.net/?channels=jpos
 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
 
Join us in IRC at http://webchat.freenode.net/?channels=jpos
 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to a topic in the Google Groups "jPOS Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jpos-users/Dpd6DA9BClw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jpos-users+...@googlegroups.com.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
 
Join us in IRC at http://webchat.freenode.net/?channels=jpos
 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
 
Join us in IRC at http://webchat.freenode.net/?channels=jpos
 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
 
Join us in IRC at http://webchat.freenode.net/?channels=jpos
 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
 
Join us in IRC at http://webchat.freenode.net/?channels=jpos
 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAAgSK%3DmL0mkqhbRZRxymR6jZgs%3DhzuX-_kEz6aT5hZJy9dMeOw%40mail.gmail.com.

Alejandro Revilla

unread,
Sep 22, 2016, 1:14:23 PM9/22/16
to jPOS Users
Can you share information about the failing tests in Windows 10 ?






Saoli Ole Saiyiorri.



Saoli Ole Saiyiorri.

To unsubscribe, send email to jpos-users+unsubscribe@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
 
Join us in IRC at http://webchat.freenode.net/?channels=jpos
 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+unsubscribe@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to a topic in the Google Groups "jPOS Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jpos-users/Dpd6DA9BClw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jpos-users+unsubscribe@googlegroups.com.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
 
Join us in IRC at http://webchat.freenode.net/?channels=jpos
 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+unsubscribe@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
 
Join us in IRC at http://webchat.freenode.net/?channels=jpos
 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+unsubscribe@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to a topic in the Google Groups "jPOS Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jpos-users/Dpd6DA9BClw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jpos-users+unsubscribe@googlegroups.com.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
 
Join us in IRC at http://webchat.freenode.net/?channels=jpos
 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+unsubscribe@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
 
Join us in IRC at http://webchat.freenode.net/?channels=jpos
 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+unsubscribe@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
 
Join us in IRC at http://webchat.freenode.net/?channels=jpos
 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+unsubscribe@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
 
Join us in IRC at http://webchat.freenode.net/?channels=jpos
 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+unsubscribe@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
 
Join us in IRC at http://webchat.freenode.net/?channels=jpos
 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+unsubscribe@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAPazefCUSM2WS2E7WYOomAVYtaNtYL63s4%3DRtkVXgypQ%2Bxf51w%40mail.gmail.com.

Luiz Felipph

unread,
Sep 22, 2016, 2:25:58 PM9/22/16
to jpos-...@googlegroups.com
Hello

Well I just download the jpos-master unpacked, used the provided gradlew.bat script and works like a charm...

I think Saoli is changing from root jpos-master directory to jpos inside and tried to run gradlew installApp, that's why isn't working.

Chill, here toked just 21 sec to build:

```
./gradlew.bat installApp
Starting a Gradle Daemon (subsequent builds will be faster)
:jpos:compileJavaNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

:jpos:createBuildTimestampPropertyFile
:jpos:createRevisionPropertyFile UP-TO-DATE
:jpos:processResources
:jpos:classes
:jpos:jar
:jpos:installApp
:qnode:compileJava UP-TO-DATE
:qnode:createBuildTimestampPropertyFile
:qnode:createRevisionPropertyFile UP-TO-DATE
:qnode:processResources UP-TO-DATE
:qnode:classes UP-TO-DATE
:qnode:jar
:qnode:installApp

BUILD SUCCESSFUL

Total time: 26.217 secs
```

Regards,

Felipph

Reply all
Reply to author
Forward
0 new messages