On Wed, 2004-01-07 at 15:54, Eddie Post wrote:
> Hellu,
>
> I had some problems getting the eclipse plugin to work well with the Junit
> syntax.
> I noticed that the eclipse plugin work with the following syntax in the
> project.xml:
> ----
> <unitTestSourceDirectory> ${basedir}/src/test </unitTestSourceDirectory>
> ----
>
> However, I noticed in the maven manual that you should use (I think the
> other is depriated):
> -----
> <unitTest>
> <resources>
> <resource>
> <directory>${basedir}/src/test</directory>
> </resource>
> </resources>
> </unitTest>
I'm sure others will correct me if I'm wrong, but I don't think that
<unitTestSourceDirectory> is deprecated - it's still in the POM version
4 schema, for example. You use the <unitTestSourceDirectory> element to
say where the Java source code for the unit tests are. You use the
<unitTest><resources> element to indicate where other resources (files
that should be included verbatim in the test-classes directory) are
located.
-Mark.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]