With Flex apps, I have had to do this. I had a ANT build with production and development targets. The production target pointed mxmlc to a different services-config then development. Info in these files is baked into the swf. Note it is possible to code around this manually, but that's extra work! heh
DK On Wed, Apr 9, 2008 at 10:40 AM, Cameron Childress <[EMAIL PROTECTED]> wrote: > Are you talking about the services-config.xml and other server side > data services config files? Are these parsed when creating an AIR > release build? > > Maybe I should just RTFM. ;) > > -Cameron > > On Tue, Apr 8, 2008 at 5:28 PM, Brandon Alexander <[EMAIL PROTECTED]> > wrote: > > 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 FusionLink > > ------------------------------------------------------------- > > > > -- > 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 > ------------------------------------------------------------- > > > -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? ------------------------------------------------------------- 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 -------------------------------------------------------------
