mojohaus / webstart

https://www.mojohaus.org/webstart/
MIT License
27 stars 45 forks source link

Integration test for webstart-maven-plugin it006 fails on Mac OS #33

Open khmarbaise opened 8 years ago

khmarbaise commented 8 years ago

It looks like the integration tests are expecting the jarsigner at a wrong / unexpected location ?

[debug] jarsigner executable=[/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/bin/jarsigner]
[debug] Executing: /bin/sh -c cd /Users/kama/ws-git-codehaus/webstart/webstart-maven-plugin/target/it/it006/sign-one && /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/bin/jarsigner -verify /Users/kama/ws-git-codehaus/webstart/webstart-maven-plugin/target/it/it006/sign-one/target/sign-one-1.0.jar
[warn] /bin/sh: /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/bin/jarsigner: No such file or directory
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
khmarbaise commented 8 years ago

The correct path for the jarsigner would be: /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/jarsigner and not under .../jre/bin/jarsigner ..which means it's part of the JDK and not JRE...

tchemit commented 8 years ago

This is a jarsigner shared component problem. I will have a look there. Thanks for report.