I'm confused. It seems that we are still exec'ing external apps
rather than
calling the Flex Java/OEM API.
This should no longer be the case. 4.2, when it ships, should not
include
(or use) these files.
Can someone update me on this?
On Jul 21, 2008, at 5:25 PM, "Mamye Kratt"
<[EMAIL PROTECTED]> wrote:
Mamye -> jdk1.5.0_15-b04 mixed mode, sharing Fail
-> flex 2.5.33
Josh -> jdk1.5.0_15-b04 mixed mode, sharing
Success
-> flex 2.5.35
Pounce -> J2SE 5.0 1.5.0.140
Success
flex
permissions -rwx------ owned by mkratt:???????? installer on
XP mxmlc and mxmlc.exe
permissions -rwxr-xr-x owned by mkratt:mkratt built
from source
on OSX mxmlc and mxmlc.exe
permissions -rwxrwxrwx owned by root:admin installer
on OS
X mxmlc and mxmlc.exe
Various Errors
*Running this on labs:*
*
http://labs.openlaszlo.org/trunk-nightly/demos/weather/weather.lzx?lzr=swf9
*
Compilation Errors
|org.openlaszlo.sc.CompilerError: Error running external compiler:
java.io.IOException: java.io.IOException:
/home/laszlo/opt/apache-tomcat-5.5.23-labs/webapps/trunk-nightly/
WEB-INF/bin/mxmlc:
cannot execute|
*On the Mac - Source builds - I can run files in test/swf9*
*Command:*
WEB-INF/lps/server/bin/lzc --runtime=swf9 demos/weather/
weather.lzx
*Output:*
Compiling: demos/weather/weather.lzx to demos/weather/
weather.lzr=swf9.swf
Executing compiler: (cd /tmp/lzswf9/lzgen24922; /Users/mkratt/src/
svn/openlaszlo/trunk/WEB-INF/bin/mxmlc -compiler.show-
actionscript-
warnings=false -compiler.source-path+=/tmp/lzswf9/lzgen24922 -
output
/tmp/lzswf9/lzgen24922/app.swf -default-size 240 320 -
library-path+=/Users/mkratt/src/svn/openlaszlo/trunk/lps/includes/
lfc/LFC9.swc /tmp/lzswf9/lzgen24922/LzApplication.as)
Stray error string from external compiler: RegisterProcess failed
(error = -50)
compiler output:
Loading configuration file /Users/mkratt/src/svn/openlaszlo/trunk/
WEB-INF/frameworks/flex-config.xml
FAIL: compiler returned 134
Done executing compiler
Intermediate file /tmp/lzswf9/lzgen24922/app.swf: does not exist
Compilation errors occurred:
org.openlaszlo.sc.CompilerError: Errors from compiler, output file
not
created
*If I run this on the Mac:*
(cd /tmp/lzswf9/lzgen18509; /Users/mkratt/src/svn/openlaszlo/
trunk/
WEB-INF/bin/mxmlc -compiler.show-actionscript-warnings=false -
compiler.source-path+=/tmp/lzswf9/lzgen18509 -output /tmp/lzswf9/
lzgen18509/app.swf -default-size 240 320 -library-path+=/Users/
mkratt/src/svn/openlaszlo/trunk/lps/includes/lfc/LFC9.swc /tmp/
lzswf9/lzgen18509/LzApplication.as)
Loading configuration file /Users/mkratt/lib/flex3/frameworks/
flex-
config.xml
/tmp/lzswf9/lzgen18509/app.swf (134232 bytes)
*On XP running installer in Tomcat window:*
Executing compiler: (cd C:\Program Files\OpenLaszlo Server 4.2.x
\Server\tomcat-5.0.24\tmp\lzswf9\lzgen58043; C:\Program Files
\OpenLaszlo
Server 4.2.x\Server\lps-4.2.x/WEB-INF\bin/mxmlc.exe -
compiler.show-actionscript-warnings=false -compiler.source-path
+=C:
\Program
Files\OpenLaszlo Server 4.2.x\Server\tomcat-5.0.24\temp
\lzswf9\lzgen58043
-debug=true -output C:\Program Files\OpenLaszlo Server
4.2.x\Server\tomcat-5.0.24\temp\lzswf9\lzgen58043\app.swf -
default-size 240
320 -library-path+=C:\Program Files\OpenLaszlo Server
4.2.x\Server\lps-4.2.x\lps\includes\lfc\LFC9.swc C:\Program
Files\OpenLaszlo
Server 4.2.x\Server\tomcat-5.0.24\temp
\lzswf9\lzgen58043\LzApplication.as)
Srtray error string from external
compiler:java.oi.FileNotFoundException: C:\Program Files
\OpenLaszlo
Server
4.2.x\Server\lps-4.2.x\WEB-INF\bin\mxmlc.jar (THe system cannot
find
the
file specified)
FAIL: compiler returned 1
Sone executing compiler
Intermediate file C:\Program Files\OpenLaszlo Server 4.2.x\Server
\tomcat-5.0.24\temp\lzswf9\lzgen58043\app.swf: does not exist