I solved it so forget the previous post (my bad) J

 

But I ran into another weird behaviour: My app does not compile properly when compiled with mxmlc!! It reports some errors (all valid errors so far) and fails. The funny thing is that it does compile when compiled on flex server!! This is really strange, why does flex server compile it without errors, but it fails with mxmlc?!?!?

 

-Mika

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mika Kiljunen
Sent: 10. tammikuuta 2006 8:51
To: flexcoders@yahoogroups.com
Subject: [flexcoders] mxml compile fails

 

Hi,

Does anyone have a clue what causes this error or is there any output anywhere? It occurs always when I try to compile a simple mxml file with mxmlc.

 

The error is: “Failed to compile testApp.mxml” and that’s all. Not much help there?

 

I *think* my params are correct for mxmlc but who knows, since I never got it to compile anything, I just get that error…

 

I’m using jdk1.5.0_06

 

This is the command:

***********

java -jar "C:\Program Files\Macromedia\Flex15\lib\mxmlc.jar"

-flexlib "C:/Program Files/Macromedia/Flex15/lib"

-configuration C:/INPUT/resources/WEB-INF/flex/flex-config.xml

-webroot C:/INPUT/resources

-o c:/OUTPUT/testApp.swf

C:/INPUT/resources/testApp.mxml

***********

 

 

The scenario is that I have C:\INPUT folder that has following structure

--resources [folder]

-----testApp.mxml [file]

----WEB-INF {folder]

-----…all the flex stuff….[files & folders, ie flex folder etc.]

 

           

Any help is appreciated!

 

-Mika




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to