You need to sign in to do that
Don't have an account?
softcloud2009
Error on Deploy to Server using Eclipse IDE
All,
I have spent hours trying to deploy my triggers to the production org.
I create a testscript and everything is fine no error.
But when I tried to deploy, I received this error:
Unable to deploy Force.com components.
Reason: ZipException: Zip file must have at least one entry
Can anyone help me to solve this issue?
Also, where can I get a tutorial on deploying using ANT. I think ANT is easier to use than Eclipse.
Thanks.
If you're more comfortable with Apache Ant, the Force.com Migration Tool Guide covers the Ant library in detail:
http://www.salesforce.com/us/developer/docs/daas/index.htm (link)
Hi
did you check your package.xml file
it should be like this
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>ApexClass</name>
</types>
<types>
<members>*</members>
<name>ApexComponent</name>
</types>
<types>
<members>*</members>
<name>ApexPage</name>
</types>
<types>
<members>*</members>
<name>ApexTrigger</name>
</types>
<types>
<members>*</members>
<name>CustomObject</name>
</types>
<types>
<members>*</members>
<name>StaticResource</name>
</types>
<version>15.0</version>
</Package>
make sure that ApexTrigger is available there.
Hope this can help you.
if not please reply back.
Regards,
Mohammed Junaid
Yes you can deploy either you remove all the attribute except the
<types>
<members>*</members>
<name>ApexTrigger</name>
</types>
or second approach will be using eclipse ide.
right click on the Trigger and goto force.com-->Deploy to Server.
in this way you can acheive the Task.