Closed andretietz closed 10 years ago
digest failed with this error, if some line from getdown.txt like code = ...
are set with missing files.
Do you customize the template of getdow.txt ?
Do you have app/lib/*.jar
(especialy those listed in getdown.txt) ?
I don't understand why your copyDist is 'UP-TO-DATE' after a clean
?
I am using the template, and extend it with some lines:
tmplGetdownTxt = tmplGetdownTxt + "\n" +
"allow_offline = true\n" +
"ui.background = DE0808\n" +
"ui.progress = 28, 176, 280, 21\n" +
"ui.progress_bar = 9E0606\n" +
"ui.progress_text = FFFFFF\n" +
"ui.status = 28, 95, 280, 70\n" +
"ui.status_text = FFFFFF\n"
But yeah, good point, copydist should not be "up-to-date"
Switched back to 0.2.2, it works like a charm (makeGetdownTxt)
Found the problem:
When I do not use:
distSpec.with {
from("images") {
into('app')
}
}
The error appears
with it, it's fine
I'll check with my sample app.
Else , in groovy you can use multiline string (+ use single quote to avoid evaluation at compile time) :
tmplGetdownTxt = tmplGetdownTxt + '''
allow_offline = true
ui.background = DE0808
ui.progress = 28, 176, 280, 21
ui.progress_bar = 9E0606
ui.progress_text = FFFFFF
ui.status = 28, 95, 280, 70
ui.status_text = FFFFFF
'''
fix in 0.3.1 (available on jcenter)
Seems like since the 0.3.0 the getdown.txt gets not created correctly