From: "Pilgrim, Peter" <[EMAIL PROTECTED]>
Ok suppose I hafe a file like
src/conf/com/csfb/xrocket/trading/config.dtd
I would expect this to be copied to the jar.
Is that happening? With the right <resource> tag, it should get copied to
target/classes and end up in the .jar file.
And the unit test classpath will pick up the DTD file.
You'd need to do the same thing inside the <testResources> section so it
will copy the dtd into target/test-classes.
<testResources>
<testResource>
<directory>src/conf</directory>
<includes>
<include>**/*.xml</include>
<include>**/*.dtd</include>
</includes>
</testResource>
</testResources>
(That one looks a little different in m1... what are you using?)
--
Wendy Smoak
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]