On Sun, Feb 24, 2008 at 9:44 AM, Tom Hughes <<a href="mailto:tom@compton.nu">tom@compton.nu</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In message <<a href="mailto:52ae42fa0802240831i1b2ac661jcc3598bd0f30e093@mail.gmail.com">52ae42fa0802240831i1b2ac661jcc3598bd0f30e093@mail.gmail.com</a>><br>
<div class="Ih2E3d">          "Karl Newman" <<a href="mailto:siliconfiend@gmail.com">siliconfiend@gmail.com</a>> wrote:<br>
<br>
> On Sun, Feb 24, 2008 at 5:18 AM, Tom Hughes <<a href="mailto:tom@compton.nu">tom@compton.nu</a>> wrote:<br>
><br>
</div><div class="Ih2E3d">> > That'll be when I updated the database to schema version 11 for Steve's<br>
> > changes. Unfortunately that breaks Osmosis... I think Brett's away at the<br>
> > moment, so this might not be very easy to fix.<br>
><br>
</div><div class="Ih2E3d">> Actually, I think it's not too bad to fix. I don't think Osmosis cares about<br>
> user preferences (assuming that was the major change), so all you have to do<br>
> is bump the expected schema version to 11. It's in<br>
> Osmosis/src/com/bretth/osmosis/core/mysql/v0_5/MySqlVersionConstants.java Of<br>
> course, then you'd have to recompile and deploy the new version.<br>
<br>
</div>The problem is not changing the code, it's that I have no idea how<br>
to go about building it or deploying the fixed version on dev.<br>
<div class="Ih2E3d"></div></blockquote><div><br>I thought the trouble was in finding the right place in the code to modify. I'm set up to compile a new Osmosis.jar, so I could provide it to you, but I don't know anything about the setup on dev.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
> Alternately, you could temporarily modify the command line to add the option<br>
> validateSchemaVersion=no to the database read task. It might be nice to be<br>
> able to override the expected schema version with a command line argument,<br>
> but that's not in there right now.<br>
<br>
</div>That sounds a bit easier...<br>
<br>
Tom<br>
<font color="#888888"></font></blockquote><div><br>I think that's your best bet for now until BrettH gets back from his holiday.</div></div><br>Karl<br>