jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Maguire" <robert.magu...@autodesk.com>
Subject Webxmlmerge Ant Task problem
Date Mon, 15 Dec 2003 15:59:54 GMT
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"/>
	</target>
</project>

And I continue to get:

BUILD FAILED
file:D:/sst/nonprd/tools/ant/buildtest.xml:9: The [srcfile] attribute is
require
d
        at
org.apache.cactus.integration.ant.WebXmlMergeTask.execute(WebXmlMerge
Task.java:134)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:1255)
        at org.apache.tools.ant.Main.runBuild(Main.java:609)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 1 second
D:\sst\nonprd\tools\ant>

When, as far as I can tell, I have included the srcfile attribute.  This
only seems to be the case on one machine, two others work fine.  Has
anyone ever seen this before?  Is there some configuration I'm missing?
I tried searching the mail archives and didn't find anything on this
subject.

Any help would be appreciated.

Thank you,

Rob

Mime
View raw message