Community
Participate
Working Groups
Build Identifier: 3.6 / org.eclipse.buckminster.core=1.2.360.r11456 I'm having trouble replacing a second token in about mappings with 3.6. The old way doesn't work because there is now a default action for this, and trying to override brings errors. Please inspect the attached zip file for details. Reproducible: Always Steps to Reproduce: Throw the buckminster.cspex from 3_6 into any eclipse plugin project with an about.mappings file, refresh and take a look on the buckminster console: you should read some error containing buildFileId
Created attachment 172714 [details] 3.5 vs 3.6 solution Please note I didn't have 3.6 available on the computer where I made this zip. I rewrote my changes from memory, hope all goes well. If not, I can provide a more accurate example tonight.
A work-around is outlined here: http://www.eclipse.org/forums/index.php?t=msg&goto=543295&#msg_543295 Given that, I have no more urgent need for a bugfix... Still I think it should be investigated how (or if at all) this action is supposed to be overridden by clients
An attribute (action, group, or artifact) can be overridden in one of two ways. You want to reuse the old action but do something more after it has executed: 1. Rename the old action 2. Create a new action with the original name that uses the renamed action as a prerequisite You want to reuse the old action but execute something before it executes. 1. Create a new action that does what you want. 2. Add a prerequisite for your new action to the old action. Possibly remove other prerequisites. You want to completely override the old action. 1. Remove the old action. 2. Add a new action with the same name.