tpl/destructiveChanges.xml.erb in salesforce-dcgen-0.6.0 vs tpl/destructiveChanges.xml.erb in salesforce-dcgen-0.7.0
- old
+ new
@@ -6,9 +6,17 @@
<members><%= @apexclass %></members>
<% end %>
<name>ApexClass</name>
</types>
<% end %>
+<% if not @metadata[:apexcomponent].empty? %>
+ <types>
+ <% for @apexcomponent in @metadata[:apexcomponent] %>
+ <members><%= @apexcomponent %></members>
+ <% end %>
+ <name>ApexComponent</name>
+ </types>
+<% end %>
<% if not @metadata[:apextrigger].empty? %>
<types>
<% for @apextrigger in @metadata[:apextrigger] %>
<members><%= @apextrigger %></members>
<% end %>