Without the original source, this will be a rewrite.  At best, GWT-
generated JavaScript is helpful for debugging IFF it was generated
with output style detailed or pretty.  Even in this scenario, it's not
practical to attempt to reverse-engineer the original Java source.
And there's almost no chance that's what you have; it's almost
certainly generated with output style obfuscated, which makes it
completely indecipherable.

On Jun 22, 2:52 pm, Nathan Klatt <n8kl...@gmail.com> wrote:
> I don't have much hope for this but is there any way to recover something
> reasonably approaching the original source of a GWT project given the
> generated class, html, JavaScript, etc files?
>
> A client has given us the generated web application but does not have access
> to the original source and the original developers are unavailable. (Yes,
> this makes me nervous and, no, I don't know the full circumstances, but I'm
> not the one calling the shots here.)
>
> If we can get it to a working state, we will probably continue pressing on
> with it as a GWT application. Otherwise, we will write it from scratch which
> means back to the PHP dungeon for me.
>
> I have played around with decompiling the class files but I suspect a
> significant chunk of the client code remains hiding in the JavaScript, is
> that correct? How difficult will that be to replicate?
>
> Can anyone offer some hope here?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to