-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gert Driesen wrote: > Hi Francisco, >
Hi, Gert!! > It's already late here, so here a very quick reply. > > You can use something like this: > > <property name="nunit.framework.file" dynamic="true" > value="${nant::get-base-directory() + '/lib/' + > framework::get-family(framework::get-target-framework()) + '/' + > int::to-string(version::get-major(framework::get-version(framework::get-targ > et-framework()))) + '.' + > int::to-string(version::get-minor(framework::get-version(framework::get-targ > et-framework()))) + '/nunit.framework.dll'}" /> > > But I'm sure there are less ugly constructs ;-) > Great!!! It worked like a charm!! I just changed nunit.framework.file to nunit.files and nunit.framework.dll to nunit.* This way I can get all nunit assemblies with a single line! :) Thank you very much, Gert, for your promptly reply! Your help will improve very much our developer experience when trying to run Npgsql nunit tests with nant! :) Regards, Francisco Figueiredo Jr. http://fxjr.blogspot.com Npgsql Lead Developer http://pgfoundry.org/projects/npgsql Mono Project Contributor http://www.go-mono.com MonoBrasil Project Founder Member http://monobrasil.softwarelivre.org - -- - Would you tell me, please, which way I ought to go from here? - That depends a good deal on where you want to get to. -- Lewis Carroll "Alice's Adventures in Wonderland" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRxdxM/7iFmsNzeXfAQJ0Mgf/aLw5niS+FOb5Jw4d3Asgm8GEvAHte/ut 76TPKQdpTbXwYCg0U1Q/KAs0GUv5JjZvJk3s8dzw5gdyOstm1VoqFXk3e920dHz5 YvW/dhI7ZIOYYvmTksQVRHA0ey1N6l/NMR71PMUs0IH5gYcT4ATpcEZi7BbC7tot s4mYH0VrgMKMKlePNz3SY8LtACYrTZBngk7LoQKCB2TGjy9TjTeH8Da1BXve/Ia3 FdLTcwqY7cz/mRmoQscneaiX2G3LgwsCJ6ZVTRLPdJYWSXXQ+yw+1FlD6kHN9QT7 ADNHMDmESYESMdjVFYZBdIFf+bwoRDwN64mHyftAjCnsnBu35OsA2A== =aDVx -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users