Reputation: 1303
I lost my sourcecode of my grails project is there any way to retrieve the sourcecode from the war file. Maybe a decompiler, I'm not sure Please help.
Upvotes: 0
Views: 915
Reputation: 75681
JD-GUI (http://jd.benow.ca/) is the best decompiler I've used, and it's pretty good with classes compiled from Groovy. But what you get is far from the original code since it includes a lot of extra code that the Groovy compiler adds, and also code that is added by AST transformations.
It's likely going to be less time to rewrite the app from scratch.
Upvotes: 1