You need to sign in to do that
Don't have an account?
Raj R.
How does Force.com Ant migration tool know which class or trigger to upload based on last edit?
Hi,
I am new ant migration tool. I am able to retrieve my desired triggers and classes perfectly fine. Lets say I make an update to only 1 out of 10 triggers and 2 our 15 classes in my codepkg folder. Does the Ant migration tool know which one it needs to update or will it update all 10 triggers and 15 classes because they are in my codepkg folder?
How does the Ant migration tool know which triggers and classes to update? Is there a particular command that I can use that specifies which ones to only update on the server? Also, if I update both the trigger and the trigger's metadata (xml) file, will that also be updated on the server?
I am new ant migration tool. I am able to retrieve my desired triggers and classes perfectly fine. Lets say I make an update to only 1 out of 10 triggers and 2 our 15 classes in my codepkg folder. Does the Ant migration tool know which one it needs to update or will it update all 10 triggers and 15 classes because they are in my codepkg folder?
How does the Ant migration tool know which triggers and classes to update? Is there a particular command that I can use that specifies which ones to only update on the server? Also, if I update both the trigger and the trigger's metadata (xml) file, will that also be updated on the server?
We can specify only those components which need to be migrated.
You can deploy any set of components as a package or into your organization directly in the unpackaged package. The package used is not determined by the build.xml target, but by the project manifest (package.xml). A sample deployment target follows:
<target name="deployUnpackaged">
<sf:deploy
username="${sf.username}"
password="${sf.password}"
serverurl="${sf.serverurl}"
deployroot="projectFolder"/>
</target>
See more informaton in the link below,
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_deploying_ant.htm
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_deploying_ant_deploy.htm
http://www.salesforce.com/us/developer/docs/daas/index.htm
Regards,
Ashish