RE: Tomcat 5.x + <conf> + ant task
"Bret Kumler" <[email protected]>
| Newsgroups | gmane.comp.jakarta.cactus.user |
|---|---|
| Message-ID | <24F7E976D2C85149A4785E11309B603303F0A5E8@traveler> |
I put the following in my ant script.
<tomcat5x if="tomcat-dist.dir"
dir="${tomcat-dist.dir}" port="${test.port}"
output="${target.testreport.dir}/cactus.out"
todir="${target.testreport.dir}/cactus"
tmpdir="${target.testreport.dir}/tmp"
<conf file="${test.conf.dir}/tomcat-users.xml"/>
</tomcat5x>
I ran ant with debug.
ResourceStream for
org/apache/cactus/integration/ant/container/resources/tomcat5x/tomcat-us
ers.xml loaded from ant loader
[cactus] Checking if server is up ...
+Task: copy
Class org.apache.tools.ant.taskdefs.Copy loaded from parent loader
(parentFirst)
fileset: Setup scanner in dir C:\test\conf\cactus with patternSet{
includes: [tomcat-users.xml] excludes: [**/server.xml] }
[cactus] tomcat-users.xml omitted as tomcat-users.xml is up to date.
It sees my file but when I look in the
tmpdir="${target.testreport.dir}/tmp" at the tomcat-user.xml it doesn't
contain the correct data.
It thinks the tomcat-users.xml is up to date..
-----Original Message-----
From: Bret Kumler
Sent: Monday, August 21, 2006 3:50 PM
To: 'Cactus Users List'
Subject: Tomcat 5.x + <conf> + ant task
The ant task for tomcat5x contains a nested element <conf/>
Does anyone have a work example?
Will it pick up my custom tomcat-users.xml file?
Thanks,
Bret
This e-mail message and any attachments may contain private, confidential, proprietary or privileged material of GoldenGate Software, Inc. that is for the sole use of the intended recipient(s) of this e-mail message. Any review, copying or distribution or other use of this e-mail message or any attachments hereto by anyone other than the intended recipient(s) is strictly prohibited. If you are not the intended recipient(s) of this e-mail message, please contact GoldenGate Software, Inc. (415-777-0200) immediately and permanently delete the original e-mail message and any copies of this e-mail message and all attachments, if any.