ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@pache.org>
Subject Re: ANT 1.7RC1: <war> fails
Date Mon, 20 Nov 2006 10:15:13 GMT
J├╝rgen Zimmermann wrote:
> Invoking the <war> task fails if I want to rebuild a war file
> e.g. because of a changed jsp page. It doesn't fail if I touch
> the web.xml before invoking <war>
> 
> The stack trace:
> No WEB-INF/web.xml file was added.
> If this is your intent, set needxml='false'


Presumably this was Ant 1.7.0 RC1?

I'm thinking my logic to decide whether or not a WAR is used is still 
broken. uh oh.


>        at org.apache.tools.ant.taskdefs.War.cleanUp(War.java:220)
>        at org.apache.tools.ant.taskdefs.Zip.executeMain(Zip.java:634)
>        at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:407)
>        at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
> 
>        at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

> 
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at 
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
>        at org.apache.tools.ant.Task.perform(Task.java:342)
>        at org.apache.tools.ant.Target.execute(Target.java:357)
>        at org.apache.tools.ant.Target.performTasks(Target.java:385)
>        at 
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1292)
>        at 
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)

> 
>        at org.apache.tools.ant.Project.executeTargets(Project.java:1144)
>        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:390)
>        at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
> 
>        at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

> 
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at 
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
>        at org.apache.tools.ant.Task.perform(Task.java:342)
>        at org.apache.tools.ant.Target.execute(Target.java:357)
>        at org.apache.tools.ant.Target.performTasks(Target.java:385)
>        at 
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1292)
>        at org.apache.tools.ant.Project.executeTarget(Project.java:1261)
>        at 
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) 
> 
>        at org.apache.tools.ant.Project.executeTargets(Project.java:1144)
>        at org.apache.tools.ant.Main.runBuild(Main.java:698)
>        at org.apache.tools.ant.Main.startAnt(Main.java:199)
>        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:298)
>        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message