Select to view content in your preferred language

mxml not compiling

1091
5
07-20-2011 06:36 AM
WadeGivens
Emerging Contributor
Has anyone had an issue with their mxml files not compiling to swf's when you do a release build?  Using Flex Builder 4.0 with version 4.1 of the SDK compiler

Thanks,
Wade
Tags (2)
0 Kudos
5 Replies
RobertScheitlin__GISP
MVP Emeritus
Wade,

Sure, that normally indicates that you have an error in the code Check your problems window and run a "clean" from the project menu.
0 Kudos
WadeGivens
Emerging Contributor
Wade,

Sure, that normally indicates that you have an error in the code Check your problems window and run a "clean" from the project menu.


Robert, may need to move this one to the viewer forum since this is a custom widget for the sample viewer.  No errors in the code (at least none that show up in the window).  I tried to manually compile using mxmlc and got an "Error: Unable to locate specified base class 'com.esri.viewer.BaseWidget' for component class 'MyCustomWidget'"

Which is odd because all of those files are in \src\com\esri\viewer
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Wade,

   Well you just completely exited my comfort zone. I have never used mxmlc to compile anything. That's what I have Flash Builder for. All I do know from reading the forums for many years now is that people struggle to get Flex Viewer widgets to compile if they are using anything other than Flex or Flash Builder.
0 Kudos
WadeGivens
Emerging Contributor
Wade,

   Well you just completely exited my comfort zone. I have never used mxmlc to compile anything. That's what I have Flash Builder for. All I do know from reading the forums for many years now is that people struggle to get Flex Viewer widgets to compile if they are using anything other than Flex or Flash Builder.


If it makes you feel any better, I exited my comfort zone about 2 weeks ago with this project 😉
0 Kudos
WadeGivens
Emerging Contributor
Boy do I feel stupid.  Didn't have the mxml registered in the Modules section of the Project properties...

That will do it every time...
0 Kudos