Comparing .war file source code in two folders

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dphasthi
    Visitor
    • Jul 2016
    • 4

    Comparing .war file source code in two folders

    Hi,

    Could you please let me know if there is any script for comparing .war files placed under two folders and generate the diff.

    Thanks.
  • Aaron
    Team Scooter
    • Oct 2007
    • 16017

    #2
    Hello,

    This option requires updating the default session settings or loading a saved session. I would recommend creating a blank Folder Compare session, then go to the Session Settings, Handling tab, Treat archives as "Folders always".

    Then save this blank folder compare. You can then use it in scripting by loading the session name, then the folder pair:
    log verbose "c:\logs\bclog.txt"
    load "session name archive option"
    load "c:\folder1" "c:\folder2"
    expand all
    folder-report layout:side-by-side output-to:"c:\reports\bcreport.html" output-options:html-color
    Aaron P Scooter Software

    Comment

    Working...