Back to the old community?
Click here
Learn more
Salesforce.com
Getting Started
Blogs
Answers
Ideas
Features
Testimonials
more
Want to vote?
Login
Insert Your Logo
Home
View Ideas
About This Site
View by Status
All
All
Coming in Spring '10
Delivered (Archive)
Delivered in Spring '09
Delivered in Summer '09
Delivered in Winter '10
Existing Feature
Partially Implemented
Partner Solution Available
Polling Promo
Under Consideration
View By Category
All Categories
Applications
Calendar & Activity Management
Contact Management
Desktop Solutions
Email Client & Office Suites
Google
Marketing Automation
Mobile
Partner Relationship Management
Sales Force Automation
Salesforce Chatter
Salesforce Content
Salesforce Ideas
Service & Support
Force.com Platform
Administration & Sharing
Apex & Visualforce
Application Distribution
Customization
Database Services
Developer Tools
Email
Force.com Sites & Portals
Globalization
Integration
Reports & Dashboards
Search & Navigation
User Experience
Web Services API
AppExchange
AppExchange App Suggestions
AppExchange Marketplace
AppExchange Partner Program
Force.com Checkout
Nonprofit Starter Pack
Non-Product Ideas
Customer Support
Online Community
Salesforce.com Foundation
Training & Certification
Popular
Recent
Top All-Time
Comments
Search Results for '10098777'
290
points
destructiveChanges.xml should not break the build if an element to be deleted has already been deleted
Under Consideration
I like the promise of destructiveChanges.xml (you can finally remove object fields, triggers, etc. as part of your build) but it is unusable for our org. Including this file renders the build not re-runnable...in other words, it breaks the build after one run in the same environment! If you run it once, great, the elements are deleted. But if you run it a second time you get errors similar to these: BUILD FAILED build.xml:62: Failures: objects/Contract.object(Contract.SetContractToExpired):In field: name - no WebLink named Contract.SetContractToExpired found objects/Contract.object(Contract.SetContractToCanceled):In field: name - no WebLink named Contract.SetContractToCanceled found objects/Contract.object(Contract.SetContractToPaused):In field: name - no WebLink named Contract.SetContractToPaused found The build fails when these elements are not found. But they are not found because they were deleted in a prior run! The build should not fail if elements to be deleted are not found. It should either issue warnings or completely ignore, but it definitely should not fail. If this file is included in source control, you will have problems using a continuous integration tool like hudson or cruisecontrol. You will have problems running the build twice in the same environment. You will have problems maintaining the file across a team of developers, some of whom have built using the latest destructiveChagnes.xml and some who haven't. Would love to see these as warning and not failures.
1 Comment
• Posted by
Larry Jacobson
to
Apex & Visualforce
,
Developer Tools
Nov 30, 2009
/apex/ideaSearchResults?c=09a30000000D9xt&cof=&cx=&q=10098777&s=10098777&searchType=c&thisSite=&thisSite.x=57&thisSite.y=15
ideaSearchResults
false
false
0
Other Ways to Connect
Follow us on Twitter
Become a fan on Facebook
Watch videos on YouTube
Look at pics on Flickr
Network on LinkedIn