Keynamer question

I’m modifying a module I built some 5 years ago but never released. When I open the editor and try to save it, I get a “no more than one [keynamer] allowed in [MODULE]” error. I don’t remember having any module features that would use that class. Can someone suggest what vassal capabilities might be making use of keynamer? Note that I can override the error and save anyway, and the module seems to work great, both in it’s original form and in the saved “new” version

Thanks

Not sure how that happened. Edit the file buildFile.xml in a text editor. Search for KeyNamer. Based on the warning there must be more than one. Delete the duplicates so that only one remains. The line should look like this:

<VASSAL.build.module.KeyNamer/>

To access the buildFile.xml, first unzip the vmod file. Take care editing buildFile.xml. Innocent mistakes can make the module unusable. A backup of the module is recommended. Save the edited buildFile.xml and zip it back into the module. Try to load it in the module editor and save to confirm if that fixes it.

That did it. Thanks. Makes sense …

I did some hand edits of BuildFile.xml on some other projects and am aware of just how touchy things are.