Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2016
    Posts
    4

    Default 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.

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,908

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •