On Sun, 2006-08-13 at 17:16 +0200, Roland Weber wrote: > Hi Oleg, > > > <description> > > -HttpAsync: Jakarta HttpComponents Core > > +Jakarta HttpComponents Core > > </description> > > oops :-) > > > @@ -302,6 +305,9 @@ > > </classpath> > > </javac> > > + <copy todir="${build.core.nio.tests}" filtering="on"> > > + <fileset dir="${comp.core.nio.tests}" excludes="**/*.java" /> > > + </copy> > > </target> > > @@ -484,10 +490,6 @@ > > description="runs unit tests on HttpCore classes" > > > > > - <copy todir="${build.core.tests}" filtering="on"> > > - <fileset dir="${comp.core.main.tests}" excludes="**/*.java" /> > > - <fileset dir="${comp.core.nio.tests}" excludes="**/*.java" /> > > - </copy> > > Let me guess. Maven copies the files when compiling the tests, and > fails to run tests correctly when the compiling was done by Ant? >
Roland, This is just to make sure all resources required by the test cases are available to the class loader when the tests are run. Maven2 actually encourages that resources be kept separate from java sources and be stored in a separate resource folder, but we might still want to make sure that resources stored along with the source code get copied to the target folder at compile time. Oleg > cheers, > Roland > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]