Carsten Ziegeler wrote:

Stephen McConnell wrote:


In the merlin/project.xml you will see in a defintion of the resources to include in the unit tests. This defintion is inherited by the merlin-jax/project.xml but the resources is not being included in the test classpath. You could try the following and see if you can sport anything:

$ cd merlin-extensions\merlin-jmx
$ merlin clean jar:install



Yes it fails.



This should fail (but it would be interesting to know if it passes).
Then try with a Maven debugging switchon on and look for something that explains why the properties are not being included in merlin-jmx/test-classes


$ maven test -X



Ok, I didn't see any unusual things there. But the properties file is
located in conf and it seems that the rules in merlin/project.xml do
not copy files from a local conf directory, they use only test and src.
Can this be?


In merlin/project.xml there is this resource include under the utittests defintion


       <resource>
         <directory>${maven.conf.dir}</directory>
         <includes>
           <include>**/*.properties</include>
         </includes>
       </resource>

The variable ${maven.conf.dir} referes to ${basedir}/conf - at least it does in beta-9. It this statement that appears to be ignored.

Stephen.


Carsten


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]
http://www.osm.net

Sent via James running under Merlin as an NT service.
http://avalon.apache.org/sandbox/merlin




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to