When you're ready to release a beta or release version of the package for your application, you will transfer the source code from Source Control into your packaging org. Thankfully, this can also be achieved with the help of the following Ant script target. Note that unlike the deploy
Ant target, this does not attempt to clean the target org!
<target name="deploy.package"> <sf:deploy username="${sf.username}" password="${sf.password}" serverurl="${sf.server}" runAllTests="true" deployRoot="${basedir}/src"/> </target>
The process of updating the packaging org can only be partially automated by running the preceding Ant target, as you still need to log in to the packaging org to add brand new components that are not automatically added through a relationship with components already in the package.
The following is a list of recommended steps to update and confirm that the content of your packaging org matches the content of Source Control:
ant deploy.package
-Dsf.username=packagingusername
-Dsf.password=packagingpasswordpackagingtoken
/src
folder to /src.fromsc
and create a new /src
folder. Then, run the retrieve.package
Ant target as per the command line you used to download files from the packaging org at the beginning of this chapter./src
and /src.fromsc
folders using your favorite file comparison tool. Review differences to determine whether changes exist either in the packaging org or in the Source Control system that do not belong to the application being packaged!18.222.182.66