When try to retrive metadata then additional files was created
Issue #812
resolved
After 'retrieve metadata' command finished then in the project explorer i see several unexpected files (as example one of them ...\IdeaProjects\Project\src\classes\ForgotPasswordController.cls-meta.xml.cls). And I need to delete they manually then.
Comments (7)
-
repo owner -
reporter Thanks. I will try to debug deployment. Because I always use the "selected" subscription.
This unexpected files also created for my own classes. So problem is that this files was created. I think that files like "-meta.xml.cls" is wrong at all.
-
reporter - attached idea.log.3
- attached idea.log.1
- attached idea.log
- attached idea.log.2
Logs from Idea
-
reporter For now I got only two wrong files.
-
reporter For now I have this issue again. after the last update.
-
repo owner - changed status to resolved
Issue tracker grooming. If this is still an issue, please feel free to reopen, ideally with a concrete reproduction scenario.
-
repo owner - changed component to Metadata Deployment/Retrieval/Removal
- Log in to comment
How is your metadata subscription configured? My guess is that it's configured as All/Package in which case IC is going to retrieve all metadata in the organization. I highly recommend against using All/Package unless you're developing managed packages against development packages in your organization. Otherwise I recommend that you use either Package.xml or Selected. If you use Package.xml and wildcard a metadata type, in this case
ApexClass
, it will also retrieve all entries of that type. In this case, metadata likeForgotPasswordController
is a result of a site or community in your organization and is auto-generated by Salesforce when those entities were created. Definitely take a look at your metadata subscription and make sure that it represents your desired subset of metadata for this project.If it does turn out that you have a carefully constructed metadata subscription and it's still including this unexpected metadata, please configure debug logging for Metadata Retrieval as described here:
http://www.illuminatedcloud.com/support/debuglogging
reproduce the issue, and attach or email your
idea.log
so that I can take a look at exactly why it's happening. Thanks!