Setting Advanced Options

  1. Follow the procedure for creating a PHAR file, but click Next in the last step to go to the PHAR Packaging Options page.
  2. If you want to save the PHAR file description, select the Save the description of this PHAR in the workspace checkbox. A PHAR file description can be used to regenerate a PHAR file without using the wizard.
  3. The compiler is able to generate CLASS files even when source contains errors. You have the option to exclude CLASS (but not source) files with compile errors. These files will be reported at the end, if reporting is enabled.
  4. You can choose to exclude CLASS (but not source) files that have compile warnings. These files will be reported at the end.
    Note: This option does not automatically exclude class files with compile errors.
  5. You can choose to include the source folder path by selecting the Create source folder structure checkbox.
  6. Select the Build projects if not built automatically checkbox if you want the export to perform a build before creating the PHAR file.
  7. Click Finish to create the PHAR file immediately or Next if you want to change the default manifest.

Related tasks

Creating a new PHAR file
Defining the PHAR file's manifest
Regenerating a PHAR file

Related reference

PHAR file exporter