Select to view content in your preferred language

Flex 4.1 SDK Warning with FlexViewer 2.1

6743
24
09-23-2010 06:43 AM
RobertScheitlin__GISP
MVP Emeritus
API Team,

   I get this warning when using FLEX SDK 4.1

Description    Resource    Path    Location    Type
com.esri.viewer:BaseWidget is a module or application that is directly referenced. This will cause com.esri.viewer:BaseWidget and all of its dependencies to be linked in with index. Using an interface is the recommended practice to avoid this.    flexviewer2.1        Unknown    Flex Problem


Any comments on this one?
Tags (2)
0 Kudos
24 Replies
BillLotz
Frequent Contributor
Same for me.....
0 Kudos
BjornSvensson
Esri Regular Contributor
Thanks for reporting this.  We're looking into it.  Except for the warning, does everything else work?
0 Kudos
BillLotz
Frequent Contributor
Thanks for reporting this. We're looking into it. Except for the warning, does everything else work?

Yes it seems to be working fine.
I had this warning right after I imported the project; before I had changed anything.
Bill
0 Kudos
EjayLai
Deactivated User
I have another warning messsage...I tried to launch the flash builder ''run as administrator" and no longer see the warning.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
API Team,

   I wonder If you all have tried to import the FlexViewer 2.1 Src as defined in your instruction on a clean (no setting tweaked in Flash Builder like you guys probably have) and then switched to design view on any widget and refreshed? These are the errors that I get. The same errors that Ejay gets and posted in another thread. I thought I had these errors resolved but they have crept back up.
0 Kudos
EjayLai
Deactivated User
Yes I was able to duplicate the errors Robert mentioned. I noticed that it adds some argumants to the compiler when doing this:

-locale=en_US -source-path=locale/{locale} -keep-all-type-selectors=true

While it should be:

-locale=en_US
0 Kudos
EjayLai
Deactivated User
Further previous message, now I have "Unable to resolve resource bundle "ViewerStrings" for locale "en_US"." error...which prevents (HTTP Error 404.0 - Not Found) me from running the app. Although I can clean the project but the error comes back again when trying to run it. Other than start a fresh flex project import, I wonder if there's anyway to fix it.
0 Kudos
KomanDiabate
Deactivated User
I am experiencing these error messages also. I called ESRI tech support with no success. The strange thing is that they suddenly come and go and I have no idea what is going on.
0 Kudos
DasaPaddock
Esri Regular Contributor
We're investigating the Design mode issue.

In the meantime, your "Additional compiler arguments" should be:
-locale=en_US -source-path=locale/{locale} -keep-all-type-selectors=true

If it's only:
-locale=en_US

it doesn't know where to find the "ViewerStrings" resource bundle.
0 Kudos