[Opensim-dev] Blockers for unit testing physics modules

Stefan Andersson stefan at tribalmedia.se
Tue Feb 17 11:24:57 UTC 2009


You should be able to specify a 'path' attribute on the prebuild reference element.

 

<Reference name="Test" localCopy="false" path="../../Whatever/Dir/Test.dll" />

 

If that doesn't work, let me know and I'll have a look at a solution.

 

(Sorry for the late reply)

Best regards,
Stefan Andersson
Tribal Media AB



 


Date: Mon, 9 Feb 2009 20:54:33 +0200
From: tommi.s.e.laukkanen at gmail.com
To: opensim-dev at lists.berlios.de
Subject: [Opensim-dev] Blockers for unit testing physics modules

Hello

I was writing some unit tests for physics modules and I collided with the following problem with prebuild and nant:

Currently physics modules are stored in bin/Physics and because of this you can not reference them in further steps of the build as you can define only one reference directory for a project. I have referenced ode plugin dll from test dll but because of the reference problem the nant build fails. The test itself builds and works well in visual studio. 

I dont see any way around this. We would need to move the physics plugin dlls to bin directory like rest of the dlls or forget doing separate unit test dlls which refer to these plugins.

This limitation is good to know for all prebuild work we do. Do not place the build output to any other directory than OpenSim/bin or you cannot reference that in other projects of nant build.

If someone knows how to fix this easily please let me know.

regards,
Tommi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20090217/2cef5828/attachment-0001.html>


More information about the Opensim-dev mailing list