Re: [m2] where to put test data

2005-11-18 Thread David Sag
Just a short note tho: There is no system property called java.io.tmp.dir it's called java.io.tmpdir Kind regards, Dave Sag   David Sag <[EMAIL PROTECTED]> wrote on 18-11-2005 11:08:17: > > Thanks John those answers were perfectly satisfactory and i have > updated my code accordingly.

Re: [m2] where to put test data

2005-11-18 Thread David Sag
Thanks John those answers were perfectly satisfactory and i have updated my code accordingly. a point to note however - the path to the resource should not start witha '/' i have not looked but i wonder what the file path to a file within a jar looks like.  under maven the unit tests run before

Re: [m2] where to put test data

2005-11-17 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Sag wrote: | | I am writing the unit tests for a simple xml transformer and want to | know 2 things. | | 1) where is the maven2 approved place to put the test xml and xslt | files? If I put them in src/test/resources then they end up in a jar |

[m2] where to put test data

2005-11-17 Thread David Sag
I am writing the unit tests for a simple xml transformer and want to know 2 things. 1) where is the maven2 approved place to put the test xml and xslt files?  If I put them in src/test/resources then they end up in a jar file, and I am not sure how i refer to their path when i invoke File xml = n