How to have Multiple Configurations for a Flex Application

Hi All,
I've seen this question asked in various forms multiple times, but never answered: How do you set up a FLEX configuration to have different configurations for development (local), test server, staging server, beta server, and production server? I cannot imagine that Adobe has not accounted for this, something that is very standard in most development teams. Zend Framework has a very elegant solution for this: in the configuration file you define all aspects that can be configured, as well as the various environments (development, staging, beta, live, etc.). Then, in the bootstrap file you specify which environment you want to work in, and you're all set.
How can something like this be achieved in FLEX?
Many thanks!
-Mike

Maybe my setup is unconventional, I doubt it, though:
1) SVN repo stores FLEX and PHP codebases in separate projects.
2) Developer gets code from repo, and runs on local machine. -> need to configure FLEX to point to local PHP code here for Remote Objects.
3) Developer then publishes Flex app to staging server. -> need to configure FLEX to point to staging PHP code here.
4) Flex app then gets published to live server. -> need to configure FLEX to point to live PHP code here.
Now, using ANT, the scenario would look like this:
1) SVN repo stores FLEX and PHP codebases in separate projects.
2) Developer gets code from repo, and runs on local machine. -> need to configure FLEX to point to local PHP code here for Remote Objects.
3) Code is good and developer checks it back into SVN.
4) ANT extracts latest build from SVN and builds it, then publishes to staging server. -> need to configure FLEX to point to staging PHP code.
I am using PHPUnderControl as my build server for PHP.
I am also unclear as to how my goal could be achieved using ANT?
Thanks!
Mike

