Community
Participate
Working Groups
N20031114 Using the variable name version causes grief when exporting multiple plug_ins. A variable in Ant can only be set once. Every plugin should use its own version variable like jdt_core_version.
What are you talking about? Would you have steps to what the problem is? Thanks.
I will need more information to understand what you expect.
The plugin export ant srcipt (named exportplugin.xml) under the scripts folder of the jdt core project uses the variable name version. Due to limitations for Ant (don't ask me why ;-)) values can only be assigned once to variable names. When exporting all ZRH plug-ins we export JDT/Core as well. When someone set the version variable to some value then this value is used for all exports. JDT/UI decided to use specific variable name (e.g.jdt_ui_version) to avoid this problem.
You mean that you want us to change the code like this: <param name="version" value="3.0.0"/> to <param name="jdt_core_version" value="3.0.0"/> in the exportplugin.xml file?
If this is it, this is a trivial change. I released this change.
This change doesn't affect the build. It only affects the exportplugin.xml file.
Verified in 200311211210. This is included in jdt/core from CVS version v_387.