cancel
Showing results for 
Search instead for 
Did you mean: 

Generating InstallAnywhere Build Log for macOS or OS X

Generating InstallAnywhere Build Log for macOS or OS X

Summary

This article discusses how to generate a verbose InstallAnywhere build log specifically on macOS or OS X.

Synopsis

This article outlines the steps necessary to generate a verbose build-time debug log, specifically on macOS or OS X.

Discussion

Here are the steps for generating a verbose build log when building from the InstallAnywhere IDE:
  1. Close the InstallAnywhere IDE.
  2. In Finder, open the InstallAnywhere installation directory, where InstallAnywhere was installed.
  3. Right-click the InstallAnywhere executable.
  4. Select the Show Package Contents option.
  5. Open the Contents directory.
  6. Right-click the Info.plist file.
  7. Select to open the Info.plist file in Xcode (This can also be modified with TextEdit which, is showcased in the command-line builder steps below).
  8. For InstallAnywhere 2012 and InstallAnywhere 2013, expand the Java node. For InstallAnywhere 2014 and later, expand the JavaOra node.
  9. Select the lax.stderr.redirect entry.
  10. Replace the value with /tmp/verboseIAbuildlog.txt or a similar filename and absolute directory path to a location where you have write permissions.
  11. Select the lax.out.redirect entry.
  12. Replace the value with /tmp/verboseIAbuildlog.txt or a similar filename and absolute directory path to a location where you have write permissions.
  13. Expand the VMOptions node.
  14. Select the last Item entry under the VMOptions node.
  15. Click the + button to add an Item.
  16. For the new Item, make sure that the Item is of Type String.
  17. For the new Item, specify the value as:
    -Dlax.debug.all=true
  18. Select the new Item entry.
  19. Click the + button to add another new Item.
  20. For the new Item, make sure that the Item is of Type String.
  21. For the new Item, specify the value as:
    -Dlax.debug.level=4
  22. Save the Info.plist file.
  23. Open the InstallAnywhere IDE.
  24. Build the project with the InstallAnywhere IDE.
The specified file (for example, the /tmp/verboseIAbuildlog.txt file) should now be created with verbose build-time debug output.

Here are the steps for generating a verbose build log by building with the InstallAnywhere command-line builder:
  1. In Finder, open the InstallAnywhere installation directory, where InstallAnywhere was installed.
  2. Open the the build.command.lax file, in the same directory as the main InstallAnywhere executable with TextEdit (This can also be modified with Xcode, which is showcased in the IDE steps above).
  3. Specify the following property values for the following properties, append the value if necessary:
    lax.stderr.redirect=/tmp/verboseIACMDBLD.txt
    lax.out.redirect=/tmp/verboseIACMDBLD.txt
    lax.nl.java.option.additional=-Dlax.debug.all=true -Dlax.debug.level=4
  4. Save the changes.
  5. Build the project with the InstallAnywhere command-line builder.
The specified file (for example, the /tmp/verboseIACMDBLD.txt file) should now be created with verbose build-time debug output.

Additional Information

There are different steps to generate a verbose build log on Windows and Linux. For those steps please see the following article:
Generating InstallAnywhere Build Log on Windows and Linux
Labels (1)