What I generally do is not use a "Working Folder" on the server. I use the "Live" folder for everything.
Is there any specific reason you need a "Working Folder"? If this is new code, don't you need new ValueObjects? If this is existing code and you need to add new properties to a ValueObject, (I don't know if ColdFusion does, but PHP does) you can subclass the existing ValueObject and add properties to the new class. Either way, there is a new ValueObject class that will not affect existing code. --- In flexcoders@yahoogroups.com, "Tracy Spratt" <tr...@...> wrote: > > I have not used Remote object enough to be an authority on your specific > issue, but that looks like a package path and typically package paths are > relative, starting at the project root, (in my setups, this is "src") , so > the deployment location is never an issue. Are yo sure you need to specify > "MyworkingFolder"? > > > > Tracy Spratt, > > Lariat Services, development services available > > _____ > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of Ivan Wang > Sent: Saturday, March 13, 2010 7:46 PM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] Automatically update ValueObjects... > > > > > > But In what case do you have to change a package name? If you really did, > the Flex Builder has some refactor feature, but not too much. You can try > it, I'm not sure. > > > > > > ----- Original Message ----- > > From: Laurence <mailto:lmacne...@...> > > To: flexcod...@yahoogro <mailto:flexcoders@yahoogroups.com> ups.com > > Sent: Saturday, March 13, 2010 6:46 AM > > Subject: [flexcoders] Automatically update ValueObjects... > > > > > > I have several ValueObjects in my app... When I work with them in my test > website, everything's fine. But when I want to export a release build, the > ValueObjects no longer work because the folder-name is different... > > All my VO's have the following type of declaration at the top: > [RemoteClass(alias="MyWorkingFolder.cfcs.vo.MyValueObjectVO")] > > And on the ColdFusion9 side it's: > <cfcomponent output="false" alias="MyWorkingFolder.cfcs.vo.MyValueObjectVO"> > > Thus, when I export the release-build from MyWorkingFolder to MyLiveFolder > (for example) all of the VOs stop working -- they're still looking for > MyWorkingFolder. > > How do I get FlexBuilder to change the names inside the VOs automatically to > match the release-build destination? So far, I've been doing it manually, > but what a pain that is -- my patience is wearing thin, having to manually > update a bunch of damn VOs, then change them back, every time I want to > export a release build... There has to be a better way that I'm just not > aware of... > > Thanks, > Laurence MacNeill > Mableton, Georgia, USA >