@@ -66,25 +66,25 @@ public static WebArchive createDeployment() {
6666 // @formatter:off
6767 String config =
6868 configLine (JsonPClient .class , "uri" , BASE_URI_STRING ) +
69- configLine (ClientWithTruststore .class , "trustStore" , clientTruststore . getAbsolutePath ( )) +
69+ configLine (ClientWithTruststore .class , "trustStore" , filePath ( clientTruststore )) +
7070 configLine (ClientWithTruststore .class , "trustStorePassword" , PASSWORD ) +
7171 configLine (ClientWithTruststore .class , "uri" , BASE_URI_STRING ) +
7272
73- configLine (ClientWithKeystoreAndTruststore .class , "trustStore" , clientTruststore . getAbsolutePath ( )) +
73+ configLine (ClientWithKeystoreAndTruststore .class , "trustStore" , filePath ( clientTruststore )) +
7474 configLine (ClientWithKeystoreAndTruststore .class , "trustStorePassword" , PASSWORD ) +
75- configLine (ClientWithKeystoreAndTruststore .class , "keyStore" , clientKeystore . getAbsolutePath ( )) +
75+ configLine (ClientWithKeystoreAndTruststore .class , "keyStore" , filePath ( clientKeystore )) +
7676 configLine (ClientWithKeystoreAndTruststore .class , "keyStorePassword" , PASSWORD ) +
7777 configLine (ClientWithKeystoreAndTruststore .class , "uri" , BASE_URI_STRING ) +
7878
79- configLine (ClientWithKeystoreFromClasspathAndTruststore .class , "trustStore" , clientTruststore . getAbsolutePath ( )) +
79+ configLine (ClientWithKeystoreFromClasspathAndTruststore .class , "trustStore" , filePath ( clientTruststore )) +
8080 configLine (ClientWithKeystoreFromClasspathAndTruststore .class , "trustStorePassword" , PASSWORD ) +
8181 configLine (ClientWithKeystoreFromClasspathAndTruststore .class , "keyStore" , "classpath:/META-INF/" + clientKeystoreFromClasspath ) +
8282 configLine (ClientWithKeystoreFromClasspathAndTruststore .class , "keyStorePassword" , PASSWORD ) +
8383 configLine (ClientWithKeystoreFromClasspathAndTruststore .class , "uri" , BASE_URI_STRING ) +
8484
85- configLine (ClientWithNonMatchingStore .class , "trustStore" , clientTruststore . getAbsolutePath ( )) +
85+ configLine (ClientWithNonMatchingStore .class , "trustStore" , filePath ( clientTruststore )) +
8686 configLine (ClientWithNonMatchingStore .class , "trustStorePassword" , PASSWORD ) +
87- configLine (ClientWithNonMatchingStore .class , "keyStore" , serverKeystore . getAbsolutePath ( )) +
87+ configLine (ClientWithNonMatchingStore .class , "keyStore" , filePath ( serverKeystore )) +
8888 configLine (ClientWithNonMatchingStore .class , "keyStorePassword" , PASSWORD ) +
8989 configLine (ClientWithNonMatchingStore .class , "uri" , BASE_URI_STRING );
9090 // @formatter:on
0 commit comments