Ah, hopefully it will be a little better in 2.0. Unfortunately compiler errors are really hard to get right because  it’s often impossible to determine the intent of the user when the error is encountered.

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pablo Apanasionek
Sent: Wednesday, February 15, 2006 6:56 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex compiler problem on Build/Browse

 

It got solved yesterday, when checking some recently changed files. As restarting Flex/JBoss/computer didn't worked, I did some debugging, and it happened to be an undeclared variable (named aux) that Flex was interpreting as a class, and therefore looking for it in the user_classes directory. Just added the preceding "var" to it and done.

 

Although it was something really stupid, I guess a more describing error message could have helped a lot. =)

 

Thanks!

---Pablo Gustavo Apanasionek

 

 


De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] En nombre de Matt Chotin
Enviado el: Miércoles, 15 de Febrero de 2006 01:59
Para: flexcoders@yahoogroups.com
Asunto: RE: [flexcoders] Flex compiler problem on Build/Browse

That seems very odd, what happens when you restart JBoss?

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pablo Apanasionek
Sent: Tuesday, February 14, 2006 4:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex compiler problem on Build/Browse

 

Hi everyone!

 

Has any of you ever bumped into this while building/browsing a MXML file? I'm using JBoss 4.0.2 and Flex 1.5. It was running perfectly a few hours ago, and nothing changed in my configuration (at least, that I could notice).

 

2 Errors found.
 
Error C:\Archivos de programa\Java\jboss-4.0.2\server\default\deploy\earacs-flex.war\WEB-INF\flex\user_classes\aux.mxml

Error reading MXML document: check that the file exists and permissions are set correctly.


Error C:\Archivos de programa\Java\jboss-4.0.2\server\default\deploy\earacs-flex.war\FlightTypes.mxml:446

Don't know how to parse element "http://www.macromedia.com/2003/mxml:WebService". It is not a known type or a property of mx.core.Application.

 

In the first case, the file aux.mxml doesn't even exist. Is this file generated by the compiler? What permissions should the flex-dir have?

 

Thanks in advance!

---Pablo Apanasionek

 




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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to