You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eg. we make a clean cut between v0.4 and any older version
no backward compatibility, period
the SDK should have the functionality to
chose the path of an already installed Flex SDK
chose the path of an already installed AIR SDK
and/or
install a Flex SDK
install a AIR SDK
merge a AIR SDK with a Flex SDK
but
Flex and AIR SDK are OPTIONAL
our SDK and tools need to rely mainly and solely on asc.jar (and/or asc2.jar)
with maybe in a far away futur porting everything to AS3 (to avoid any dependencies on Java)
https://code.google.com/p/redtamarin/issues/detail?id=53
currently the situation is like that
in a general manner "it is hard to use redtamarin"
A redtamarin SDK should help by providing a default organisation
of files, utilities, environment variables, etc.
scenario:
after many tests, relying on Ant to test/compile/etc. is not enough
so we will create our own build tool to cover the special cases
see #54 redbean
first support mainly Windows and OSX
(even though it should work with Linux too later)
2 parts of the SDK
env var
REDTAMARIN_HOME = /opensource/redtamarin/sdks/0.3.5
PATH = '$REDTAMARIN_HOME/bin:$PATH'
files
later we should provide more files like
abcdump, swfmake, etc.
the first redtamarin SDK will target version 0.3.2
and support only Windows and OSX
so we should be able to distribute an SDK before
the sync with tamarin-redux
then the next SDK will target v0.4.0
(which is more server oriented)
and so also support Linux (Debian, Ubuntu CentOS, maybe others)
we should organize the files in such a way that
we could support the same name for Linux and OSX
eg. no to different names, for ex: redbean and redbean.nix
but instead:
/linux/redbean
/osx/redbean
not only support the same names for different OS
but also for different bits
eg. 32bits vs 64bits
/linux/32/redbean
/linux/64/redbean
/osx/32/redbean
/osx/64/redbean
as we don't want complicated path for users
eg.
${env_var:REDTAMARIN_HOME}/bin/linux/32/redbean
we want simple path like
${env_var:REDTAMARIN_HOME}/bin/redbean
/bin/redbean should be a system shell scripts
that look into REDTAMARIN_OPTS
REDTAMARIN_HOME = /opensource/redtamarin/sdks/0.3.5
REDTAMARIN_OPTS = -d64
eg. like JAVA_OPTS use -d64 to run in 64bit
also we should have REDSHELL_OPTS for the avmshell running options
REDSHELL_OPTS = "-swfversion 9 -api FP_9_0"
and be very clear in the doc that
REDTAMARIN_OPTS is not the same as REDSHELL_OPTS
and explain the why/what/etc.
we also need a REDTAMARIN_PATH (like PYTHONPATH)
to allow to augment the default search path for library files (*.abc)
by default we could have this logic to search for libraries
CURRENT_PATH/name.abc
REDTAMARIN_PATH/name.abc
REDTAMARIN_HOME/abcs/name.abc
illustrated example:
you have myprogram.abc
which call loadLibrary( "avmglue.abc" )
running from the path /test/123/
with the env vars
REDTAMARIN_HOME = /opensource/redtamarin/sdks/0.3.5
REDTAMARIN_PATH = "/usr/share/redtamarin/lib:/users/zwetan/redlib"
loadLibrary() should then search in order
if notfound in any of those paths then should
report an error "could not load library" or something alike
so far SDK structure would look like this
we will not start with v0.3.2 but with v0.4
eg. we make a clean cut between v0.4 and any older version
no backward compatibility, period
the SDK should have the functionality to
and/or
but
Flex and AIR SDK are OPTIONAL
our SDK and tools need to rely mainly and solely on asc.jar (and/or asc2.jar)
with maybe in a far away futur porting everything to AS3 (to avoid any dependencies on Java)
see #96 as3distro
see #97 redshell
let's clarify the role of everyone
RedTamarin SDK
redshell
redbean
as3distro
note: redtamarin EXE are not exactly the same as your Operating System EXE
note: we make a difference between AS sources and complex AS sources
note: we make a difference between SWF and complex SWF
The text was updated successfully, but these errors were encountered: