Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error creating digest: Error computing digest #254

Open
ange-black69 opened this issue Aug 1, 2021 · 1 comment
Open

Error creating digest: Error computing digest #254

ange-black69 opened this issue Aug 1, 2021 · 1 comment

Comments

@ange-black69
Copy link

Hello,
Trying to make my own launcher for my app based on the demo.
I have launched a apache localhost server with myapp.jar, getdown.txt and getdown-new.jar in a particular folder of htdocs.
I have configured the getdown.txt like so :
`# where our app is hosted on the internets
appbase = http://127.0.0.1/l7s

the jar file that contains our code

code = myapp.jar

include the latest copy of getdown; app checks at startup whether it should upgrade getdown

code = getdown-new.jar

the main entry point of our app

class = com.l7s.desktop.DesktopLauncher

we pass the appdir to our app so that it can upgrade getdown

apparg = %APPDIR%

test the %env% mechanism

jvmarg = -Dusername=%ENV.USER%

ui.name = l7s updater
ui.progress = 17, 321, 458, 22
ui.progress_bar = 336600
ui.progress_text = FFFFFF
ui.status = 57, 245, 373, 68
ui.status_text = 000000

java_min_version = 1080112

java_exact_version_required = true

java_location = [windows] java_windows.jar

java_location = [mac os x] java_macos.jar

java_location = [linux] java_linux.jar

`
but once I do mvn package I got a error :

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (digest) on project testapp: An Ant BuildException has occured: Error creating digest: Error computing digest for: myapp.jar

What did I do wrong ?
(when I do http://127.0.0.1/l7s I can see the files in my browser)

@maeichris
Copy link
Contributor

maeichris commented Aug 23, 2021

See also Ticket #103 . Note that I had the same error message (through And instead of Maven) and never resolved the issue, as it was intermittent. I thought it may or may not have been related to signed jars, but it sounds like yours is not. The fault seemed to be outside of the logic of getdown (i.e. in the Java/JDK libraries). It may have also been related to specific versions of Java/JDK.

You might try to add verbose options or execute the digester by hand to get the stack trace for the exception, which may reveal additional information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants