jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lenz <cml...@gmx.de>
Subject Re: Webxmlmerge Ant Task problem
Date Mon, 15 Dec 2003 20:12:26 GMT
Am 15.12.2003 um 16:59 schrieb Robert Maguire:
> Howdy,
> 	I was having some trouble with the webxmlmerge on one of my
> machines and I can't figure out why.  Two other machines we have run
> just fine.  Ant is complaining that the srcfile attribute of the task  
> is
> missing, but I'm pretty sure I have it right.  I've reduced my ant xml
> to:
>
> <?xml version="1.0"?>
> <project name="test" default="init" basedir=".">
>
> 	<target name="init">
>     <taskdef resource="cactus.tasks" />
>     <webxmlmerge
> srcfile="D:\sst\prd\webroots\subscription\WEB-INF\web.xml"
>
> destfile="D:\sst\nonprd\output\webapps\subscription-cactus\WEB- 
> INF\web.x
> ml"
>                  mergefile="D:\sst\nonprd\tools\cactus\web\web.xml"
>                  force="true" indent="true"/>

Hmm, the backslashes are escapes here, I think. You'll either need  
double backslashes everywhere, or simply use a forward slash.

Otherwise, try running with "ant -verbose" or "ant -debug", and check  
if there's anything weird appearing in the output.

Cheers,
   Chris
--
Christopher Lenz
/=/ cmlenz at gmx.de


Mime
View raw message