I have a similar problem. However, my issue is not in moving the form from a development environment to a production environment. My challenge is to automatically deploy a form library with my form template to a new site within the same site collection.
Because it is the same site collection, using a server-relative location for my UDC file will not work, since all sites will share the same UDC and point at the same library. I want the form template attached to a specific library in a specific site to have its submit target be the local library.
I do not want to have to manually change the contents of the UDC file since these sites may be provisioned by users.
Any suggestions? Could web services or HTTP submits help me?
At this point, I am contemplating writing .NET code to unpackage the xsn and manually change the target of the data connection. I would really hate to do this though...