best approach to configuration files

Hello

I am looking for a solution to separate production and development environment for flex settings. So far I couldn't find any solution for this in the Forum entries. If anyone can help with it? It is particularly important for elements of the HTTPService and Service - configuration files, url where the service configuration file can be set via the compiler settings.

Thank you

r. sandor

More than information compilation conditional http://livedocs.adobe.com/flex/3/html/compilers_21.html.

Jason San Jose

Software engineer, Flash Builder

Tags: Flex

Similar Questions

  • Best approach to implement this requirement in IOM

    Hi experts

    We have an application (say App1) in which we use GTC DB connector available to users of the IOM. But due to some limitations in App1, communication must be changed from custom Web services one GTC.

    For this, we have made the following configurations
    1 introduced new mandatory fields to even your process of App1 (in accordance with the REQ.)

    2. clean all adapters GTC in the process of def App1 and attached the webservice of the adapters.

    So, after the introduction of Web services, known issues may be

    1 revoke user fails for existing users, because existing users already configured using conn GTC.
    The reason is, by default if us approval of a user, the task of the user revoking contains newly created adapter for Web services that did not finish the operation by saying that the mandatory values are missing for the fields in the form of process.

    2. the same is the case for users to toggle.

    What would be the best approach to carry out the operations above for existing users who are already configured.

    We are not willing to go to create the new object of resource for the communication of webservices.

    Valuable insights are highly appreciated.

    Hello

    Create a new property with the necessary inputs and change the name of the property file in fvcutil.cmd or fvcutil_.cmd (depends on the appserver).

    It should work now.

    Kind regards
    oimTechie

  • How to write the comma delimited numbers of configuration file

    Hello

    In the attached Configuration File.vi write, I am trying to crush several whole decimal in the keys 1 and 2 of the attachment Test.ini. I am to convert the array of integers in a string. Because of this, the string written in the ini file is now being bracketed by apostrophes. What should I do to write the string without the apostrophes, as in the Test old.ini file?

    I appreciate your help. Thank you.

    Best regards

    Peter

    See here:

    http://forums.NI.com/T5/LabVIEW/configuration-string-keys-in-LabVIEW-2009-changes/m-p/1147371#M50489...

  • Break the Configuration file.

    How to set up and or configure file sever in windows server 2008r2?

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • What is the best export the configuration when you want to place your video on Facebook or youtube

    What is the best export the configuration when you want to place your video on Facebook or youtube

    Hi Robert,.

    Here are the high quality requirements of Facebook: How can I ensure my videos are of high quality. Facebook Help Center | Facebook

    Formats: this video file formats can I upload? Facebook Help Center | Facebook

    YouTube: recommended encoding download - YouTube Help Center settings

    Thank you

    Kevin

  • Best approach to editing on two computers

    I usually use my desktop PC to change my photos, but will be traveling and would like to be able to work on my laptop while traveling.  I wonder what is the best approach.

    As a backdrop, all my photos are in a cloud service (OneDrive in my case) which synchronizes the files in directories identical on desktop or portable.

    I have identified two approaches and would like a recommendation on which is better.

    1. Move the catalog to the cloud synchronized directory structure
      I know that I would need to make sure that I had that catalog open on one machine at a time and which would need to be sure that the synchronization is complete before starting an editing session

    2. Export a catalog of files that I would like to change and the re - import when I finished
      Because the negative files are in the same file structure, I would only export the metadata, not the negative files
      I do my editing and then re - import the catalog to my master catalog when I come back, once again, leaving only negative files.

    Is there a benefit / cost to both approaches?

    Thanks in advance.

    Andy Schlei says:

    1. Move the catalog to the cloud synchronized directory structure
      I know that I would need to make sure that I had that catalog open on one machine at a time and which would need to be sure that the synchronization is complete before starting an editing session

    I'd go with this method providing you are careful with the sync, upload in trip etc.

    Much depends on the frequency at which Exchange you between computers. More frequently, more looking to maintain the catalogue on an external drive. It's convenient when you go between the office and personal computers, but a player allows use more Lr offline, especially if you have generated a lot of intelligent insights. When I travel I use this method, and it replaced your option 2 for me.

    The method of cloud can be fine if you can wait to download sync end after the closure of Lr on the machine and wait synchronization to download complete before the opening of Lr on the other. If you are logged on a trip, and upload speed is good, then you win some backup benefits too.

    Another idea is to use the mobile features if you have a subscription to the CC. Synchronize a collection of Mobile and you can make adjustments to broad brush on tablets or phones, and adjustments will automatically return in your catalog. You can also use Lightroom Web to make some adjustments in a standard browser window, and in all cases, you can generate JPEG files if you need to send them to people.

    There are a variety of approaches and individual circumstances.

  • need urgent help: configuration file of missing dg, dg hung

    I had an incident which dg on db primary configuration files are all gone.

    DGMGRL show configuration appear below:

    DGMGRL > see Configuring

    Configuration - dev

    Protection mode: MaxPerformance
    Databases:
    dev - primary database
    sdev - (*) Physical standby database

    Fast-Start Failover: ENABLED

    The configuration status:
    ORA-16610: activate ' CONFIGURATION ' underway
    DGM-17017: unable to determine the configuration state


    Then, if I try to disable/remove the configuration, it HUNG.

    How to solve this problem?

    Try the command like this:

    activate the "sdev" database

    Show you without the quotes.

    Best regards

    mseberg

  • CMDTUX_CAT:754: ERROR: error parsing of the configuration files

    Hi Tuxedo Experts,
    I have compiled and related sample code Tuxedo client and server (simpapp). According to the README, the next steps is running y tmboot command. It starts smoking simpserv Server? If this is not the case, how can I start that?

    In addition, when I ran this 'tmboot-y' command, I get the error:
    ===========================================
    $ tmboot y

    tmboot: internal error: CMDTUX_CAT:754: ERROR: error parsing of the configuration files



    tmboot: internal error: CMDTUX_CAT:1360: ERROR: configuration file not found
    ===========================================

    Could you please help me with that.

    Thank you and best regards,
    Ahsan Asghar

    Hey Ahsan,

    Well, the error message says tmboot cannot find TUXCONFIG. If the TUXCONFIG environment variable has not been set or the tmloadcf command has not completed successfully to create TUXCONFIG. Whenever you login, you will need to run the tux.env file to set all necessary environment variables. If tmloadcf finishes successfully, it should have printed one or more of the error messages.

    Kind regards
    Todd little
    Chief Architect of Oracle Tuxedo

  • What would be the best approach to store the contents of an application

    Hi all,

    Whereas there are certain restrictions on the University Complutense of MADRID since the limit of files in a folder (max. 1000), that would be the best approach to store the contents of a request, for example? Is it possible to store the content with a logic of separation?

    Kind regards

    Maybe that I miss the question, but I think you are looking for a good definition of the metadata model or same good architecture of content server instances themselves.

    You wrote that you have lots of files from one application (1200 check-ins per day) and you are limited by the recommendation to have maximum 1000 files in a folder. It is a bit of a mix of apples and oranges. Records are a logical representation of file storage, who must somehow match what users a) are used for b) is useful to organizational processes. If it makes no sense in the context of your organization - just don't use them. At the University Complutense of MADRID, he must be. Unlike, the University Complutense of MADRID must always have a metadata model, and if the content search is one of your typical use cases, it is a starting point.

    You mentioned you want to separate an application an application documents X documents Y - that sounds like you have a metadata field called, for example, 'Application', which will contain the appropriate value. Unfortunately, you write more detail, so I'll make my scripts:

    -Imagine you have users who work areas or countries interested only in 'their' data - sounds like a need for one or more fields to represent this type of separation (country - State - City - whatever)
    -now, you might have another group of users who are more focused on the product; They also want to see 'their' data, but this time, the main search criteria are different (product line - product - Version - Batch, etc..)

    At the University Complutense of MADRID, you can serve both groups - you can create research and recording of profiles that meet the needs of these two types of users. It's actually more convenient than using the folders because you can have multiple views on the same repository.

    It is a "but" to this approach and that's if you want to use Desktop Integration after the check in documents from Office applications (Word, Excel). In this case, you will need records.

    However, even, there is a solution that might help: note that, so far, I expect to have a single repository (a single instance of the University Complutense of MADRID) serving all your applications. In theory, you could have a few instances UCM running in the same environment (the same number of licenses CPU, if you want). Therefore, the main criterion will be the name of the server instance of content rather than a metadata field. Another thing to consider if you want your "desktop users" for access to "all files" in the repository. Note that even if you use folders you can have files that are not assigned to any folder.

  • Failed to read the configuration file. New installation on windows 7

    I just downloaded and installed firefox on my windows 7. No error on installation. When I try to launch Firefox I get this dialog box. Configuration - the configuration file cannot be read. Please contact your system

    administrator.

    Note that you must delete the Firefox program folder to do a clean reinstall to remove the file that is trying to access the mozilla.cfg file which probably does not exist.

  • Using an automatic configuration file to create bookmarks

    I use an example provided by Mike Kaply to change my automatic configuration file to add bookmarks to the profiles of the users. However, whenever I run FF, instead of bookmarks should be replaced, I get an extra game. So after 5 revival, I have 5 sets of bookmarks that I added.
    Is there a way to avoid this?
    Here is the code I use:
    Add bookmarks
    Components.utils.Import ("resource://gre/modules/Services.jsm");
    var uri = Services.io.newURI ("http://mike.kaply.com", null, null);
    var navBook = Components.classes["@mozilla.org/browser/nav-bookmarks-service;1"].getService(Components.interfaces.nsINavBookmarksService);
    create new folder
    var FolderId = navBook.createFolder (navBook.bookmarksMenuFolder, "New folder", 0);
    Add bookmark to newly created folder
    navBook.insertBookmark (SCCCFolderId, uri,-1, "Mike's Blog");

    In the end, I had to write code using a loop with an if statement then look for an existing bookmark. Of course it's a little more complicated than that.
    It was not easy, but I am able to do what I have to.

  • 25 Firefox is unable to read the configuration file on new install

    I try to install Firefox 25.0 on a XP - SP3 machine and receive the error "failed to read the Configuration file. Please contact your system administrator. I use a file to mozilla.cfg that I created and that you have applied to previous versions. The mozillia.cfg file has entries Pref lock, which are formatted as follows:

    lockPref ("Network.protocol - handler.external.shell", false);

    I have read discussions on various forums and the recommended fix seems to be a "clean reinstall. This machine has never installed Firefox, so a clean reinstall is not an option.

    As noted by one side this version of Firefox will be not to read the config on any OS file I tried Win7 or XP, I did a clean reinstall on both of these machines with the same results.

    I appreciate your help with this.

    If it helps, here is the content of my mozilla.cfg and local - settings.js.

    C:\Program Files\Mozilla Firefox\mozilla.cfg

    //
    
    lockPref("security.enable_ssl3", true);
    lockPref("security.default_personal_cert", "Ask Every Time");
    lockPref("network.protocol-handler.external.shell", false);
    lockPref("plugin.disable_full_page_plugin_for_types", "PDF, FDF, XFDF, LSL, LSO, LSS, IQY, RQY, XLK, XLS, XLT, POT PPS, PPT, DOS, DOT, WKS, BAT, PS, EPS, WCH, WCM, WBI, WB3, RTF");
    lockPref("browser.formfill.enable", false);
    lockPref("signon.autofillForms", false);
    lockPref("signon.rememberSignons", false);
    lockPref("dom.disable_window_open_feature.status", true);
    lockPref("dom.disable_window_move_resize", true);
    lockPref("security.enable_tls", true);
    lockPref("dom.disable_window_flip", true);
    lockPref("dom.event.contextmenu.enabled", false);
    lockPref("dom.disable_window_status_change", true);
    lockPref("dom.disable_window_open_feature.status", true);
    lockPref("browser.startup.homepage", "http://intentionally removed");
    lockPref("app.update.enable", false);
    lockPref("extensions.update.enabled", false);
    lockPref("browser.search.update", false);

    C:\Program Files\Mozilla Firefox\defaults\pref\local-settings.js

    pref("general.config.obscure_value", 0);
    pref("general.config.filename", "mozilla.cfg");
    
  • Firefox does not open, but is rather the error message "Unable to read the configuration file." He has worked in the past, but not now.

    Firefox does not open, but is rather the error message "Unable to read the configuration file." He has worked in the past, but not now.

    I REINSTALL 10 TIMES SO DON'T TELL ME THAT!
    I'm piss because I need firefox work again, so I can finish my reseaching in 5 days.


  • FieldPoint configuration file

    Recently, I transfer my Labview file to a new computer. My set up has the following features, FP-1000F P-RTD-122 and FP - RLY-422. I installed the latest driver of the Fieldpoint, however, when I try to run my file. It says "cannot locate the file of Configuration Fieldpoint" iak.  . I tried to find my devices using MAX, but I couldn't. I am new to Labview, I was using an exsisting implemented. It worked fine until a few days ago.   I started having problems when I start to use the new computer.

    can someone suggest a way more to come my problem. How do I create a configuration file?

    Thank you

    In the previous configuration, it is possible that the channel names have been changed to something else.  So instead of something like Channel 0, you may have renamed to TempOil, (for example)?

    What is the name of the tag that is used to read from FP in any part of your code is causing the error?  If it matches a valid name in MAX.   You may need to rename the channel in the area of data to the MAX to match.  Even if you do not, it may be a good idea to go through your label constants or controls and rebrowse to the channels again.

  • Disabling update the configuration file without stopping the VI

    I would like to perform a function that when the new modules are added in the existing system of the public Service or hot swapping modules autour, the VI can update its configuration file. I don't want the VI to stop we will collect data 24/7.

    I use cFP2220 and two or three modules of different types. I have my work VI and it is fairly straightforward FP read.vi in a time loop. All data are stored in the database using the Labview database tool. My screws are hosted on the local PC, not on the controller. I'm using Labview 8.6.

    I guess I have to get the file configuration (iak), whenever new modules are added, the iak file can be changed (without MAX aperture). In any case, I would have the flexibility to run the VI continuous. I know there is a similar code here: http://zone.ni.com/devzone/cda/epd/p/id/3221and they get the configuration file in the ini file. But I don't know how it's done as I can save only the configuration file as a file iak for FP system.

    Another potential problem associated with that, I guess, is the database format. For now, I use a three column structure, i.e., DateStamp, value and ChannelID. In this case, if I want to add/remove/swap channels, I can just change the ID of the corresponding channel. What happens if I have a horizontal arrangement of the database, namely 10 columns corresponding to 10 sensors, would he be in trouble if I change channels modules?

    Thank you very much.

    There is a way to change the module and programmatically updated the IAK file without stopping the VI.  You will need to change the FP read.vi front right by with the constant e/s FieldPoint.  You will need to use the Open FP, FP create Tag, read FP, and close to the public Service.  The trick to this is that you must pre-create files IAK in MAX first.  The way to do is to set up your cart in a configuration and then find devices to MAX.  Then save the iak.  Then reorganize your bottom of basket to the next setting would have desired, then have MAX find devices and who save in a file different iak.  You will need to do this for each configuration you have.  Then, you need to place the code below when you want to Ministry the configuration file.  I have also included a screenshot of MAX that you can see what the strings are correlated with.

Maybe you are looking for