RE: Running in a different directory than build.xml

2005-01-13 Thread Rick Genter
Users List Subject: Re: Running in a different directory than build.xml Hi Rick, I'm assuming you want to do this, because your tests are referring to certain files, and relatively so? (If it was only the test-output, you could have redirected it by using the outfile property of test subt

Re: Running in a different directory than build.xml

2005-01-13 Thread Th. Schapitz
Hi Rick, I'm assuming you want to do this, because your tests are referring to certain files, and relatively so? (If it was only the test-output, you could have redirected it by using the outfile property of test subtag to junit) Else a solution would be to beef up your testclasses, by providing a

AW: Running in a different directory than build.xml

2005-01-12 Thread Jan . Materne
Would be better to implement the tests against a system property which defaults to user.dir. Jan > -Ursprüngliche Nachricht- > Von: Stefan Bodewig [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 13. Januar 2005 08:29 > An: user@ant.apache.org > Betreff: Re: Running

Re: Running in a different directory than build.xml

2005-01-12 Thread Stefan Bodewig
On Wed, 12 Jan 2005, Rick Genter <[EMAIL PROTECTED]> wrote: > Is there a way to tell to run its tests in a different > directory without forking the VM? No. You can't change the working directory of a running Java process (well, at least not portably, you can simply reset user.dir on Apple's VM

Running in a different directory than build.xml

2005-01-12 Thread Rick Genter
My ant build file builds an installation kit directory (dist) under the basedir. I'd like to run my unit tests from this directory, but haven't found a way to do so; when I invoke it appears to be running from the basedir. Is there a way to tell to run its tests in a different directory without f