SalesforceFoundation/Households — pull request #44 by jlantz (2014-03-30 21:45:53+00:00)
Title: Import metadata from packaging org

This branch also configures the same ant build targets we use in Cumulus which allowed the use of retrievePackaged and updatePackageXml to load the changes into the repository. The src directory should match what actually exists in the packaging org.

If you need to pull changes made in the packaging org into Github, you need to setup a build.properties file in the root of your local repository with the credentials for the packaging org, then run the following two commands from the root of your local repository:

ant retrievePackaged
ant updatePackageXml
rm -rf src
mv packaged src

Then, review the changes git noticed on the filesystem to ensure the code pulled down correctly and commit the changes.

Note that this does flip the package to using package mode (via the fullName attribute in package.xml) in your DE org. The easiest way to switch over is creating a new DE org, creating a package named "Households", then build a new project in Force IDE with metadata from the "Households" package in your org.