Author Message
BrianNesbit
Joined: Apr 24, 2007
Messages: 21
Offline
I have a client whose 3rd party vendor is no longer engaged and all they have are .war files. Is there a way to reverse engineer war files back to OD?
massimo__croci
Joined: Jan 31, 2020
Messages: 518
Offline
Not sure if it's possible to exactly get the original source code. WAR files are basically compressed archive files (as ZIP) so they are easy to extract (using unzip or just renaming the file).

Anyway I suspect decompiling back to source is not going to produce source that looks identical to the original source.
BrianNesbit
Joined: Apr 24, 2007
Messages: 21
Offline
Got it. Thanks!
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
There are meta data files that you need for the project. Most of the source code in the project would have been generated from those meta data files that show up in the graphical editors.
BrianNesbit
Joined: Apr 24, 2007
Messages: 21
Offline
So those meta data files would NOT be in the .war file? Unless I'm mistaken, the only way to get an idea of what the call flow is doing is by reviewing the logs? Both in AEP and in the trace.log files?
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
No, the war file only contain compiled java code. The app's trace.log with showvxml enabled would give you the details of what the app is doing.
Go to:   
Mobile view