This is an automated email from the ASF dual-hosted git repository.

joshtynjala pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new ab5b4a9  compiler-options: remove compiler. prefix from some options 
where it might not work
ab5b4a9 is described below

commit ab5b4a909a3b43ac45121d2ce87545eb6c10a932
Author: Josh Tynjala <[email protected]>
AuthorDate: Mon Nov 23 14:18:43 2020 -0800

    compiler-options: remove compiler. prefix from some options where it might 
not work
---
 compiler/compiler-options.md | 42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/compiler/compiler-options.md b/compiler/compiler-options.md
index e5cebc3..3631872 100644
--- a/compiler/compiler-options.md
+++ b/compiler/compiler-options.md
@@ -85,7 +85,7 @@ You can use these options to reduce the size of your compiled 
application:
 Determines if the `abstract` modifier may be used with classes. For more 
details, see [Abstract Classes in 
ActionScript](features/actionscript/abstract-classes.html).
 
 ```sh
--compiler.allow-abstract-classes
+-allow-abstract-classes
 ```
 
 ### allow-private-constructors {#allow-private-constructors}
@@ -93,7 +93,7 @@ Determines if the `abstract` modifier may be used with 
classes. For more details
 Determines if the `private` namespace may be used with class constructors. For 
more details, see [Private Constructors in 
ActionScript](features/actionscript/private-constructors.html).
 
 ```sh
--compiler.allow-private-constructors
+-allow-private-constructors
 ```
 
 ### allow-import-aliases {#allow-import-aliases}
@@ -101,7 +101,7 @@ Determines if the `private` namespace may be used with 
class constructors. For m
 Determines if alias syntax for for imported symbols is allowed or not.
 
 ```sh
--compiler.allow-import-aliases
+-allow-import-aliases
 ```
 
 ### strict-identifier-names {#strict-identifier-names}
@@ -109,7 +109,7 @@ Determines if alias syntax for for imported symbols is 
allowed or not.
 Determines if names of identifiers must follow the strict rules of 
ActionScript 3.0, or if they may use the looser rules introduced in ECMAScript 
5. Defaults to `false`.
 
 ```sh
--compiler.strict-identifier-names
+-strict-identifier-names
 ```
 
 ## JavaScript compiler options
@@ -119,7 +119,7 @@ Determines if names of identifiers must follow the strict 
rules of ActionScript
 Specifies the file name of the HTML file generated by the compiler to load the 
Apache Royale application in the browser.
 
 ```sh
--compiler.html-output-filename custom.html
+-html-output-filename custom.html
 ```
 
 ### html-template {#html-template}
@@ -127,7 +127,7 @@ Specifies the file name of the HTML file generated by the 
compiler to load the A
 Specifies the path to an optional template for the HTML file generated by the 
compiler to load the Apache Royale application in the browser.
 
 ```sh
--compiler.html-template ./path/to/template.html
+-html-template ./path/to/template.html
 ```
 
 #### Maven configuration:
@@ -141,7 +141,7 @@ Specifies the path to an optional template for the HTML 
file generated by the co
 Specifies one or more custom compiler options to pass to the Google Closure 
Compiler, which is used to create the release build of an Apache Royale 
application.
 
 ```sh
--compiler.js-compiler-option.variable_map_output_file gccvars.txt 
-compiler.compilation_level SIMPLE_OPTIMIZATIONS
+-js-compiler-option+="--variable_map_output_file gccvars.txt" 
-js-compiler-option+="--compilation_level SIMPLE_OPTIMIZATIONS"
 ```
 
 #### Maven configuration:
