You need to sign in to do that
Don't have an account?

Deploying Apex Question
I am not clear on how to deploy Apex from developer to a production org.
Specifically, I am looking at the following documentation....
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_deploying_code.htm
It appears that Apex Classes and triggers must be in a local directory on my machine to use the Ant tool (see understanding CompileAndTest and reference to basedir and the sample directory provided with the Ant download)
Am I supposed to copy them over from developer org to my local hard drive?
I would have thought that somwhere I would provide username/password for my developer org and another username/password for my production org and the system would deploy from developer to production. Seems like I only provide username/password for my production org and the ant tool expects the apex files to be on my local machine...
Specifically, I am looking at the following documentation....
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_deploying_code.htm
It appears that Apex Classes and triggers must be in a local directory on my machine to use the Ant tool (see understanding CompileAndTest and reference to basedir and the sample directory provided with the Ant download)
Am I supposed to copy them over from developer org to my local hard drive?
I would have thought that somwhere I would provide username/password for my developer org and another username/password for my production org and the system would deploy from developer to production. Seems like I only provide username/password for my production org and the ant tool expects the apex files to be on my local machine...
The easiest way is to use the Eclipse toolkit:
http://wiki.apexdevnet.com/index.php/Force.com_Toolkit_for_Eclipse
Build a project and then right click on it and select either Apex/Force.com and then Deploy. You enter the credentials of the org you want to deploy to and then it is a simple wizard.
Message Edited by TehNrd on 01-09-2008 11:26 AM
https://www.salesforce.com/services/Soap/u/10.0
as per the documentation, but it is unable to connect to it.
I am able to synchronize the code though (so connection/firewall isn't an issue)
If you have been able to build a project, what type of org is it (sandbox, dev)?
What error are you getting if any?
I want to move this to an EE org.
When I right click on the project and select apex/deploy to salesforce, Step 1 of 5 (Destination Details) asks for username/password - I enter the EE org username/password. The SOAP endpoint - I entered https://www.salesforce.com/services/Soap/u/10.0 or 11.1, but it says "Unable to create connection with given destination settings"...
- What version of Eclipse.
- What version of Toolkit (Help > Manage Updates > Expand the explorer in the left box, look for either Force.com Toolkit or Apex Toolkit.
- Have you purchased the Apex upgrade for EE?
Sorry I couldn't help more.
I had to upload a package with all custom objects and for some reason, some of the fields referenced in Apex code were left out of the upload....I am working through the issues.
Thanks for your help.
p.s. Salesforce, this is now on page 2, but there is no link to go to page 1. Please add this functionality. I know it is possible because I have seem other boards running on litium that can do this.
i am actually a developer, building a product.
I am deploying it on EE so that i can do demos for prospects. I need to be able to demonstrate 4-5 different roles using the application - developer org only has two users. (My EE account is a test account as well created by Salesforce).
I am wondering if there is any reason I shoud develop on Developer org at all? Or just do my development and prospect demos on the EE org. Of course, EE org license is for limited time...
Where in a dev/sandbox/etc you can build all sorts of triggers with out having to worry if they are covered in tests.
When a real customer that i sell to deploys, I assume it will be a real production org and I will have to provide the 75% coverage.
If you don't know your security token, reset it by going to setup->my personal information->Reset my security token. Your token will be e-mailed to you which you can append.
Hi,
During deployment from dev org to sandbox environment, I appended security token to my sandbox password but still it is not connecting...
"Unable to create connection with given destination settings."
I have rest security token too. Still its not working..