Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build.xml ant deploy calls undeploy, which wipes the org #189

Closed
ak77 opened this issue May 24, 2018 · 3 comments
Closed

build.xml ant deploy calls undeploy, which wipes the org #189

ak77 opened this issue May 24, 2018 · 3 comments
Labels
doc enhancement Update to readme and/or wiki page

Comments

@ak77
Copy link

ak77 commented May 24, 2018

The "deploy" target defined in build.xml depends on "undeploy". Looking at undeploy.xml, it generates a destructiveChanges.xml file that effectively purges all custom components from the org. This happens without prompting. Is this intended behaviour?

In our case, it happened against a relatively fresh sandbox, but if that happened against a mature sandbox (or against production), it could cause some serious headaches for users, especially if their backups aren't up to date.

@afawcett
Copy link
Contributor

These files are really to support the CI into Travis and are not intended to be used for this purpose. To avoid this confusion i guess a big note in the Ant file would be a good idea. 👍

@afawcett afawcett added the doc enhancement Update to readme and/or wiki page label Dec 24, 2019
@afawcett
Copy link
Contributor

Flagg this as doc for now, but likely be closed once we move to SFDX format soon.

@afawcett
Copy link
Contributor

See #259

@daveespo daveespo closed this as completed Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc enhancement Update to readme and/or wiki page
Projects
None yet
Development

No branches or pull requests

3 participants