You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
I have been trying to use dekorate with gradle and every so often it fails to generate kubernetes.yml with no explanation.
Is it possible to enable some sorting of verbose logging?
gradle clean build --debug doesn't display any relevant info about dekorate.
Thanks
The text was updated successfully, but these errors were encountered:
fsamir
changed the title
Hot to debug problem?
Hot to debug dekoration problems?
Jul 12, 2019
Hi @fsamir, I am sorry to hear you are having issues with gradle.
At the moment dekorate doesn't log much (we are working on it see #38 ), so your best bet would be to enable stacktraces using something like --stacktrace.
I would gladly have a look at your project setup and try to identify possible issues.
fsamir
changed the title
Hot to debug dekoration problems?
How to debug dekoration problems?
Jul 15, 2019
Thanks, but unfortunately none of Gradle logging options were helpful.
In my case, Dekorate stopped running completely once I changed the default source folders, like:
sourceSets {
main {
java {
srcDirs = [] // don't compile Java code twice
}
groovy {
srcDirs = ['src/main/groovy', 'src/main/java']
}
}
test {
java {
srcDirs = [] // don't compile Java code twice
}
groovy {
srcDirs = ['src/test/groovy', 'src/test/java']
}
}
}```
Removing it fixes the problem. I guess Dekorate is setup to hook to one of the default compilation steps and gets confused when they are overwritten.
Hi there,
I have been trying to use dekorate with gradle and every so often it fails to generate kubernetes.yml with no explanation.
Is it possible to enable some sorting of verbose logging?
gradle clean build --debug
doesn't display any relevant info about dekorate.Thanks
The text was updated successfully, but these errors were encountered: