amtrack / force-dev-tool

[DEPRECATED] Command line tool supporting the Force.com development lifecycle
MIT License
108 stars 37 forks source link

Missing meta-xml files #122

Closed lodossDev closed 6 years ago

lodossDev commented 6 years ago

log:

Error completing missing metadata: classes/ContactHandler.cls Error completing missing metadata: classes/ContactHandler.cls-meta.xml Error completing missing metadata: classes/LeadContacts.cls Error completing missing metadata: classes/LeadContacts.cls-meta.xml

I am getting these errors on ApexClasses and some have missing meta.xml files?

amtrack commented 6 years ago

Can you please provide the command you used to generate the changeset?

amtrack commented 6 years ago

@lodossDev Are you having the metadata located in the src directory or somewhere else?

Please see my answer in #124 , this might be related to your issue.

lodossDev commented 6 years ago

This is the command I am using:

git diff %sf.post_branch% %sf.target_branch% -- src/ | force-dev-tool changeset create package_build

I have specified to only check src directory for diff and now it works.

amtrack commented 6 years ago

I see. Are there any other directories in your repository which are named src. I'm wondering why force-dev-tool is getting confused.