@@ -157,7 +157,7 @@ Defaults to true. Enables or disables initialization of 
primitive (Number, Boole
 Note that some reflection utility functions require this to be set to true in 
order for them to work correctly in JavaScript.  
 
 ```sh
--compiler.js-default-initializers
+-js-default-initializers
 ```
 
 #### Maven configuration:
@@ -171,7 +171,7 @@ Note that some reflection utility functions require this to 
be set to true in or
 If the definition of a member cannot be resolved at compile time, emit dynamic 
access instead of normal member access. Ensures that dynamic members aren't 
renamed.
 
 ```sh
--compiler.js-dynamic-access-unknown-members 
+-js-dynamic-access-unknown-members 
 ```
 
 #### Maven configuration:
@@ -185,7 +185,7 @@ If the definition of a member cannot be resolved at compile 
time, emit dynamic a
 Defines a global constant at compile time for the JavaScript output. May be a 
boolean, number, string, or expression.
 
 ```sh
--compiler.js-define CONFIG::debugging true -compiler.js-define CONFIG::release 
false
+-js-define CONFIG::debugging true -js-define CONFIG::release false
 ```
 
 For Boolean and numeric values, you may pass in literals like true, false, or 
123. Format string values with nested quotes, like "'hello'", because the 
compiler will attempt to evaluate an expression when it encounters a quotation 
mark.
@@ -220,7 +220,7 @@ private static var _projectVersion :String = 
BUILD::buildVersion;
 Specifies the locations of XML configuration files that define extra compiler 
options for JavaScript output.
 
 ```sh
--compiler.js-load-config path/to/project-config.xml
+-js-load-config path/to/project-config.xml
 ```
 
 #### Maven configuration:
@@ -230,19 +230,19 @@ Specifies the locations of XML configuration files that 
define extra compiler op
 The path where the generated JavaScript output should be saved, if your are 
also using it for the .swf output path.
 
 ```sh
--compiler.js-output path/to/output
+-js-output path/to/output
 ```
 
 #### Maven configuration:
 
-Use instead `outputDirectory`in `configuration` xml node
+Use instead `outputDirectory` in `configuration` xml node
 
 ### js-vector-emulation-class {#js-vector-emulation-class}
 
 A custom implemention to use instead of default emulation of the AVM2 `Vector` 
typed collection.
 
 ```sh
--compiler.js-vector-emulation-class=com.example.MyVectorClass
+-js-vector-emulation-class=com.example.MyVectorClass
 ```
 
 #### Maven configuration:
@@ -256,7 +256,7 @@ A custom implemention to use instead of default emulation 
of the AVM2 `Vector` t
 Customize the factory to use for JSX syntax. Defaults to `React.createElement`.
 
 ```sh
--compiler.jsx-factory=_jsx
+-jsx-factory=_jsx
 ```
 
 #### Maven configuration:
@@ -270,7 +270,7 @@ Customize the factory to use for JSX syntax. Defaults to 
`React.createElement`.
 Tells the Apache Royale compiler to remove circular dependencies in the 
generated JavaScript, where possible.
 
 ```sh
--compiler.remove-circulars
+-remove-circulars
 ```
 
 #### Maven configuration:
@@ -284,7 +284,7 @@ Tells the Apache Royale compiler to remove circular 
dependencies in the generate
 Emits a source map in the debug build for each ActionScript file. The default 
value is false.
 
 ```sh
--compiler.source-map
+-source-map
 ```
 
 #### Maven configuration:
@@ -298,7 +298,7 @@ Emits a source map in the debug build for each ActionScript 
file. The default va
 Sets a custom value for the `sourceRoot` property in the generated source map 
files. This option will be ignored if the `source-map` compiler option is 
`false`.
 
 ```sh
--compiler.source-map-source-root=my/custom/path
+-source-map-source-root=my/custom/path
 ```
 
 #### Maven configuration:
@@ -312,7 +312,7 @@ Sets a custom value for the `sourceRoot` property in the 
generated source map fi
 Specifies the target format of the code generated by the Apache Royale 
compiler. You can specify multiple targets.
 
 ```sh
--compiler.targets JSRoyale,SWF
+-targets JSRoyale,SWF
 ```
 
 The compiler supports the following values for "targets":
@@ -334,7 +334,7 @@ The compiler supports the following values for "targets":
 Enables or disables warnings about using public variables when it may be 
considered dangerous to use them.
 
 ```sh
--compiler.warn-public-vars
+-warn-public-vars
 ```
 
 #### Maven configuration:
@@ -348,7 +348,7 @@ Enables or disables warnings about using public variables 
when it may be conside
 Set to false to remove all binding warnings.
 
 ```sh
--compiler.show-binding-warnings=false
+-show-binding-warnings=false
 ```
 
 #### Maven configuration:

Reply via email to