However on the client side I get the following error:java.io.IOException: m.invalid_digest_file|~|~a4c1d88b0a973f3a9e61a6c4863d25a8d11686e25c46314bcf36c1a839b74e38at com.threerings.getdown.data.Digest.<init>(Unknown Source)at com.threerings.getdown.data.Digest.<init>(Unknown Source)at com.threerings.getdown.data.Application.verifyMetadata(Unknown Source)at com.threerings.getdown.launcher.Getdown.getdown(Unknown Source)at com.threerings.getdown.launcher.Getdown.run(Unknown Source)When I rollback to getdown 1.5 it works as expected - even with the 1.6 generated digest.txt files
Weird, I tested this all with the test app (https://github.com/threerings/getdown-testapp) and it all seemed to work fine.I'll look into it when I get a chance, but unfortunately I'm kind of swamped at the moment, so it may be a few days.
getdown.txt = 46a543a025a4d00cf54bdb130f834013
testapp-jar-with-dependencies.jar = 492bd0c3bc2bd991237a795d9fe2fc1d
getdown-new.jar = 7a4173a8c79d55b934fc81d2099300fd
digest.txt = 8e10ff2cb4e6f89374560da7041bca66
getdown.txt = 034fbe68fb6e791bd1c2a6b28c19e2d6e07794593e61547d1a00b2087a28f339
testapp-jar-with-dependencies.jar = acc0ca91141b9fdcd99b97d8b086ee9ac50c6ad7e079b944e15dea9e80fe5bc0
getdown-new.jar = ceffcee81cd8581d5146958ff8231c4e64666068e8c5fcfa4912dcc9b58554d1
digest2.txt = 4183881f257c8b569528c892df5e8186631d742fcc50c2288cd4c5c9ecc7256d
% java -jar ~/.m2/repository/com/threerings/getdown/1.6/getdown-1.6.jar testapp
2016/12/13 21:52:44:405 INFO n.a: ------------------ VM Info ------------------
2016/12/13 21:52:44:407 INFO n.a: -- OS Name: Mac OS X
2016/12/13 21:52:44:407 INFO n.a: -- OS Arch: x86_64
2016/12/13 21:52:44:407 INFO n.a: -- OS Vers: 10.12.1
2016/12/13 21:52:44:407 INFO n.a: -- Java Vers: 1.8.0_112
2016/12/13 21:52:44:407 INFO n.a: -- Java Home: /Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/jre
2016/12/13 21:52:44:408 INFO n.a: -- User Name: mdb
2016/12/13 21:52:44:408 INFO n.a: -- User Home: /Users/mdb
2016/12/13 21:52:44:408 INFO n.a: -- Cur dir: /Users/mdb/projects/getdown/testapp/target
2016/12/13 21:52:44:408 INFO n.a: ---------------------------------------------
2016/12/13 21:52:44:675 INFO n.a: Checking whether we need to use a proxy...
2016/12/13 21:52:44:839 INFO n.a: No proxy appears to be needed.
2016/12/13 21:52:44:840 INFO n.a: ---------------- Proxy Info -----------------
2016/12/13 21:52:44:840 INFO n.a: -- Proxy Host: null
2016/12/13 21:52:44:840 INFO n.a: -- Proxy Port: null
2016/12/13 21:52:44:840 INFO n.a: ---------------------------------------------
2016/12/13 21:52:44:841 WARNING n.a: Failed to initialize: java.io.IOException: m.missing_class
2016/12/13 21:52:44:841 INFO n.a: Attempting to refetch 'getdown.txt' from 'http://samskivert.com/code/testapp/getdown.txt'.
2016/12/13 21:52:44:923 INFO n.a: Able to lock for updates: true
2016/12/13 21:52:44:924 INFO n.a: Verifying application: http://samskivert.com/code/testapp/
2016/12/13 21:52:44:924 INFO n.a: Version: -1
2016/12/13 21:52:44:924 INFO n.a: Class: com.threerings.testapp.TestApp
2016/12/13 21:52:44:924 INFO n.a: Failed to load digest: testapp/digest2.txt (No such file or directory). Attempting recovery...
2016/12/13 21:52:44:924 INFO n.a: Attempting to refetch 'digest.txt' from 'http://samskivert.com/code/testapp/digest.txt'.
2016/12/13 21:52:44:980 INFO n.a: No signers, not verifying file [path=digest.txt]
2016/12/13 21:52:44:980 INFO n.a: Attempting to refetch 'digest2.txt' from 'http://samskivert.com/code/testapp/digest2.txt'.
2016/12/13 21:52:45:035 INFO n.a: No signers, not verifying file [path=digest2.txt]
2016/12/13 21:52:45:043 INFO n.a: Unversioned digest changed. Revalidating...
2016/12/13 21:52:45:045 INFO n.a: Resource failed digest check [rsrc=testapp-jar-with-dependencies.jar, error=java.io.FileNotFoundException: testapp/testapp-jar-with-dependencies.jar (No such file or directory)]
2016/12/13 21:52:45:045 INFO n.a: Resource failed digest check [rsrc=getdown-new.jar, error=java.io.FileNotFoundException: testapp/getdown-new.jar (No such file or directory)]
2016/12/13 21:52:45:045 INFO n.a: 2 of 2 rsrcs require update (0 assumed valid).
2016/12/13 21:52:45:174 INFO n.a: Downloading 362549 bytes...
2016/12/13 21:52:45:231 INFO n.a: Downloading resource [url=http://samskivert.com/code/testapp/testapp-jar-with-dependencies.jar, size=184090]
2016/12/13 21:52:45:473 INFO n.a: Downloading resource [url=http://samskivert.com/code/testapp/getdown-new.jar, size=178459]
2016/12/13 21:52:45:535 INFO n.a: Verifying application: http://samskivert.com/code/testapp/
2016/12/13 21:52:45:536 INFO n.a: Version: -1
2016/12/13 21:52:45:536 INFO n.a: Class: com.threerings.testapp.TestApp
2016/12/13 21:52:45:536 INFO n.a: Attempting to refetch 'digest.txt' from 'http://samskivert.com/code/testapp/digest.txt'.
2016/12/13 21:52:45:595 INFO n.a: No signers, not verifying file [path=digest.txt]
2016/12/13 21:52:45:596 INFO n.a: Attempting to refetch 'digest2.txt' from 'http://samskivert.com/code/testapp/digest2.txt'.
2016/12/13 21:52:45:652 INFO n.a: No signers, not verifying file [path=digest2.txt]
2016/12/13 21:52:45:689 INFO n.a: Resources verified.
2016/12/13 21:52:45:689 INFO n.a: Installing downloaded resources:
2016/12/13 21:52:45:690 INFO n.a: - testapp/testapp-jar-with-dependencies.jar_new
2016/12/13 21:52:45:690 INFO n.a: - testapp/getdown-new.jar_new
2016/12/13 21:52:45:690 INFO n.a: Install completed.
2016/12/13 21:52:45:695 INFO n.a: Didn't find any custom environment variables, not setting any.
2016/12/13 21:52:45:696 INFO n.a: Running /Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/jre/bin/java
-classpath
/Users/mdb/projects/getdown/testapp/target/testapp/.cache/ac/acc0ca91141b9fdcd99b97d8b086ee9ac50c6ad7e079b944e15dea9e80fe5bc0.jar
-Xdock:icon=/Users/mdb/projects/getdown/testapp/target/testapp/../desktop.icns
-Xdock:name=Getdown Test App
-Dcom.threerings.getdown=true
-Dusername=\mdb
com.threerings.testapp.TestApp
/Users/mdb/projects/getdown/testapp/target/testapp
2016/12/13 21:52:46:138 INFO n.a: Updating Getdown with /Users/mdb/projects/getdown/testapp/target/testapp/getdown-new.jar...2016/12/13 21:52:46:588 WARNING n.a: Failed to load image [path=testapp/background.png, error=javax.imageio.IIOException: Can't read input file!]