Hi Bret, In article <[EMAIL PROTECTED]>, Tue, 5 Sep 2006 15:13:16 -0700, "Bret Kumler" <[EMAIL PROTECTED]> wrote: bkumler> <tomcat5x if="tomcat-dist.dir" bkumler> dir="${tomcat-dist.dir}" port="${test.port}" bkumler> output="${target.testreport.dir}/cactus.out" bkumler> todir="${target.testreport.dir}/cactus" bkumler> tmpdir="${target.testreport.dir}/tmp" bkumler> <conf file="${test.conf.dir}/tomcat-users.xml"/> bkumler> </tomcat5x> bkumler> bkumler> The <conf> property isn't working properly, it's not picking up my bkumler> config file.
I guess tmpdir="${target.testreport.dir}/tmp" should be tmpdir="${target.testreport.dir}/tmp"> I think it may be a bug of Cactus. Cactus tries to copy files specified by the conf nested element to tmpdir/conf, however, ${test.conf.dir}/tomcat-users.xml will not be copied because Cactus create tmpdir/conf/tomcat-users.xml which is newer than ${test.conf.dir}/tomcat-users.xml. You might use server.xml customized so that UserDatabase should not refer tomcat-users.xml. For example: ${test.conf.dir}/server-cactus.xml contains: <ResourceParams name="UserDatabase"> ... <parameter> <name>pathname</name> <value>conf/test-users.xml</value> </parameter> </ResourceParams> ${test.conf.dir}/test-usrs.xml contains user information for test. build.xml contains: <tomcat5x ... serverxml="${test.conf.dir}/server-cactus.xml" > <conf file="${test.conf.dir}/test-usrs.xml" /> </tomcat5x> Hope this helps. ---- Kazuhito SUGURI --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]