sprout-as3-bundle 0.2.9 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,606 +0,0 @@
1
- module Sprout
2
- class COMPCTask < ToolTask
3
- # Enables accessibility features when compiling the Flex application or SWC file. The default value is false.
4
- def accessible=(boolean)
5
- @accessible = boolean
6
- end
7
-
8
- # Sets the file encoding for ActionScript files. For more information see: http://livedocs.adobe.com/flex/2/docs/00001503.html#149244
9
- def actionscript_file_encoding=(string)
10
- @actionscript_file_encoding = string
11
- end
12
-
13
- # Checks if a source-path entry is a subdirectory of another source-path entry. It helps make the package names of MXML components unambiguous. This is an advanced option.
14
- def allow_source_path_overlap=(boolean)
15
- @allow_source_path_overlap = boolean
16
- end
17
-
18
- # Use the ActionScript 3.0 class-based object model for greater performance and better error reporting. In the class-based object model, most built-in functions are implemented as fixed methods of classes.
19
- #
20
- # The default value is true. If you set this value to false, you must set the es option to true.
21
- #
22
- # This is an advanced option.
23
- def as3=(boolean)
24
- @as3 = boolean
25
- end
26
-
27
- # Prints detailed compile times to the standard output. The default value is true.
28
- def benchmark=(boolean)
29
- @benchmark = boolean
30
- end
31
-
32
- # Sets the value of the {context.root} token in channel definitions in the flex-services.xml file. If you do not specify the value of this option, Flex uses an empty string.
33
- #
34
- # For more information on using the {context.root} token, see http://livedocs.adobe.com/flex/2/docs/00001446.html#205687.
35
- def context_root=(path)
36
- @context_root = path
37
- end
38
-
39
- # Sets metadata in the resulting SWF file. For more information, see Adding metadata to SWF files (http://livedocs.adobe.com/flex/2/docs/00001502.html#145380).
40
- def contributor=(string)
41
- @contributor = string
42
- end
43
-
44
- # Sets metadata in the resulting SWF file. For more information, see Adding metadata to SWF files. (http://livedocs.adobe.com/flex/2/docs/00001502.html#145380)
45
- def creator=(string)
46
- @creator = string
47
- end
48
-
49
- # Sets metadata in the resulting SWF file. For more information, see Adding metadata to SWF files. (http://livedocs.adobe.com/flex/2/docs/00001502.html#145380)
50
- def date=(string)
51
- @date = string
52
- end
53
-
54
- # Generates a debug SWF file. This file includes line numbers and filenames of all the source files. When a run-time error occurs, the stacktrace shows these line numbers and filenames. This information is also used by the command-line debugger and the Flex Builder debugger. Enabling the debug option generates larger SWF files.
55
- #
56
- # For the mxmlc compiler, the default value is false. For the compc compiler, the default value is true.
57
- #
58
- # For SWC files generated with the compc compiler, set this value to true, unless the target SWC file is an RSL. In that case, set the debug option to false.
59
- #
60
- # For information about the command-line debugger, see Using the Command-Line Debugger (http://livedocs.adobe.com/flex/2/docs/00001540.html#181846).
61
- #
62
- # Flex also uses the verbose-stacktraces setting to determine whether line numbers are added to the stacktrace.
63
- def debug=(boolean)
64
- @debug = boolean
65
- end
66
-
67
- # Lets you engage in remote debugging sessions with the Flash IDE. This is an advanced option.
68
- def debug_password=(string)
69
- @debug_password = string
70
- end
71
-
72
- # Sets the application's background color. You use the 0x notation to set the color, as the following example shows:
73
- #
74
- # -default-background-color=0xCCCCFF
75
- #
76
- # The default value is null. The default background of a Flex application is an image of a gray gradient. You must override this image for the value of the default-background-color option to be visible. For more information, see Editing application settings (http://livedocs.adobe.com/flex/2/docs/00001504.html#138781).
77
- #
78
- # This is an advanced option.
79
- def default_background_color=(string)
80
- @default_background_color = string
81
- end
82
-
83
- # Sets the application's frame rate. The default value is 24. This is an advanced option.
84
- def default_frame_rate=(number)
85
- @default_frame_rate = number
86
- end
87
-
88
- # Defines the application's script execution limits.
89
- # The max-recursion-depth value specifies the maximum depth of Adobe Flash Player call stack before Flash Player stops. This is essentially the stack overflow limit. The default value is 1000.
90
- #
91
- # The max-execution-time value specifies the maximum duration, in seconds, that an ActionScript event handler can execute before Flash Player assumes that it is hung, and aborts it. The default value is 60 seconds. You cannot set this value above 60 seconds.
92
- #
93
- # Example:
94
- #
95
- # # 900 is new max-recursion-depth
96
- # # 20 is new max-execution-time
97
- # t.default_script_limits = '900 20'
98
- #
99
- # You can override these settings in the application.
100
- #
101
- # This is an advanced option.
102
- def default_script_limits=(string)
103
- @default_script_limits = string
104
- end
105
-
106
- # Defines the default application size, in pixels for example: default_size = '950 550'. This is an advanced option.
107
- def default_size=(string)
108
- @default_size = string
109
- end
110
-
111
- # Defines the location of the default style sheet. Setting this option overrides the implicit use of the defaults.css style sheet in the framework.swc file.
112
- #
113
- # For more information on the defaults.css file, see Using Styles and Themes (http://livedocs.adobe.com/flex/2/docs/00000751.html#241755) in Flex 2 Developer's Guide.
114
- #
115
- # This is an advanced option.
116
- def default_css_url=(url)
117
- @default_css_url = url
118
- end
119
-
120
- # Define a global AS3 conditional compilation definition, e.g. -define=CONFIG::debugging,true or -define+=CONFIG::debugging,true (to append to existing definitions in flex-config.xml) (advanced, repeatable)
121
- def define=(string)
122
- @define = string
123
- end
124
-
125
- # Sets metadata in the resulting SWF file. For more information, see Adding metadata to SWF files (http://livedocs.adobe.com/flex/2/docs/00001502.html#145380).
126
- def description=(string)
127
- @description = string
128
- end
129
-
130
- # Outputs the compiler options in the flex-config.xml file to the target path; for example:
131
- #
132
- # mxmlc -dump-config myapp-config.xml
133
- #
134
- # This is an advanced option.
135
- def dump_config=(file)
136
- @dump_config = file
137
- end
138
-
139
- # Use the ECMAScript edition 3 prototype-based object model to allow dynamic overriding of prototype properties. In the prototype-based object model, built-in functions are implemented as dynamic properties of prototype objects.
140
- #
141
- # You can set the strict option to true when you use this model, but it might result in compiler errors for references to dynamic properties.
142
- #
143
- # The default value is false. If you set this option to true, you must set the es3 option to false.
144
- #
145
- # This is an advanced option.
146
- def es=(boolean)
147
- @es = boolean
148
- end
149
-
150
- # Sets a list of symbols to exclude from linking when compiling a SWF file.
151
- #
152
- # This option provides compile-time link checking for external references that are dynamically linked.
153
- #
154
- # For more information about dynamic linking, see About linking (http://livedocs.adobe.com/flex/2/docs/00001521.html#205852).
155
- #
156
- # This is an advanced option.
157
- def externs=(symbols)
158
- @externs = symbols
159
- end
160
-
161
- # Specifies a list of SWC files or directories to exclude from linking when compiling a SWF file. This option provides compile-time link checking for external components that are dynamically linked.
162
- #
163
- # For more information about dynamic linking, see About linking (http://livedocs.adobe.com/flex/2/docs/00001521.html#205852).
164
- #
165
- # You can use the += operator to append the new SWC file to the list of external libraries.
166
- #
167
- # This parameter has been aliased as +el+.
168
- def external_library_path=(files)
169
- @external_library_path = files
170
- end
171
-
172
- # Specifies source files to compile. This is the default option for the mxmlc compiler.
173
- def file_specs=(files)
174
- @file_specs = files
175
- end
176
-
177
- # Specifies the range of Unicode settings for that language. For more information, see Using Styles and Themes (http://livedocs.adobe.com/flex/2/docs/00000751.html#241755) in Flex 2 Developer's Guide.
178
- #
179
- # This is an advanced option.
180
- def fonts_languages_language_range=(string)
181
- @fonts_languages_language_range = string
182
- end
183
-
184
- # Defines the font manager. The default is flash.fonts.JREFontManager. You can also use the flash.fonts.BatikFontManager. For more information, see Using Styles and Themes in Flex 2 Developer's Guide (http://livedocs.adobe.com/flex/2/docs/00000751.html#241755).
185
- #
186
- # This is an advanced option.
187
- def fonts_managers=(symbols)
188
- @fonts_managers = symbols
189
- end
190
-
191
- # Sets the maximum number of fonts to keep in the server cache. For more information, see Caching fonts and glyphs (http://livedocs.adobe.com/flex/2/docs/00001469.html#208457).
192
- #
193
- # This is an advanced option.
194
- def fonts_max_cached_fonts=(number)
195
- @fonts_max_cached_fonts = number
196
- end
197
-
198
- # Sets the maximum number of character glyph-outlines to keep in the server cache for each font face. For more information, see Caching fonts and glyphs (http://livedocs.adobe.com/flex/2/docs/00001469.html#208457).
199
- #
200
- # This is an advanced option.
201
- def fonts_max_glyphs_per_face=(number)
202
- @fonts_max_glyphs_per_face = number
203
- end
204
-
205
- # Specifies a SWF file frame label with a sequence of class names that are linked onto the frame.
206
- #
207
- # For example: frames_frame = 'someLabel MyProject OtherProject FoodProject'
208
- #
209
- # This is an advanced option.
210
- def frames_frame=(string)
211
- @frames_frame = string
212
- end
213
-
214
- # Toggles the generation of an IFlexBootstrap-derived loader class.
215
- #
216
- # This is an advanced option.
217
- def generate_frame_loader=(boolean)
218
- @generate_frame_loader = boolean
219
- end
220
-
221
- # Enables the headless implementation of the Flex compiler. This sets the following:
222
- #
223
- # System.setProperty('java.awt.headless', 'true')
224
- #
225
- # The headless setting (java.awt.headless=true) is required to use fonts and SVG on UNIX systems without X Windows.
226
- #
227
- # This is an advanced option.
228
- def headless_server=(boolean)
229
- @headless_server = boolean
230
- end
231
-
232
- # Links all classes inside a SWC file to the resulting application SWF file, regardless of whether or not they are used.
233
- #
234
- # Contrast this option with the library-path option that includes only those classes that are referenced at compile time.
235
- #
236
- # To link one or more classes whether or not they are used and not an entire SWC file, use the includes option.
237
- #
238
- # This option is commonly used to specify resource bundles.
239
- def include_libraries=(files)
240
- @include_libraries = files
241
- end
242
-
243
- # Links one or more classes to the resulting application SWF file, whether or not those classes are required at compile time.
244
- #
245
- # To link an entire SWC file rather than individual classes, use the include-libraries option.
246
- def includes=(symbols)
247
- @includes = symbols
248
- end
249
-
250
- # Enables incremental compilation. For more information, see About incremental compilation (http://livedocs.adobe.com/flex/2/docs/00001506.html#153980).
251
- #
252
- # This option is true by default for the Flex Builder application compiler. For the command-line compiler, the default is false. The web-tier compiler does not support incremental compilation.
253
- def incremental=(boolean)
254
- @incremental = boolean
255
- end
256
-
257
- # Determines whether to keep the generated ActionScript class files.
258
- #
259
- # The generated class files include stubs and classes that are generated by the compiler and used to build the SWF file.
260
- #
261
- # The default location of the files is the /generated subdirectory, which is directly below the target MXML file. If the /generated directory does not exist, the compiler creates one.
262
- #
263
- # The default names of the primary generated class files are filename-generated.as and filename-interface.as.
264
- #
265
- # The default value is false.
266
- # This is an advanced option.
267
- def keep_generated_actionscript=(boolean)
268
- @keep_generated_actionscript = boolean
269
- end
270
-
271
- # Sets metadata in the resulting SWF file. For more information, see Adding metadata to SWF files (http://livedocs.adobe.com/flex/2/docs/00001502.html#145380).
272
- def language=(string)
273
- @language = string
274
- end
275
-
276
- # Enables ABC bytecode lazy initialization.
277
- #
278
- # The default value is false.
279
- #
280
- # This is an advanced option.
281
- def lazy_init=(boolean)
282
- @lazy_init = boolean
283
- end
284
-
285
- # <product> <serial-number>
286
- #
287
- # Specifies a product and a serial number. (repeatable)
288
- #
289
- # This is an advanced option.
290
- def license=(string)
291
- @license = string
292
- end
293
-
294
- # Links SWC files to the resulting application SWF file. The compiler only links in those classes for the SWC file that are required.
295
- #
296
- # The default value of the library-path option includes all SWC files in the libs directory and the current locale. These are required.
297
- #
298
- # To point to individual classes or packages rather than entire SWC files, use the source-path option.
299
- #
300
- # If you set the value of the library-path as an option of the command-line compiler, you must also explicitly add the framework.swc and locale SWC files. Your new entry is not appended to the library-path but replaces it.
301
- #
302
- # You can use the += operator to append the new argument to the list of existing SWC files.
303
- #
304
- # In a configuration file, you can set the append attribute of the library-path tag to true to indicate that the values should be appended to the library path rather than replace it.
305
- def library_path=(files)
306
- @library_path = files
307
- end
308
-
309
- # Prints linking information to the specified output file. This file is an XML file that contains <def>, <pre>, and <ext> symbols showing linker dependencies in the final SWF file.
310
- #
311
- # The file format output by this command can be used to write a file for input to the load-externs option.
312
- #
313
- # For more information on the report, see Examining linker dependencies (http://livedocs.adobe.com/flex/2/docs/00001394.html#211202).
314
- #
315
- # This is an advanced option.
316
- def link_report=(file)
317
- @link_report = file
318
- end
319
-
320
- # Specifies the location of the configuration file that defines compiler options.
321
- #
322
- # If you specify a configuration file, you can override individual options by setting them on the command line.
323
- #
324
- # All relative paths in the configuration file are relative to the location of the configuration file itself.
325
- #
326
- # Use the += operator to chain this configuration file to other configuration files.
327
- #
328
- # For more information on using configuration files to provide options to the command-line compilers, see About configuration files (http://livedocs.adobe.com/flex/2/docs/00001490.html#138195).
329
- def load_config=(file)
330
- @load_config = file
331
- end
332
-
333
- # Specifies the location of an XML file that contains <def>, <pre>, and <ext> symbols to omit from linking when compiling a SWF file. The XML file uses the same syntax as the one produced by the link-report option. For more information on the report, see Examining linker dependencies (http://livedocs.adobe.com/flex/2/docs/00001394.html#211202).
334
- #
335
- # This option provides compile-time link checking for external components that are dynamically linked.
336
- #
337
- # For more information about dynamic linking, see About linking (http://livedocs.adobe.com/flex/2/docs/00001521.html#205852).
338
- #
339
- # This is an advanced option.
340
- def load_externs=(file)
341
- @load_externs = file
342
- end
343
-
344
- # Specifies the locale that should be packaged in the SWF file (for example, en_EN). You run the mxmlc compiler multiple times to create SWF files for more than one locale, with only the locale option changing.
345
- #
346
- # You must also include the parent directory of the individual locale directories, plus the token {locale}, in the source-path; for example:
347
- #
348
- # mxmlc -locale en_EN -source-path locale/{locale} -file-specs MainApp.mxml
349
- #
350
- # For more information, see Localizing Flex Applicationsin (http://livedocs.adobe.com/flex/2/docs/00000898.html#129288) Flex 2 Developer's Guide.
351
- def locale=(string)
352
- @locale = string
353
- end
354
-
355
- # Sets metadata in the resulting SWF file. For more information, see Adding metadata to SWF files (http://livedocs.adobe.com/flex/2/docs/00001502.html#145380).
356
- def localized_description=(string)
357
- @localized_description = string
358
- end
359
-
360
- # Sets metadata in the resulting SWF file. For more information, see Adding metadata to SWF files (http://livedocs.adobe.com/flex/2/docs/00001502.html#145380).
361
- def localized_title=(string)
362
- @localized_title = string
363
- end
364
-
365
- # Specifies a namespace for the MXML file. You must include a URI and the location of the manifest file that defines the contents of this namespace. This path is relative to the MXML file.
366
- #
367
- # For more information about manifest files, see About manifest files (http://livedocs.adobe.com/flex/2/docs/00001519.html#134676).
368
- def namespaces_namespace=(string)
369
- @namespaces_namespace = string
370
- end
371
-
372
- # Enables the ActionScript optimizer. This optimizer reduces file size and increases performance by optimizing the SWF file's bytecode.
373
- #
374
- # The default value is false.
375
- def optimize=(boolean)
376
- @optimize = boolean
377
- end
378
-
379
- # Specifies the output path and filename for the resulting file. If you omit this option, the compiler saves the SWF file to the directory where the target file is located.
380
- #
381
- # The default SWF filename matches the target filename, but with a SWF file extension.
382
- #
383
- # If you use a relative path to define the filename, it is always relative to the current working directory, not the target MXML application root.
384
- #
385
- # The compiler creates extra directories based on the specified filename if those directories are not present.
386
- #
387
- # When using this option with the component compiler, the output is a SWC file rather than a SWF file.
388
- def output=(file)
389
- @output = file
390
- end
391
-
392
- # Sets metadata in the resulting SWF file. For more information, see Adding metadata to SWF files (http://livedocs.adobe.com/flex/2/docs/00001502.html#145380).
393
- def publisher=(string)
394
- @publisher = string
395
- end
396
-
397
- # XML text to store in the SWF metadata (overrides metadata.* configuration) (advanced)
398
- def raw_metadata=(string)
399
- @raw_metadata = string
400
- end
401
-
402
- # Prints a list of resource bundles to input to the compc compiler to create a resource bundle SWC file. The filename argument is the name of the file that contains the list of bundles.
403
- #
404
- # For more information, see Localizing Flex Applications (http://livedocs.adobe.com/flex/2/docs/00000898.html#129288) in Flex 2 Developer's Guide.
405
- def resource_bundle_list=(file)
406
- @resource_bundle_list = file
407
- end
408
-
409
- # Specifies a list of run-time shared libraries (RSLs) to use for this application. RSLs are dynamically-linked at run time.
410
- #
411
- # You specify the location of the SWF file relative to the deployment location of the application. For example, if you store a file named library.swf file in the web_root/libraries directory on the web server, and the application in the web root, you specify libraries/library.swf.
412
- #
413
- # For more information about RSLs, see Using Runtime Shared Libraries. (http://livedocs.adobe.com/flex/2/docs/00001520.html#168690)
414
- def runtime_shared_libraries=(urls)
415
- @runtime_shared_libraries = urls
416
- end
417
-
418
- # [path-element] [rsl-url] [policy-file-url] [rsl-url] [policy-file-url]
419
- # alias -rslp
420
- # (repeatable)
421
- def runtime_shared_library_path=(string)
422
- @runtime_shared_library_path = string
423
- end
424
-
425
- # Specifies the location of the services-config.xml file. This file is used by Flex Data Services.
426
- def services=(file)
427
- @services = file
428
- end
429
-
430
- # Shows warnings for ActionScript classes.
431
- #
432
- # The default value is true.
433
- #
434
- # For more information about viewing warnings and errors, see Viewing warnings and errors (http://livedocs.adobe.com/flex/2/docs/00001517.html#182413).
435
- def show_actionscript_warnings=(boolean)
436
- @show_actionscript_warnings = boolean
437
- end
438
-
439
- # Shows a warning when Flash Player cannot detect changes to a bound property.
440
- #
441
- # The default value is true.
442
- #
443
- # For more information about compiler warnings, see Using SWC files (http://livedocs.adobe.com/flex/2/docs/00001505.html#158337).
444
- def show_binding_warnings=(boolean)
445
- @show_binding_warnings = boolean
446
- end
447
-
448
- # Shows deprecation warnings for Flex components. To see warnings for ActionScript classes, use the show-actionscript-warnings option.
449
- #
450
- # The default value is true.
451
- #
452
- # For more information about viewing warnings and errors, see Viewing warnings and errors.
453
- def show_deprecation_warnings=(boolean)
454
- @show_deprecation_warnings = boolean
455
- end
456
-
457
- # Adds directories or files to the source path. The Flex compiler searches directories in the source path for MXML or AS source files that are used in your Flex applications and includes those that are required at compile time.
458
- #
459
- # You can use wildcards to include all files and subdirectories of a directory.
460
- #
461
- # To link an entire library SWC file and not individual classes or directories, use the library-path option.
462
- #
463
- # The source path is also used as the search path for the component compiler's include-classes and include-resource-bundles options.
464
- #
465
- # You can also use the += operator to append the new argument to the list of existing source path entries.
466
- def source_path=(paths)
467
- @source_path = paths
468
- end
469
-
470
- # Statically link the libraries specified by the -runtime-shared-libraries-path option.
471
- #
472
- # alias -static-rsls
473
- def static_link_runtime_shared_libraries=(boolean)
474
- @static_link_runtime_shared_libraries = boolean
475
- end
476
-
477
- # Prints undefined property and function calls; also performs compile-time type checking on assignments and options supplied to method calls.
478
- #
479
- # The default value is true.
480
- #
481
- # For more information about viewing warnings and errors, see Viewing warnings and errors (http://livedocs.adobe.com/flex/2/docs/00001517.html#182413).
482
- def strict=(boolean)
483
- @strict = boolean
484
- end
485
-
486
- # Specifies the version of the player the application is targeting.
487
- #
488
- # Features requiring a later version will not be compiled into the application. The minimum value supported is "9.0.0".
489
- def target_player=(string)
490
- @target_player = string
491
- end
492
-
493
- # Specifies a list of theme files to use with this application. Theme files can be SWC files with CSS files inside them or CSS files.
494
- #
495
- # For information on compiling a SWC theme file, see Using Styles and Themes (http://livedocs.adobe.com/flex/2/docs/00000751.html#241755) in Flex 2 Developer's Guide.
496
- def theme=(files)
497
- @theme = files
498
- end
499
-
500
- # Sets metadata in the resulting SWF file. For more information, see Adding metadata to SWF files (http://livedocs.adobe.com/flex/2/docs/00001502.html#145380).
501
- def title=(string)
502
- @title = string
503
- end
504
-
505
- # Specifies that the current application uses network services.
506
- #
507
- # The default value is true.
508
- #
509
- # When the use-network property is set to false, the application can access the local filesystem (for example, use the XML.load() method with file: URLs) but not network services. In most circumstances, the value of this property should be true.
510
- #
511
- # For more information about the use-network property, see Applying Flex Security (http://livedocs.adobe.com/flex/2/docs/00001328.html#137544).
512
- def use_network=(boolean)
513
- @use_network = boolean
514
- end
515
-
516
- # Generates source code that includes line numbers. When a run-time error occurs, the stacktrace shows these line numbers.
517
- #
518
- # Enabling this option generates larger SWF files.
519
- # The default value is false.
520
- def verbose_stacktraces=(boolean)
521
- @verbose_stacktraces = boolean
522
- end
523
-
524
- # Verifies the libraries loaded at runtime are the correct ones.
525
- def verify_digests=(boolean)
526
- @verify_digests = boolean
527
- end
528
-
529
- # Enables specified warnings. For more information, see Viewing warnings and errors (http://livedocs.adobe.com/flex/2/docs/00001517.html#182413).
530
- def warn_warning_type=(boolean)
531
- @warn_warning_type = boolean
532
- end
533
-
534
- # Enables all warnings. Set to false to disable all warnings. This option overrides the warn-warning_type options.
535
- #
536
- # The default value is true.
537
- def warnings=(boolean)
538
- @warnings = boolean
539
- end
540
-
541
- # Main source file to send compiler
542
- def input=(file)
543
- @input = file
544
- end
545
-
546
- # Outputs the SWC file in an open directory format rather than a SWC file. You use this option with the output option to specify a destination directory, as the following example shows:
547
- # compc -directory -output destination_directory
548
- #
549
- # You use this option when you create RSLs. For more information, see Using Runtime Shared Libraries (http://livedocs.adobe.com/flex/201/html/rsl_124_1.html#168690).
550
- def directory=(boolean)
551
- @directory = boolean
552
- end
553
-
554
- # Specifies classes to include in the SWC file. You provide the class name (for example, MyClass) rather than the file name (for example, MyClass.as) to the file for this option. As a result, all classes specified with this option must be in the compiler's source path. You specify this by using the source-path compiler option.
555
- #
556
- # You can use packaged and unpackaged classes. To use components in namespaces, use the include-namespaces option.
557
- #
558
- # If the components are in packages, ensure that you use dot-notation rather than slashes to separate package levels.
559
- #
560
- # This is the default option for the component compiler.
561
- def include_classes=(symbols)
562
- @include_classes = symbols
563
- end
564
-
565
- # Adds the file to the SWC file. This option does not embed files inside the library.swf file. This is useful for skinning and theming, where you want to add non-compiled files that can be referenced in a style sheet or embedded as assets in MXML files.
566
- #
567
- # If you use the [Embed] syntax to add a resource to your application, you are not required to use this option to also link it into the SWC file.
568
- #
569
- # For more information, see Adding nonsource classes (http://livedocs.adobe.com/flex/201/html/compilers_123_39.html#158900).
570
- def include_file=(files)
571
- @include_file = files
572
- end
573
-
574
- #
575
- def include_lookup_only=(boolean)
576
- @include_lookup_only = boolean
577
- end
578
-
579
- # Specifies namespace-style components in the SWC file. You specify a list of URIs to include in the SWC file. The uri argument must already be defined with the namespace option.
580
- #
581
- # To use components in packages, use the include-classes option.
582
- def include_namespaces=(urls)
583
- @include_namespaces = urls
584
- end
585
-
586
- # Specifies the resource bundles to include in this SWC file. All resource bundles specified with this option must be in the compiler's source path. You specify this using the source-path compiler option.
587
- #
588
- # For more information on using resource bundles, see Localizing Flex Applications (http://livedocs.adobe.com/flex/201/html/l10n_076_1.html#129288) in Flex 2 Developer's Guide.
589
- def include_resource_bundles=(files)
590
- @include_resource_bundles = files
591
- end
592
-
593
- # Specifies classes or directories to add to the SWC file. When specifying classes, you specify the path to the class file (for example, MyClass.as) rather than the class name itself (for example, MyClass). This lets you add classes to the SWC file that are not in the source path. In general, though, use the include-classes option, which lets you add classes that are in the source path.
594
- #
595
- # If you specify a directory, this option includes all files with an MXML or AS extension, and ignores all other files.
596
- def include_sources=(paths)
597
- @include_sources = paths
598
- end
599
-
600
- # Not sure about this option, it was in the CLI help, but not documented on the Adobe site
601
- def namespace=(string)
602
- @namespace = string
603
- end
604
-
605
- end
606
- end
@@ -1,12 +0,0 @@
1
-
2
- # Interested in making this work?
3
- # The FCSH process is pretty challenging
4
- # because it's a persistent command line
5
- # UI, rather than a simple fire-and-forget
6
- # model found in most compilers.
7
-
8
- # Some work has been done to support it, if
9
- # you're interested in contributing, please
10
- # let me know!
11
-
12
- # lbayes@patternpark.com