Hi,

Please see
http://jakarta.apache.org/cactus/integration/ant/task_cactifywar.html

What it says is that all the Cactus jars are automatically added by the
cactifywar task so you don't need to add them yourself. BTW, you did not
seem to be adding them to the correct location... (they should be in
WEB-INF/lib). BTW, you should normally not need to add any jar as the
jar you need are usually already in your war file. 

BTW you source war is named test.war which doesn't sound right as this
should be your production war. I don't think you want to name your
production war test.war... :-)

-Vincent

> -----Original Message-----
> From: Guofeng Zhang [mailto:[EMAIL PROTECTED]
> Sent: 27 August 2003 12:52
> To: [EMAIL PROTECTED]
> Subject: Duplicate jars in WEB-INF/lib
> 
> 
> the following is the cactifywar definition. I found that all the files
> listed in lib elements are duplicated in WEB-INF/lib in test-rt.war
> 
>       <cactifywar srcfile="${test.war}/test.war"
>           destfile="${test.war}/test-rt.war">
>          <classes dir="${test.classes}"/>
>          <lib file="${cactus.root}/lib/cactus-1.5-beta1.jar"/>
>          <lib
file="${cactus.root}/lib/commons-httpclient-2.0-beta2.jar"/>
>                   ....
>       </cactifywar>
> 
> Could anyone tell me how to solve the problem?
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to