Similar Messages

  • How to have multiple orders for a single contract

    Hi all, my question is:
    How to have multiple orders with respect to a contract which is valid for many years? The orders are given periodically over the lifetime of the contract. Once the order is given, the order quantity needs to be confirmed and then the order needs to be billed.
    Thanks in advance.

    Hi Bappaditya,
    To get multiple orders from a contract, you can either create an order as a follow up document from the contract
    Or
    Maintain the contract determination settings.
    In such a case, everytime you create an order the contract determination happens, for the particular business partner and product.
    For this to happen you need to maintain the customizing settings:
    1. Copy Control between contract and order
    2. Contract determination setting in the order transaction type
    The qunatity confirmation can be done by standard setting at itme category level.i.e. If the quantity is more than that stated in the contract an error is raised.
    For billing of order you will have to maintain the billing setings like billing type, biliing item category, billing item determination.
    Hence every time your order is created it comes in the billind due list from where you can create the blling document.
    Wish the information is helpful.
    Regards,
    Shalini Chauhan

  • How to have multiple inputs for a Pic Ring?

    Alright, I've got this program in which there is a pic ring with multiple pictures on a tab page on the Front Panel. And on the Block Diagram the Pic Ring receives a number through a numeric indicator. There are multiple boolean variables set up and depending on which one is true that dictates which number the indicator pushes on to the Pic Ring. However, I can only connect one boolean up to the indicator at a time. If I connect mutliple wires to the indicator the wires become broken immediately. I have a screen shot depicting the setup in the Block Diagram.
    Anyway, my question is basically how to setup a numeric indicator for a Pic Ring to have multiple inputs?
    Attachments:
    PicRing Multiple Inputs.jpg ‏319 KB

    Shogun,
    You will probably need some sort of case structure to determine your input.
    It looks to me like you are searching a common string for whether it contains Valve1, Valve2, Valve3 and so on.  Depending on which one it finds you are outputting that picture.  I would need more information as to what exactly you were doing, but I might look in the string for "Valve" then a number and feed that output into a case structure.  For instance if you find Valve3 in the string you send the input corresponding to Valve3 into the picture ring
    Matt J
    Professional Googler and Kudo Addict
    National Instruments

  • How I have multiple KPIs for the same measure?

    Hi there,
    I am finishing up a PowerPivot data model which gathers information from a service desk system, and different customers have different SLA targets.
    I know I can specify a KPI for each measure that I create. However is there a way to specify multiple KPIs the same measure, or any other way/workaround that can meet the requirement outlined above?
    Thanks in advance for the help.
    Regards,
    P.

    Hi pmdci,
    According to your description, you want to specify different target for different customer when creating KPI based on same measure. Right?
    In PowerPivot, when we create a KPI, we can only specify calculated field or absolute value as target. We can't put any expression or function to specify a dynamic value as target value. Based on my knowledge, this requirement can be achieved in Reporting
    Services. We just  need to create a Variable and use Switch() function in expression to set specific values for different users. In this scenario, it seems can't be achieved in PowerPivot currently. I suggest you post this thread on PowerPivot forum:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlkjpowerpivotforexcel
    You may get some more effective advice there.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How to use different configurations for KDE Plasma?

    I typically use my laptop in two ways: single monitor and dual monitor. I like to have in the two cases two different sets of widgets and plasmoids, so I wonder if it's possible to have multiple configurations for Plasma and load the desired one when needed. I searched around for a solutio but didn't find anything.
    Right now, I'm using a rather awkward method: I have two sets of Plasma configuration files for single and dual monitor setup (ie., plasma-desktop-appletsrc-single and plasma-desktop-appletsrc-dual) and two startx scripts which, before starting KDE, copy the single or dual monitor configuration on the standard Plasma config file (cp $HOME/.kde4/share/config/plasma-desktop-appletsrc-dual $HOME/.kde4/share/config/plasma-desktop-appletsrc). I'm sure there are better ways to have a dynamical Plasma configuration, since my zero-order solution has many drawbacks, for example I loose the modifications I make on my desktop (since Plasma saves them on plasma-desktop-appletsrc which is overwritten at next startup).
    Can anyone please help me? Thanks.

    For such a purpose KDE Plasma provides Activities. Here you can find more about that:
    http://userbase.kde.org/Plasma#Activities
    There is also a nice plasmoid for easy Activity managing:
    http://kde-look.org/content/show.php/Ac … ent=136278
    I hope, this helps you...

  • Designing for Flash/Flex application

    Hello,
    I'm trying to create multiple themes for a flex application. It seems as though Flash is the best way to do that given the workflow. I'm looking for a Flex/Flash template within flash. I'd like to take the .Fla and edit it and export the .swc. I swear there was a folder in Flash with templates for this process. Can anyone tell me where those templates are?
    Also, does this workflow make sense, when trying to update the look and feel every few months? I can use PS for example, but I'd like to avoid bitmaps where I can.
    I'm using CS5 on a mac.
    Thanks

    You should definitely check out some online tutorials on design in FB4.5, such as Lee Brimelow's tutorials on "blitting" and skins/styles in Flex ("Intro to Flex: Part 3"):
    http://www.gotoandlearn.com/
    Also, the "Change the appearance of your application" videos on the Flash Builder "Test Drive" site:
    http://www.adobe.com/devnet/flex/testdrive.html
    Good luck!

  • How to have multiple windows of same app under JSF 1.1

    I know this has been addressed in JSF 1.2, but does anyone have a good solution in JSF 1.1 concerning how to allow multiple application instances to be opened in different browser windows at the same time? I work for a large financial services company and we have multiple instances of the same application up when working with more than one customer or account at the same time.
    We�ve figured out a way to use a custom variable resolver and property resolver to provide an application instance scope that works with managed beans; however, we are struggling with how to handle the JSF component tree. We can replace the StateManager or ViewManager, but we will be running under a vendor implementation of JSF and do not want to outright replace their implementation. We wanted to simply define our own manager, decorate the viewId with additional information, and then pass it on to the default manager. The big issue is that while the restoreView methods take the viewId, the writeState methods do not. This seems like a pretty big show stopper to us. If we have to wait until JSF 1.2, it will be a long wait. Any ideas?
    Thanks.

    The way I'm thinking of doing this is to use nested beans. So for example, I'd have an "AccountBean" written as a JSF managed bean, but this is not what I'd declare in faces-config. Instead, I'd have an "AccountMgr":
    <managed-bean>
    <managed-bean-name>acctMgr</managed-bean-name>
    <managed-bean-class>AccountManager</managed-bean-class>
    </managed-bean>AccountManager would have a map of AccountBean objects. In my pages, I'd reference the acctMgr:
    #{acctMgr.accts[acctEditor.acctId].firstName}If anyone has a better idea, I'd love to hear about it.

  • How to print multiple footers for each page in RTF template xml report.

    Hi,
    How to print multiple footers for each page in RTF template xml report.
    i am able to print ( two sets ) ...
    up to last page ( one template ) and for last page ( another template).
    i want to change the footer information based on the group value printed in the report ( it might be 5 to 6) In every report run.. can you please check and let me know do we have any feasibility to achieve this.
    Thanks in advance.
    Regards,
    KAP.

    You can remove all other logic, like last page only contents (start@last-page:body), etc and section breaks if any you have inserted manually.
    Just have for-each@section logic.
    It would be difficult for me to guess what you have done without looking at your RTF or describing here.

  • Can you have multiple users for one account?

    Can you have multiple users for one account? if so how do you set it up.
    We are using it for our department and it would be great to see who created what form instead of it being all one name.

    Each person should have their own account. You can easily share the forms with other people in your department. You will be able to see who the author of the form is.
    More information on how to share :
    http://forums.adobe.com/docs/DOC-2462
    Information on how to copy a forms to a different account :
    http://forums.adobe.com/docs/DOC-1390
    Hope this helps
    Gen

  • How to have multiple images on the same screen? like in the movies where you see several actions at

    how to have multiple images on the same screen? like in the movies where you see several actions at the same time ....
    i don't find  a tutorial in adobe tv....
    thanks !!

    The short answer is that you'll put the source clip(s) for each inset on a different video track, all stacked up. Then use the Scale and Position effects (under "Motion" on the Effect Controls panel) to reduce their size and place them where you want.
    If the content of an inset will involve edited content (where you're cutting among various clips or just trimming out unwanted content from a single clip), then you'll probably find it easier to do all those edits in one sequence, then nest that sequence in the master sequence, where you apply the Scale and Positioning effects. That will save the step of applying the scale and position effects to each edited track item.

  • Can we have multiple transports for the same object.

    Hi guys,
    Can we have multiple transports for same object in dev system. Can anyone tell me how can this be done.
    Thanks

    Its not possible for the same development object. Only 1 person can access an object at a time and if mutiple users modify an object new TASKs are created under the same TRANSPORT.
    Only after releasing the tr you can create a new tr on the same object.
    Message was edited by:
            Abhishek Jolly

  • How to lock multiple user for a transcation code at same time is der any tc

    how to lock multiple user for a transcation code at same time is der any tc
    suppose i hav 15 user and i want to lock 10 user for mm02 who can i to it

    Basis can do a export and import transport, still if don't have connection between boxes.
    or
    check this
    http://www.sap-basis-abap.com/abap/copy-program-variants-from-one-to-another.htm

  • I have multiple lines for family members on my account. Can I still transfer upgrades between lines? I don't see the option any more.

    I have multiple lines for family members on my account. Can I still transfer upgrades between lines? I don't see the option any more.

    More everything. I have one line coming up on the 19th of this month and I'd like to transfer to another user with a later upgrade date. Just not seeing the option anywhere.

  • Can we have multiple policies for the same gateway?

    Hi all,
    Is there a way in which we can have multiple policies for the default gateway?
    When I try adding a new gateway (which is not mentioned in the installer.properties file) and have policies, there is a 404 error.
    When I add another service to the same gateway, I get an error - that the service could not be added to default policy.
    Help me please...
    My need is as follows
    Want to have multiple policies, so that each of the web-service can be attached to same. The relation needs to be one-to-many. One policy can have multiple web-services.
    Thanks in advance...

    Its not possible for the same development object. Only 1 person can access an object at a time and if mutiple users modify an object new TASKs are created under the same TRANSPORT.
    Only after releasing the tr you can create a new tr on the same object.
    Message was edited by:
            Abhishek Jolly

  • How to have Secure Connection for File Adapter.Pls help

    Hi All,
    For File to File Scenario
    How to have Secure Connection for File Adapter.
    Pls send links/blogs explaining this scenario.
    Regards

    hi rich
    go through these links
    FTPs connection failed - error ".. certificate rejected by ChainVerifier"
    Re: What is SFTP, FTI channels
    http://help.sap.com/saphelp_erp2005/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
    FTPS implementation question.
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/0e16bfd7b021aee10000000a1553f6/frameset.htm
    Server certificate rejected by ChainVerifier:FTPS server(Points Guaranteed)
    /people/krishna.moorthyp/blog/2007/07/31/sftp-vs-ftps-in-sap-pi
    File adapter
    thanks
    Kunaal

Maybe you are looking for

  • 12 hours and still can't get the Aiport Extreme setup

    Since yesterday I've been trying to setup a new AirportExtreme. You know you're in trouble when you can get a Netgear router setup in 3 minutes, but an Apple product has taken 12 hours and counting. From my ISP I know that I should use DHCP, and that

  • Factory Finder failure and _tmmsgrcv() SEGV

    Hello, we have a rather strange problem with WLE 5.1. One type of process, QD, occasionally experiences a SEGV inside _tmmsgrcv(). The SEGV is usually preceeded by a failure from the factory finder. QD is a process that converts /Q messages into Crob

  • How to password protect non .mac web site

    does anyone have step-by-step directions on how to make my web page password protected on a non .mac web space? for example, http://www.yoursite.net/~userid My internet service provider does not support web page creation, they just provide the space.

  • Trying to debug my application

    Hi, When I'm looking in my log file, I see a line like this: 07/03/19 16:32:25 [2897] Reusing a cached session application module instance Sometimes I see this line 4 times I'm looking to find which class log this line in the debug file. Any one has

  • Issue in using radio button in module pool

    For same field I need 2 different search help. Based on radio button on screen I need company codeu2019s from different table. Issue is, at execution radio button remains blank. Radio button works only when I use them in PAI under CASE SY-UCOMM. WHEN