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.
- data/lib/sprout/as3/version.rb +3 -3
- data/lib/sprout/as3_tasks.rb +3 -0
- data/lib/sprout/fcsh_lexer.rb +144 -0
- data/lib/sprout/fcsh_service.rb +111 -0
- data/lib/sprout/fcsh_socket.rb +36 -0
- data/lib/sprout/generators/project/project_generator.rb +1 -0
- data/lib/sprout/generators/project/templates/MainClass.as +2 -1
- data/lib/sprout/generators/project/templates/XMLRunner.as +17 -0
- data/lib/sprout/generators/project/templates/rakefile.rb +4 -0
- data/lib/sprout/generators/test/templates/TestCase.as +2 -2
- data/lib/sprout/tasks/adl_documentation.rb +79 -45
- data/lib/sprout/tasks/adt_documentation.rb +45 -79
- data/lib/sprout/tasks/{asdoc_rdoc.rb → asdoc_documentation.rb} +0 -0
- data/lib/sprout/tasks/asdoc_task.rb +33 -2
- data/lib/sprout/tasks/fcsh.rb +10 -0
- data/lib/sprout/tasks/fdb_task.rb +226 -14
- data/lib/sprout/tasks/mxmlc_ci.rb +62 -0
- data/lib/sprout/tasks/mxmlc_helper.rb +18 -3
- data/lib/sprout/tasks/mxmlc_task.rb +21 -6
- data/lib/sprout/tasks/mxmlc_unit.rb +1 -1
- data/rakefile.rb +2 -1
- metadata +21 -11
- data/lib/sprout/tasks/adl_rdoc.rb +0 -88
- data/lib/sprout/tasks/adt_cert_rdoc.rb +0 -44
- data/lib/sprout/tasks/adt_rdoc.rb +0 -54
- data/lib/sprout/tasks/compc_rdoc.rb +0 -606
- data/lib/sprout/tasks/fcsh_task.rb +0 -12
- data/lib/sprout/tasks/mxmlc_rdoc.rb +0 -547
@@ -1,88 +0,0 @@
|
|
1
|
-
module Sprout
|
2
|
-
class ADTTask < ToolTask
|
3
|
-
# Using -package option as default.
|
4
|
-
def package=(boolean)
|
5
|
-
@package = boolean
|
6
|
-
end
|
7
|
-
|
8
|
-
# The alias of a key in the keystore. Specifying an alias is not
|
9
|
-
# necessary when a keystore only contains a single certificate. If no
|
10
|
-
# alias is specified, ADT uses the first key in the keystore.
|
11
|
-
def alias=(string)
|
12
|
-
@alias = string
|
13
|
-
end
|
14
|
-
|
15
|
-
# The type of keystore, determined by the keystore implementation. The
|
16
|
-
# default keystore implementation included with most installations of
|
17
|
-
# Java supports the JKS and PKCS12 types. Java 5.0 includes support for
|
18
|
-
# the PKCS11 type, for accessing keystores on hardware tokens, and
|
19
|
-
# Keychain type, for accessing the Mac OS-X keychain. Java 6.0 includes
|
20
|
-
# support for the MSCAPI type (on Windows). If other JCA providers have
|
21
|
-
# been installed and configured, additional keystore types might be
|
22
|
-
# available. If no keystore type is specified, the default type for the
|
23
|
-
# default JCA provider is used.
|
24
|
-
def storetype=(string)
|
25
|
-
@storetype = string
|
26
|
-
end
|
27
|
-
|
28
|
-
# The JCA provider for the specified keystore type. If not specified,
|
29
|
-
# then ADT uses the default provider for that type of keystore.
|
30
|
-
def providerName=(string)
|
31
|
-
@providerName = string
|
32
|
-
end
|
33
|
-
|
34
|
-
# The path to the keystore file for file-based store types.
|
35
|
-
def keystore=(file)
|
36
|
-
@keystore = file
|
37
|
-
end
|
38
|
-
|
39
|
-
# The password required to access the keystore. If not specified, ADT
|
40
|
-
# prompts for the password.
|
41
|
-
def storepass=(string)
|
42
|
-
@storepass = string
|
43
|
-
end
|
44
|
-
|
45
|
-
# The password required to access the private key that will be used to
|
46
|
-
# sign the AIR application. If not specified, ADT prompts for the password.
|
47
|
-
def keypass=(string)
|
48
|
-
@keypass = string
|
49
|
-
end
|
50
|
-
|
51
|
-
# Specifies the URL of an RFC3161-compliant time stamp server to time
|
52
|
-
# stamp the digital signature. If no URL is specified, a default time
|
53
|
-
# stamp server provided by Geotrust is used. When the signature of an AIR
|
54
|
-
# application is time stamped, the application can still be installed
|
55
|
-
# after the signing certificate expires, because the time stamp verifies
|
56
|
-
# that the certificate was valid at the time of signing.
|
57
|
-
def tsa=(url)
|
58
|
-
@tsa = url
|
59
|
-
end
|
60
|
-
|
61
|
-
# The name of the AIR file to be created.
|
62
|
-
def output=(file)
|
63
|
-
@output = file
|
64
|
-
end
|
65
|
-
|
66
|
-
# The path to the application descriptor file. The path can be specified
|
67
|
-
# relative to the current directory or as an absolute path. (The
|
68
|
-
# application descriptor file is renamed as "application.xml" in the AIR
|
69
|
-
# file.)
|
70
|
-
def application_descriptor=(file)
|
71
|
-
@application_descriptor = file
|
72
|
-
end
|
73
|
-
|
74
|
-
# The files and directories to package in the AIR file. Any number of
|
75
|
-
# files and directories can be specified, delimited by whitespace. If you
|
76
|
-
# list a directory, all files and subdirectories within, except hidden
|
77
|
-
# files, are added to the package. (In addition, if the application
|
78
|
-
# descriptor file is specified, either directly, or through wildcard or
|
79
|
-
# directory expansion, it is ignored and not added to the package a
|
80
|
-
# second time.) Files and directories specified must be in the current
|
81
|
-
# directory or one of its subdirectories. Use the -C option to change the
|
82
|
-
# current directory.
|
83
|
-
def files=(files)
|
84
|
-
@files = files
|
85
|
-
end
|
86
|
-
|
87
|
-
end
|
88
|
-
end
|
@@ -1,44 +0,0 @@
|
|
1
|
-
module Sprout
|
2
|
-
class ADTCertTask < ToolTask
|
3
|
-
# Using -certificate option as default.
|
4
|
-
def certificate=(boolean)
|
5
|
-
@certificate = boolean
|
6
|
-
end
|
7
|
-
|
8
|
-
# The string assigned as the common name of the new certificate.
|
9
|
-
def cn=(string)
|
10
|
-
@cn = string
|
11
|
-
end
|
12
|
-
|
13
|
-
# Astring assigned as the organizational unit issuing the certificate.
|
14
|
-
def ou=(string)
|
15
|
-
@ou = string
|
16
|
-
end
|
17
|
-
|
18
|
-
# A string assigned as the organization issuing the certificate.
|
19
|
-
def o=(string)
|
20
|
-
@o = string
|
21
|
-
end
|
22
|
-
|
23
|
-
# A two-letter ISO-3166 country code. A certificate is not generated if an invalid code is supplied.
|
24
|
-
def c=(string)
|
25
|
-
@c = string
|
26
|
-
end
|
27
|
-
|
28
|
-
# The type of key to use for the certificate, either "1024-RSA" or "2048-RSA".
|
29
|
-
def keytype=(string)
|
30
|
-
@keytype = string
|
31
|
-
end
|
32
|
-
|
33
|
-
# The path for the certificate file to be generated.
|
34
|
-
def keystore=(file)
|
35
|
-
@keystore = file
|
36
|
-
end
|
37
|
-
|
38
|
-
# The password for the new certificate. The password is required when signing AIR files with this certificate.
|
39
|
-
def keypass=(string)
|
40
|
-
@keypass = string
|
41
|
-
end
|
42
|
-
|
43
|
-
end
|
44
|
-
end
|
@@ -1,54 +0,0 @@
|
|
1
|
-
module Sprout
|
2
|
-
class ADLTask < ToolTask
|
3
|
-
# Specifies the directory containing the runtime to use. If not
|
4
|
-
# specified, the runtime directory in the same SDK as the ADL program
|
5
|
-
# will be used. If you move ADL out of its SDK folder, then you must
|
6
|
-
# specify the runtime directory. On Windows, specify the directory
|
7
|
-
# containing the Adobe AIR directory. On Mac OSX, specify the directory
|
8
|
-
# containing Adobe AIR.framework.
|
9
|
-
def runtime=(file)
|
10
|
-
@runtime = file
|
11
|
-
end
|
12
|
-
|
13
|
-
# Turns off debugging support. If used, the application process cannot
|
14
|
-
# connect to the Flash debugger and dialogs for unhandled exceptions are
|
15
|
-
# suppressed.
|
16
|
-
#
|
17
|
-
# Trace statements still print to the console window. Turning off
|
18
|
-
# debugging allows your application to run a little faster and also
|
19
|
-
# emulates the execution mode of an installed application more closely.
|
20
|
-
def nodebug=(boolean)
|
21
|
-
@nodebug = boolean
|
22
|
-
end
|
23
|
-
|
24
|
-
# Assigns the specified value as the publisher ID of the AIR application
|
25
|
-
# for this run. Specifying a temporary publisher ID allows you to test
|
26
|
-
# features of an AIR application, such as communicating over a local
|
27
|
-
# connection, that use the publisher ID to help uniquely identify an
|
28
|
-
# application.
|
29
|
-
#
|
30
|
-
# The final publisher ID is determined by the digital certificate used to
|
31
|
-
# sign the AIR installation file.
|
32
|
-
def pubid=(string)
|
33
|
-
@pubid = string
|
34
|
-
end
|
35
|
-
|
36
|
-
# The application descriptor file.
|
37
|
-
def application_descriptor=(file)
|
38
|
-
@application_descriptor = file
|
39
|
-
end
|
40
|
-
|
41
|
-
# The root directory of the application to run. If not
|
42
|
-
# specified, the directory containing the application
|
43
|
-
# descriptor file is used.
|
44
|
-
def root_directory=(file)
|
45
|
-
@root_directory = file
|
46
|
-
end
|
47
|
-
|
48
|
-
# Passed to the application as command-line arguments.
|
49
|
-
def arguments=(string)
|
50
|
-
@arguments = string
|
51
|
-
end
|
52
|
-
|
53
|
-
end
|
54
|
-
end
|