SPA122 Timezone Change via Config File

Hi,
I have been modifying the default XML cfg file that is created by the config compiler for the SPA112/122. Everything has been going smoothly apart from the time settings. On the SPA122 the config reads as follows:
<Time_Setup>
<Time_Zone>-08 1 1</Time_Zone>
<Auto_Adjust_Clock>1</Auto_Adjust_Clock>
<Time_Server_Mode>manual</Time_Server_Mode>
<Time_Server>europe.pool.ntp.org</Time_Server>
<Resync_Timer>3600</Resync_Timer>
<Auto_Recovery_System_Time>0</Auto_Recovery_System_Time>
<Time_Mode>1</Time_Mode>
</Time_Setup>
Now the "-08 1 1" under the timezone entry is for US Pacific Time, so GMT -08. I need to make the entry GMT 0 for UK time. I have tried a few different strings but these get ignored everytime. Does anyone know the options you have under this entry or what to set for UK time?
Best regards
Rob

Try to set the GMT 0 in the web GUI and get the xml config using this special url:
http://SPAIPaddress/admin/config.xml
In this way you can find the exact value used by SPA.
Regards.

Similar Messages

  • Dashboard grouping without change in Config files

    Hi Experts,
    This has been asked many times,
    To group the dashboards , we need to create the required dashboards under the same Group folder and need to ensure that the entry in the config file is set correctly.
    Now here my problem starts ,
    Lets consider that the concerned entry in the config file has been set to default which is I think 15.
    Test Dashboard should have Three dashboards tagged as drop down for Test Dashboard,i.e when user clicks on Test dashboard he should see
    Test-->
    A
    B
    C
    Now my problem is when someone who has access to more than 15 dashboards logs in , he sees the drop down menu dashboards but when a user who has access to let say 10 dashboards then he does not sees the required dashboards grouped but the individual dashboards appear separately i.e A B C.
    I don't want to make any change in Config file now, is there anyway we can achieve this.
    Thanks

    Thanks for the reply, but I don't have any occurrence of the mentioned entry at all.
    Still for some users I can see the grouping work while for some the grouping does not works. I am really wondering about this happening.
    As per Oracle Presentation Administration Guide
    "Oracle Business Intelligence typically displays the names of individual dashboards across the top of
    the screen. To minimize the amount of screen space used for this, when there are more than 15
    dashboard names to display, Oracle Business Intelligence creates a drop-down list from which users can choose the dashboard to view."
    I don't think this requires a entry, having a entry is important only when you want to control the number of dashboards after which the drop down should work.
    I would really like to know if anyone else has faced this issue before.
    If anyone has any suggestion or can throw some light on this, it would be really helpful.
    Thanks,

  • Locking GUI of Cisco IP terminals leaving terminal unlock | via config file

    Hi Guys, 
    On the Cisco SPA VoIP handset range, there is an option for a 'System  Configuration User Password'.
    This feature allows additional security  within the GUI and also locks down some of the menus on the phones.
    These phone menus can be overridden, leaving the GUI password in  place.  However, this is a manual process on the phone itself.
    Is there any way  of removing the user password on the handset, but  keeping it live on the  GUI and to do this all via the config file.
    Regards
    Shivam

    What version is the older AP's on and what version is the new ones running?  There were some changes with the config formatting between certain versions.  Make sure all the AP's are running the same version and try loading the config again.

  • Locking GUI of IP phones leaving terminal unlock | via config file

    Hi Guys,
    On the Cisco SPA VoIP handset range, there is an option for a 'System  Configuration User Password'. This feature allows additional security  within the GUI and also locks down some of the menus on the phones.  These phone menus can be overridden, leaving the GUI password in place.  However, this is a manual process on the phone itself. Is there any way  of removing the user password on the handset, but keeping it live on the  GUI and to do this all via the config file.
    Regards
    Shivam

    Hi Guys,
    On the Cisco SPA VoIP handset range, there is an option for a 'System  Configuration User Password'. This feature allows additional security  within the GUI and also locks down some of the menus on the phones.  These phone menus can be overridden, leaving the GUI password in place.  However, this is a manual process on the phone itself. Is there any way  of removing the user password on the handset, but keeping it live on the  GUI and to do this all via the config file.
    Regards
    Shivam

  • How can i change about:config file ? where is it saved ?

    I see that it is impossible to start private browsing and navigate url in this private browsing programmaticaly.
    So it seems like this may be a solution for me.
    Which file does hold about:config ? So i can change it to start private browsing as default with a software and when done revert it to back.
    Thanks.

    Prefs that do not have the default value have their modified value stored in the prefs.js file in the Firefox profile folder.
    You can create a user.js file with this line to make Firefox start in Private Browsing mode.
    *user_pref("browser.privatebrowsing.autostart", true);
    Firefox read the user.js file on every start, so as long as this file is present then Firefox will start in Private Browsing mode.<br />
    You can either move (copy) or rename this file to enable and disable it.
    *http://kb.mozillazine.org/user.js_file

  • UWC change in config files

    Hello ,
    I have JES 05 Q4 installed.
    I deployed, Communications Express (UWC) in the web server.
    I did some changes in the configuration file "/opt/SUNWuwc/WEB-INF/config/uwcconfig.properties".
    I want the change to take effect. I restarted the web server, but it didn't take the change.
    How to make the change effective?
    Thanks

    i guess, u need to do the following
    /opt/SUNWics5/sbin/stop-cal
    /opt/SUNWics5/sbin/start-cal
    hope this helps

  • Declaring callbacks via config file: assigning method from a string

    Hello together,
    For a game project I am using Apache Commons Digester for creating object trees from an XML config (done by XML to object mapping just like in Castor or Betwixt).
    For the configugration of the keyboard, I would like to declare callback methods that the keyboard class shall invoke on a given object, e.g.:
    <keyboard>
    <event key="F11" method="Engine.getDisplay.toggleFullscreen()" />
    </keyboard>
    The main problem I see to interprete the thing in the method attrib? What is the best method to create this binding in my source? Are there any utils you know or do I have to parse the string myself in order to realise such a callback? I.e. how to get an instance of java.lang.reflect.Method from such a string?
    Thank you for any proposals!
    Greetings, Timo

    I know you can loop through the methods of the given class and look for one with the right signature.

  • I was infected by a virus and this changed proxy config to 127.0.0.1:64727, i removed the virus, but every time i start firefox i find the proxy configuration made by the virus.is there any config file i can change ?

    I was infected by a virus (i can't remember the virus name). Antivirus removed it, but i think it changed some config file on FF, 'cause every time i try to restart it , i find it configured to use proxy 127.0.0.1:64727. I change every time the config, i also tried to change the config on the about:config and set network.proxy.type 5 , no port and no network proxy (so it's all on default) . I changed the config on the gui, i removed the config from windows registry ( IE and chrome start normally, with no proxy), but every time i restart FF i find the proxy config there. How can i fix it ?

    I had the same problem.
    Solution
    '''Clear Virus First'''
    -clear virus using either anti-virus or manually going into task manager and figuring out which processes are bad.
    -If the manual way, go through each process in task manager and right click to "open file location". Depending on where it is located and the name of the process, you can google the process name online to see if it is bad.
    -Delete the bad process file and as added security, create a folder using the name of the process so the file can't be recreated later. (example: If I had a virus "3dcr.exe" in folder c:\user, then delete "3dcr.exe" and create a new folder c:\user\3dcr.exe\ )
    '''Fix Proxy Settings'''
    -If your browser points an proxy server and you can't change the settings because every restart of firefox returns the settings back (even after changing in about:config or prefs.js or options>advanced>network>settings). The answer is to uninstall firefox with all its user preferences and the reinstall it.
    *I know it is a bit brute force, but it was the only method I found to work. Just be sure to save your bookmarks first.

  • Should I use .INI or .XML config files on cRIO?

    I'm looking to make a configuration file for an application running on a cRIO-9022. It will contain a small amount of configuration data (like numeric offsets, file paths, and IP addresses). I have 2 questions:
    1) Which file format should I use (.ini or .xml)? I have used .INI in the past because it is human readable/configurable with notepad, but it seems like .xml is becoming the new standard
    2) I would like to be able to modify config parameters on the PC that connects to the cRIO. What is the best way to modify the config file if it is stored on the cRIO hard disk (FTP the file to PC, make changes, FTP back? Network Streams?)
    --CLD--
    LV 6.1, 8.6.1, 2011 SP1, 2012 SP1

    JimMacD wrote:
    Thanks for the info.
    Any clever ways of accessing and changing the Config File data from a LV application running on a PC that doesn't require manually editing the file? I want the operator to just be able to click a button that says "cRIO Config", open a dialog, and change the values from there.
    uhm.... Yes!
    In This Post I show a bit of my hand on just exactly what I keep in a ini.config file (wel,l 1 section of a config file)  It would be nearly idiotic of me to not provide a Config editer since there are numerous Enum type defs in the delimited value for each key.  so since I, as the developer, know what sections (and possibly keys) are there I can read the file and load them to indicators on a config editor GUI.
    I've actually done this two ways-
    1) a seperate app that only "admin Engineers" know the location of "Launch Config editor.exe.
    2) In the application referanced above I have a button that opens a MODAL panel to edit the file (remember- I know what is in the file).   Users need permissions (Users- Passwords and permissions are kept in a config file, of course!) to even display the "Edit Sequence" button. but the "super user" can edit the step parameters. 
    HINT: one of these "Steps" loads a xml file to expose telnet commands and config for the uP on the DUT.   I expect the firmware on the Linux DUT will change in the future and did not want to rebuild my app whenever a typo was fixed in a command line tool.  BUT, since there are "special characters" that do not fit nicely into a .ini I exposed the telnet commands and line ends IP address and the login script  in a xml file.
    I know this did not directly answer your question!  but It should provide some food for thought.
    If you can share your data structure- I can be more specific. 
    Jeff

  • Advice on config file

    Hi guys and gals. I currently use a config.ini file for all my database set up (URL, driver manager, etc). My application is made up of two JAR files, one for the server-side, one for the client. I have put my config file in with my JAR and call it like so:
    InputStream is = ClassLoader.getSystemResourceAsStream("com/dmsltd/rmi/config.ini");
    As you can see I have put it into the rmi package of my application. Is this a sensible place? I am starting to think not. Would it make more sense to have the config.ini file outside my JAR file? The reason I ask is what if the network administartor at a site decides to change the IP address of a machine, or decides to use a different port number for RMI calls...this would require changing the config file + re-archiving. If the config file was called from outside the JAR, all that would need to be changed would be the config file.
    If anyone can steer me in the best direction, I would be ever so grateful.

    I suspect I wouldn't be able to use the ClassLoader to access a file from outside the JAR file. Not so, the technique you used there should find the file anywhere in your classpath. So it doesn't have to be in a JAR file, it could be in a directory in your classpath.

  • Makepkg, upgrade and config-files

    Hello,
    At the moment I work on a package for the programm "vdr". Without any start-parameters (in this case: -c /etc/vdr) vdr save and load its config files in the folder /mnt/vdr-recordings. 
    In the future i would like to use the start-parameter (-c /etc/vdr). With this parameter vdr loads its config files from /etc/vdr.
    vdr creates some default config files during the make process. Afterwards I copy the files from /mnt/vdr-recordings to /etc/vdr.
    This work fine 
    Now my problem: ;-)
    If I want to update vdr with a new version (pacman -U vdr-1.3.35-2.tar.gz), pacman overwrite all config files in /etc/vdr, although I changed the config files after installing vdr the first time.
    According to the pacman manual pages, pacman should decide not to overwrite the file, if I have changed the installed ones (in /etc/vdr)
    And finally the question ;-)
    Is there any way to declare the config files in /etc/vdr as "true config files" and handle it, like pacman should do it?
    The PKGBUILD:
    pkgname=vdr
    pkgver=1.3.35
    pkgrel=2
    pkgdesc="A video disk recorder softcam-plugin support"
    url="http://www.cadsoft.de/vdr/"
    #license=""
    #depends=(libjpeg)
    #makedepends=()
    #conflicts=()
    #replaces=()
    #backup=()
    #install=
    source=(ftp://ftp.cadsoft.de/vdr/Developer/$pkgname-$pkgver.tar.bz2
    ci.h.patch
    dvbdevice.c.patch
    pat.c.patch
    sclink.h.patch)
    md5sums=('c47d505bdf30bed26f6e82a47bb39b98' 'e97f8f07f4465b767c1159f13778d1b3'
    '5169351e752ed42b96355235fb7ca1cc' '387a7c7c56c9b6bf9e98889994a3f159'
    '3f7bab8b80f440a5ab88453bd4b89b84')
    build() {
    cd $startdir/src/$pkgname-$pkgver
    patch -Np1 -i $startdir/src/ci.h.patch || return 1
    patch -Np1 -i $startdir/src/dvbdevice.c.patch || return 1
    patch -Np1 -i $startdir/src/pat.c.patch || return 1
    patch -Np1 -i $startdir/src/sclink.h.patch || return 1
    make NO_KBD=1 || return 1
    make plugins
    make BINDIR=$startdir/pkg/usr/bin/ MANDIR=$startdir/pkg/usr/man/ VIDEODIR=$startdir/pkg/mnt/vdr-recordings/ install
    mkdir -p $startdir/pkg/etc/vdr/plugins
    mkdir -p $startdir/pkg/usr/lib/vdr
    cd $startdir/pkg/mnt/vdr-recordings/
    install -D -m644 ca.conf $startdir/pkg/etc/vdr/ca.conf
    install -D -m644 channels.conf $startdir/pkg/etc/vdr/channels.conf
    install -D -m644 diseqc.conf $startdir/pkg/etc/vdr/diseqc.conf
    install -D -m644 keymacros.conf $startdir/pkg/etc/vdr/keymacros.conf
    install -D -m644 sources.conf $startdir/pkg/etc/vdr/sources.conf
    install -D -m644 svdrphosts.conf $startdir/pkg/etc/vdr/svdrphosts.conf
    rm ca.conf channels.conf diseqc.conf keymacros.conf sources.conf svdrphosts.conf
    cd /usr/src/
    rm -rf $pkgname-$pkgver/
    mkdir -p $pkgname-$pkgver/
    cp -r $startdir/src/$pkgname-$pkgver/* $pkgname-$pkgver/
    rm -f vdr
    ln -s $pkgname-$pkgver vdr
    Thanks for your answers 
    Greetings
    Flasher

    You need to use the backup field.
    List the config files you don't want pacman to overwrite:
    backup=(etc/vdr/configfile1 etc/vdr/configfile2)
    And do not put the leading /  because it won't work.

  • [SOLVED] All input devices off through synaptics config file

    Hello guys,
    It seems that while I was experimenting with synaptics configuration file (/etc/X11/xorg.conf.d/10-synaptics.conf) I turned all input devices off, and as you may assume I can't change this.
    Is there a way to fix this issue?
    I was trying to use an live CD and change the config files but I realized that are read-only files.
    Thank you very much in advance.
    Einkilink
    Last edited by Einkilink (2012-10-18 15:11:58)

    Thank you for your answer WonderWoofy,
    I tried to switch to a tty but it is not possible, it seems to me that the keyboard is not even active as well as the touchpad or connected usb mouse's.
    Is there a way to start Arch directly without X, maybe modifying something at the GRUB sequence or during loading of the services an so son?
    How can I do it?
    Thank you.
    Einkilink

  • Please ensure that the applicationhost.config file is correct and recommit the last configuration changes made

    I am receiving event ID 5189 on Server 2008 R2, IIS 7.5.  I experience this error across a number of servers, each of which is running only the default web site, but have 600+ applications running on the default web site.  Each application
    has its own application pool.  My point is, the applicationhost.config is rather large.
    I have seen a number of posts on this error message, but my issue itself seems to differ somewhat.  I am aware of a similar post: http://social.technet.microsoft.com/Forums/en-US/3128ee93-1319-4cc2-9257-003512caf476/event-id-5189-microsoftwindowswas?forum=exchangesvrgeneral
    which points to KB http://technet.microsoft.com/en-us/library/cc734988%28v=ws.10%29.aspx
    However, in my case, it doesn't seem that the extreme measures for this resolution are required.  The error usually indicates a corrupted applicationhost.config that must be manually fixed, or otherwise the WAS service needs to be restarted, or the
    server itself, etc.
    In my case, the issue can usually be fixed by an application pool recycle, or at worst a stop/start.  I have an application which is sensitive to recycles, and so we do not have periodic recycle events configured for this application, which is the bulk
    of the applications on the servers.  It seems to me that this issue is usually caused by the application being in use when there is an applicationhost.config change.
    For instance, we have one application that we deploy using msdeploy.  We found that when we ran an installation for this application via msdeploy, we were receiving this event, and we would subsequently get 500 errors in the application (sometimes the
    application pool corresponds to that which is identified in the event log, sometimes it doesn't).    It seems like applications that were being hit at the time the applicationhost.config was modified by msdeploy were affected.  In an attempt
    to correct this, we moved from msdeploy to a batch file containing appcmd commands.  This also did not resolve the issue.
    I have another application which is installed using PowerShell commandlets.  We started to notice that this script also caused the issue to occur on occasion.  As I continued to identify different processes that resulted in the same issue, I came
    to the conclusion that this is likely due to any change in the applicationhost.config.  I assume the issue is that the applicationhost.config is modified during a read operation to the file by the application pool, or WAS service, and that the recycle
    event, which corrects the issue, forces a re-read of the applicationhost.config, resolving the bad-read issue.
    Has anyone else experienced this, or do you have any recommendations?  My current work-around is to not install any applications during peak hours, and performing an IISRESET after installs are completed, to ensure application stability.
    Message              : The Windows Process Activation Service failed to generate an application pool config file for application pool 'myAppPool'. The error type is '7'. To resolve this issue,
    please ensure that the applicationhost.config file is correct and recommit the last configuration changes made. The data field contains the error number.
    Id                   : 5189
    Version              : 0
    Qualifiers           : 49152
    Level                : 2
    Task                 : 0
    Opcode               : 0
    Keywords             : 36028797018963968
    RecordId             : 324108
    ProviderName         : Microsoft-Windows-WAS
    ProviderId           : 524b5d04-133c-4a62-8362-64e8edb9ce40
    LogName              : System
    ProcessId            : 0
    ThreadId             : 0
    MachineName          : MyComputer
    TimeCreated          : 3/3/2014 9:03:24 PM
    ContainerLog         : system
    MatchedQueryIds      : {}
    Bookmark             : System.Diagnostics.Eventing.Reader.EventBookmark
    LevelDisplayName     : Error
    KeywordsDisplayNames : {Classic}
    Properties           : {System.Diagnostics.Eventing.Reader.EventProperty, System.Diagnostics.Eventing.Reader.EventProperty, System.Diagnostics.Eventing.Reader.EventProperty}

    As an update to this issue, after doing some research, it appears the behavior is related to a new feature in IIS7 called Application Pool Isolation (http://technet.microsoft.com/en-us/library/dd163536.aspx).
    This new feature prevents cross-application spillage by isolating the configuration for each application pool in IIS.  So in reality, an application pool never actually reads the applicationhost.config - that is just a master file, and each time it
    is update, it triggers a change to the individual application pool configuration files, located in C:\inetpub\temp\apppools.
    We did try setting Advanced Settings > Disable Recycling for Configuration Change to true, but after an IIS reset we were still able to reproduce the issue - worse actually, because in our test program, which continually hits the web
    service, and also continually makes apphost.config changes, when the two events collide, the 500.19 issue precipitates; but after an additional change to the apphost.config, it seems that the additional changes will actually correct the issue (seemingly forcing
    another recycle, which is also how we resolve the issue manually); after making this setting adjustment, once the 500.19 issue precipitates, additional changes to the apphost.config does not correct the problem, only a manual recycle corrects it.  This
    is the recycling.disallowRotationOnConfigChange property of the app pool.  We also set the setting for recycling.disallowOverlappingRotation to True as well, with the same result.
    We ARE able to prevent this issue by setting the C:\inetpub\temp\apppools\myapppool\myapppool.config to read-only, but for obvious reasons, this is not a desired work-around.
    It seems like what is happening is that any change to the ApplicationHost.config is resulting in each of the C:\inetpub\temp\apppools temp application pool config files being updated as well, in addition to triggering an application pool recycle.  It
    seems to me the desired behavior would be that these files are only updated if the applicationhost.config changes are specific to that application pool - but that doesn't seem to be the behavior.
    After turning on failed request tracing, I was able to narrow the error down more:
    ModuleName
    AnonymousAuthenticationModule
    Notification
    2
    HttpStatus
    500
    HttpReason
    Internal Server Error
    HttpSubStatus
    19
    ErrorCode
    2147942413
    ConfigExceptionInfo
    \\?\C:\inetpub\application\application\web.config ( 9) :Failed to decrypt attribute 'password'
    Notification
    AUTHENTICATE_REQUEST
    ErrorCode
    The data is invalid. (0x8007000d)
    This seems to be pretty static.  Trying to look into possible causes of this issue.

  • Changing the Crystal Report dependency from 10.2 to 11.5 using config file

    Hi,
    We have an windows application in .net 2.0, which refers to Crystal Report 10.2 version. Now the dependency was being upgraded to 11.5. But we do not have the exact source code for the executable to change the dependency from 10.2 to 11.5.
    I have installed the CR 11.5 to the testing machine and tried to open the appilcation. it failed saying CR 10.2 dlls were missing
    Then  I changed the .net config files to change the dependency assembly as follows
    <runtime>
         <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
           <dependentAssembly>
             <assemblyIdentity name="CrystalDecisions.CrystalReports.Engine" publicKeyToken="692fbea5521e1304" culture="neutral" />
             <bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
           </dependentAssembly>
           <dependentAssembly>
             <assemblyIdentity name="CrystalDecisions.ReportSource" publicKeyToken="692fbea5521e1304" culture="neutral" />
          <bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
           </dependentAssembly>
           <dependentAssembly>
             <assemblyIdentity name="CrystalDecisions.Shared" publicKeyToken="692fbea5521e1304" culture="neutral" />
          <bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
           </dependentAssembly>
           <dependentAssembly>
             <assemblyIdentity name="CrystalDecisions.Windows.Forms" publicKeyToken="692fbea5521e1304" culture="neutral" />
          <bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
           </dependentAssembly>
          </assemblyBinding>
      </runtime>
    Now the application launched with out any issues. I thought the problem was sorted out.
    But when I tried to generate the report, there comes the problem
    During the report generation, I am getting the following error
    Crystal Reports
    An error has occurred while attempting to load the Crystal Reports runtime.
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.
    OK  
    I do not want to install the 10.2 redistributable in teh machine also do not want to re-compile the sources changing the dependency
    Is there any way to achieve this ?
    Any help is much appreciated.
    Thanks
    Edited by: Balaji Narasimhan on Aug 3, 2009 5:28 PM

    No way that I know of. I believe once you change the dependency, you will have to recompile the project. Installing CR 10.2, may get this to work, but the app will most likely use the 10.2 references. Let's see if anyone else has any ideas.
    Ludek

  • Trying to dynamically load CSS for project at compile time via config XML file to select CSS file.

    I'm using the same code base to compile different versions of a project. Each project has different base fonts. I've created multiple css files that use the same style names. The idea being that in the code I reference the style names, then the loaded CSS determines which font (and size, color, etc) is used for each style name.
    The CSS files are compiling to SWFs, and those SWFs are referenced in config.xml files. Before compiling, I select the config file to use.
    I am loading the CSS SWF files via the StyleManager in the Application.mxml, like so:
      styleManager.loadStyleDeclarations( _contentData.elements( 'cssPath' ).@path )
    The path traces out correctly as:
    assets_embed/styles/project2.swf
    For some reasone I must include an fx:Style line in the Application.mxml file or no fonts are recognized. Example:
      <fx:Style source="assets_embed/styles/project1.css"/>
    If I reference the css for project one (as done above) then most, but not all, styles work. Some styles reference the fonts from the project 1 css, others properly use fonts from project 2 swf. If I point to the CSS for the project I'm compiling in the <fx:Style > tag then all fonts work, but that defeats the goal of using XML rather than code to identify the styles.
    So, why do I need the fx:Style line if the css is being loaded via StyleManager?
    Why is there "cross talk" between style definitions?
    Is there a better way to select styles at compile time?

    I read this quickly so I might have missed a detail.  I think your describing an issue with recent Flex releases that is described in the fine print somewhere.  If you don't have any fonts embedded in the main app and are only bringing in fonts embedded in CSS SWFs, you have to force-link the EmbeddedFontRegistry by adding something like this to the main app's script block.
    import mx.core.EmbeddedFontRegistry; EmbeddedFontRegistry;
    (Yes, "EmbeddedFontRegistry" is in there twice, once to define the fully qualified name, the other to create a class dependency to force the linking).

Maybe you are looking for