For projects I've been on we've had different configuration files with the proper values (think the Data Services config files).
We would have an ant script that would switch the config files before compiling the app. Then we would switch them back afterwards to be back in development mode. Brandon On Tue, Apr 8, 2008 at 5:24 PM, Cameron Childress <[EMAIL PROTECTED]> wrote: > What strategies are people using for keeping development vs production > URLs and such separate in AIR apps? I have been using 127.0.0.1 for > development but now need to export a release build and don't really > want to be swapping variable values and the like around. This is an > AIR app so I am assuming that I can't just use > "http://{server.name}:{server.port}/flex2gateway/" cause it won't be > loaded from a URL every time... Or can I? > > Ideas I've had so far are looking around for some custom ANT scripts > or maybe there is some sort of a build flag I can pass into > FlexBuilder's builder? If it matters, all the endpoints and things > that might change are all in the ModelLocator. > > -Cameron > > -- > Cameron Childress > Sumo Consulting Inc > http://www.sumoc.com > --- > cell: 678.637.5072 > aim: cameroncf > email: [EMAIL PROTECTED] > > > ------------------------------------------------------------- > To unsubscribe from this list, simply email the list with unsubscribe in > the subject line > > For more info, see http://www.affug.com > Archive @ http://www.mail-archive.com/discussion%40affug.com/ > List hosted by http://www.fusionlink.com > ------------------------------------------------------------- > > > ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
