function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SfDevForceSfDevForce 

Unable to deploy trigger

Hi all,
I have a problem deploying my trigger to production environment.  The trigger does get copied over but all the logic inside the trigger doesn't.  I use Eclipse toolkit api. Please help, thanks.

trigger dupOnCreate on Feed_Staging__c (after insert, after update) {

    <everything in here doesn't get copied over to the production environment>
}
TehNrdTehNrd
I'm not sure if I can help but I do know more details will be needed. Are you deploying from a dev or sandbox account. Is this to UE or EE production instance?
SfDevForceSfDevForce
I'm deploying using Eclipse toolkit.  This is an EE production instance.
TehNrdTehNrd
Might be a silly question but have you purchased the upgrade so that you can deploy Apex to your EE instance.

Also, what version of Elicpse and plugin?


Message Edited by TehNrd on 10-08-2007 04:22 PM

SfDevForceSfDevForce
I have and I able to deploy the Apex class just fine.
TehNrdTehNrd
I think I may have edited my post to late.

If you have the Eclipse plugin that can deploy then I think you have the most recent version as beIieve only one version (the most recent) has that functionality. What version of Eclipse?

This seems like something you will need to log a case with salesforce for.


SfDevForceSfDevForce
The version of Eclipse is 3.2.2.  I believe it might have something to do with the coverage test? 
TehNrdTehNrd
Have you created any test clases?

When you go to Setup>Build>Code and click run all tests what type of coverate stats do you get?
SfDevForceSfDevForce
The test ran fine.  Code coverage total 100%.
cwall_sfdccwall_sfdc
Hey SfDevForce.

Can you send me the toolkit's log containing your deployment transaction?

You can find the log here:
$workspace/.metadata/.plugins/com.appexchange.toolkit/salesforce-toolkit.log.

-Chris
cwall@salesforce.com
SfDevForceSfDevForce
Hi Chris,
 
Thanks for your help.  I figured out what the problem was.  It has something to do with the coverage testing.
 
cwall_sfdccwall_sfdc
Great.

How could the toolkit be more responsive or verbose to let you know what the issue was?

-Chris