<div>The thing with the ode tests is that instead of having them in separate test dll as with all the rest of the tests the ode tests are placed in the same dll as ode plugin. Because of this it does not need to reference the ode plugin dll which would not work. I think we should really push for improvements to prebuild as getting everything to same output directory is not very clean solution considering for example deployment of different exe files to different machines. There is also problem of not being able to clean the bin directory as it permanently contains dll dependencies and even runtime data. In practice I think it is a good pattern that the bin directory is completely emptied on build clean. It would be also nice to be able to build different exe files to their own distribution folders. These last two as a long term goals to consider.</div>

<div> </div>
<div>regards,</div>
<div>Tommi<br><br></div>
<div class="gmail_quote">On Tue, Feb 17, 2009 at 4:29 PM, Teravus Ovares <span dir="ltr"><<a href="mailto:teravus@gmail.com">teravus@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Stefan,<br><br>No, this doesn't work. We've tried all sorts of ways to do that.  But,<br>there is a solution that we're already using for this very problem<br>
with bamboo.   Simply copy the physics assembly to bin when running<br>the tests.   As I said, bamboo already does this.   The test harness<br>is currently in the odeplugin assembly and gets run successfully.<br><br>Best Regards<br>
<br>Teravus<br>
<div>
<div></div>
<div class="Wj3C7c"><br>On Tue, Feb 17, 2009 at 6:24 AM, Stefan Andersson <<a href="mailto:stefan@tribalmedia.se">stefan@tribalmedia.se</a>> wrote:<br>> You should be able to specify a 'path' attribute on the prebuild reference<br>
> element.<br>><br>> <Reference name="Test" localCopy="false" path="../../Whatever/Dir/Test.dll"<br>> /><br>><br>> If that doesn't work, let me know and I'll have a look at a solution.<br>
><br>> (Sorry for the late reply)<br>><br>> Best regards,<br>> Stefan Andersson<br>> Tribal Media AB<br>><br>><br>><br>><br>> ________________________________<br>> Date: Mon, 9 Feb 2009 20:54:33 +0200<br>
> From: <a href="mailto:tommi.s.e.laukkanen@gmail.com">tommi.s.e.laukkanen@gmail.com</a><br>> To: <a href="mailto:opensim-dev@lists.berlios.de">opensim-dev@lists.berlios.de</a><br>> Subject: [Opensim-dev] Blockers for unit testing physics modules<br>
><br>> Hello<br>><br>> I was writing some unit tests for physics modules and I collided with the<br>> following problem with prebuild and nant:<br>><br>> Currently physics modules are stored in bin/Physics and because of this you<br>
> can not reference them in further steps of the build as you can define only<br>> one reference directory for a project. I have referenced ode plugin dll from<br>> test dll but because of the reference problem the nant build fails. The test<br>
> itself builds and works well in visual studio.<br>><br>> I dont see any way around this. We would need to move the physics plugin<br>> dlls to bin directory like rest of the dlls or forget doing separate unit<br>
> test dlls which refer to these plugins.<br>><br>> This limitation is good to know for all prebuild work we do. Do not place<br>> the build output to any other directory than OpenSim/bin or you cannot<br>> reference that in other projects of nant build.<br>
><br>> If someone knows how to fix this easily please let me know.<br>><br>> regards,<br>> Tommi<br>><br></div></div>> _______________________________________________<br>> Opensim-dev mailing list<br>
> <a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>> <a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
><br>><br>_______________________________________________<br>Opensim-dev mailing list<br><a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br><a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
</blockquote></div><br>