The fix:

URI uri = new URI(getClass().getResource("localfileinclasspathdir").toString());
... new File(uri) ...

Martijn

On 2/4/07, Frank Bille <[EMAIL PROTECTED]> wrote:
On 2/4/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
>
> The file upload field test fails because it can't find the DTD file. I
> think this is because the multimodule build keeps the startup
> directory inside the wicket-parent folder.
>

We have talked about it before and I still have an outstanding with using a
mock test file which we know will be there. Perhaps I can use your testfile
:)

Frank




--
Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
http://wicketframework.org

Reply via email to