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.
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
-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
|
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