ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject [feature request] Better support for <war update="true">
Date Sat, 20 Jul 2002 13:39:55 GMT
Hi,

It seems that the following does not work :

<war update="true"
     warfile="[...]test.war">

    <metainf dir="${conf.weblogic61.dir}">
        <include name="weblogic.xml"/>
    </metainf>
</war>

Apparently the "update", which is inherited from the <jar> task has not
been extended in the War task to check for other filesets like
<metainf>.

Indeed, in debug mode, Ant says:

     [java] ZipFileSet: Setup scanner in dir
E:\Dev\jakarta-cactus\sample-servlet\target-12\sample\c
onf\test\weblogic61 with patternSet{ includes: [weblogic.xml] excludes:
[] }
     [java]       [war] weblogic.xml omitted as
E:\Dev\jakarta-cactus\sample-servlet\target-12\sampl
e\target\test\weblogic61\config\testdomain\applications\test.war is up
to date.

I think it would be a worthwile addition to the war task (Sorry, I have
no time ATM to submit a patch :-)). The example given above is a
classical one : generating a standard war and then, depending on
container, adding container-specific files.

Thank you
-Vincent


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message