a single line of code causes my Flex Builder to fail to compile the
application and throws the following ambiguous error:
'An internal build error has occurred. Please check the Error Log.'
I tried cleaning the application, which made no difference.
Commenting out the line of code (or setting the value of
pushServerPort to an empty string)resolved the issue.
Where is this error log? A simple syntax error would have been nice.
Here's the one-liner:
[Bindable]
private var pushServerPort:String = model.socketConfig.socket.(@name
== 'pushServer')[EMAIL PROTECTED];
(model is a reference to ModelLocator and socketConfig is XML)
Here is the XML definition of socketConfig:
public var socketConfig : XML =
<sockets>
<socket name='pushServer' port='2005'/>
<socket name='cesRes' host='localhost' port='3055'/>
</sockets>;