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 
  To: [email protected] 
  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



  

Reply via email to