You need to sign in to do that
Don't have an account?
Errors coming while deploying using ANT Tool.....
I am trying to deploy a package from Sandbox to Production. In Production already some Apex classes(Say LoanTriggerTester,SavingsTriggerTester) are existing.
I am getting the following errors when I am trying to deploy it..
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11">
C:\salesforce_ant\sample\build.xml:53: Failures:
Test failure, method: LoanTriggerTester.testLoanTransaction_BeforeInsert_AllInte
restPayment -- System.Exception: Assertion Failed: Expected: -8, Actual: null st
ack Class.LoanTriggerTester.testLoanTransaction_BeforeInsert_AllInterestPayment:
line 134, column 9
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11">
Test failure, method: SavingsTriggerTester.Contact_CascadeAccountToSavings -- Sy
stem.Exception: Assertion Failed: Expected: 0013000000NAPVeAAP, Actual: null sta
ck Class.SavingsTriggerTester.Contact_CascadeAccountToSavings: line 26, column 9
When I tried to deploy this package in my developer instance. It got deployed without any errors.
The Classes existing in Production is not required now.Even I tried to delete it through ANT Tool (Salesforce Migration tool)itself.
Then also its showing the same errors.
Once you are sure that existing classes are working fine, you may delete them or go ahead with your deployment.
Cheers,
V.R.
When I am trying to delete it also its showing the same error. Is there any way to delete those classes without using Ant tool?
Message Edited by Rachna on 01-07-2009 12:07 AM