Instant reverse

To reverse source code to a project through command line:

  1. Browse the scripts folder under the VP Suite installation directory.
    The scripts folder inside VP Suite installation directory
    The scripts folder inside VP Suite installation directory
  2. Copy the script file InstantReverse and paste to the bin folder of VP Suite installation directory.
    Copy and paste InstantReverse from scripts folder to bin folder
    Copy and paste InstantReverse from scripts folder to bin folder
  3. Start the command prompt.
  4. Navigate to the bin folder of VP Suite installation directory.
    Navigate to the bin folder of VP Suite in command prompt
    Navigate to the bin folder of VP Suite in command prompt
  5. Execute the script by supplying the required parameters. For example:
    InstantReverse -project C:\Demo\Demo.vpp -path C:\Demo\MyProject\src -lang Java -pathtype folder -sourcetype source
    Executing InstantReverse
    Executing InstantReverse
    Below is a description of parameters:
    Parameter Description Example
    -project Project path
    C:\Demo\Demo.vpp
    -path The file or folder path of the source files to be reversed
    C:\Demo\Output\src
    -lang
    Specify the language of the source code to reverse. Here are the possible options:
    • Java
    • "C++ Source"
    • ".NET dll or exe files"
    • "CORBA IDL Source"
    • Ada 9x Source"
    • XML
    • "XML Schema"
    • Hibernate
    • "PHP 5.0 Source"
    • "Python Source"
    • Objective-C
    Java
    pathtype Useful only for Java, pathtype defines the type of the path supplied for -path. Here are the possible options:
    • file
    • folder
    • zip
    file
    sourcetype Useful only for Java, sourcetype defines the type of source to reverse. Here are the possible options:
    • source
    • class
    source
    -overwrite | -update Overwrite or update model from code - overwrite
    Parameters for InstantReverse