IntelliJ IDEA 14.0.0 Web Help

General tab

Use this tab to edit such build configuration settings as its name, type, output file name and folder, etc.

Item Description
Name Use this field to edit the name of the build configuration.
Type A brief description of the build configuration type, for example, ActionScript application for web (Flash Player) which means:
  • The target platform is Web.
  • The output type is Application (SWF).
  • The application is pure ActionScript (i.e. it doesn't use the Flex framework).

To change the build configuration type, click Change and specify the build configuration properties in the dialog that opens.

Main class For the Application and the Runtime-loaded module output types: the main class of the SWF file.

Edit the name of the class right in the field or click browseButton  (Shift+Enter) and select the necessary class in the Choose Main Class dialog.

Output file name Use this field to edit the name and extension of the output file.
Output folder The folder in which the output file is generated.

Edit the path to this folder right in the field or click browseButton  (Shift+Enter) and select the necessary folder in the dialog that opens.

Use HTML wrapper For Web Applications: select this option if you want an HTML wrapper to be included in the output.
  • Folder with template. Specify the path to the folder where the files that constitute an HTML wrapper template are located.
    • To select an existing folder with the wrapper template files, click browseButton (Shift+Enter) and select the folder in the dialog that opens.

      Note that the corresponding folder must contain the file index.template.html and this file must contain the token ${swf}.

    • To create a new folder with the wrapper template files, click Create and specify the folder location and the wrapper options in the Create HTML Wrapper Template dialog.

During the compilation, the tokens contained in the template (index.template.html) are replaced with the appropriate values. For example, ${swf} is replaced with the .swf file name. The resulting .html wrapper file will have the same name as the .swf file.

See also, Using the SWF metadata tag to control HTML wrapper properties.

Runtime-loaded modules For Web and Desktop Applications: if your application has modular structure (see Modular applications overview in Flex documentation), you can use this field to specify dependencies on the corresponding runtime-loaded modules (RLMs).

Click shift-enter-button (Shift+Enter). In the Runtime-Loaded Modules dialog that opens:

  • To add a dependency, click add (Alt+Insert) and select the main class of the corresponding RLM in the Choose Main Class of Runtime-Loaded Module dialog that opens.
  • To optimize the module SWF file size, select the Optimize check box.
  • To replace a class with a different one, click the corresponding Main Class table cell, click browseButton (Shift+Enter), and select the necessary class in the dialog that opens.
  • To remove dependencies from the list, select the dependencies (RLMs) to be removed and click delete (Alt+Delete).

Note that there is also an alternative way of specifying dependencies on RLMs: you can add dependencies on RLM build configurations on the Dependencies tab.

See also, Configuring Dependencies for Modular Applications.

Runtime style sheets For Web and Desktop Applications: if necessary, specify the .css files that should be compiled into runtime style sheets.

Click shift-enter-button (Shift+Enter). In the CSS Files To Compile dialog that opens:

  • To add a .css file to the list, click add (Alt+Insert) and select the necessary file in the dialog that opens.
  • To replace a file which is already in the list with a different one, click the corresponding entry, click browseButton (Shift+Enter), and select the file in the dialog that opens.
  • To remove items from the list, select the items to be removed and click delete (Alt+Delete).
Skip compilation Select this option if you do not intend to compile your module using this build configuration. If you do so, the build configuration will only affect your code validation and (error) highlighting.

See Also

Last modified: 4 December 2014
comments powered by Disqus