You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Sonnek, Ryan" <Ry...@bpc.com> on 2003/03/08 00:04:01 UTC

lib subtask of war broken in 1.5.2

working with ant 1.5.2 on win2k, my 'war' task has broken from version 1.5.1
to 1.5.2.  the <lib> subtask does not include the files from my project.dist
directory.  this works fine in version 1.5.1, but not since i upgraded to
1.5.2.  

here's the war task from my buildfile:
    <war
     warfile="${client.war.dist}"
     webxml="${client.war.webxml}"
     manifest="${client.war.manifest}">
      <fileset dir="${project.web}" />
      <fileset dir="." >
        <include name="${project.doc}/**" />
      </fileset>
      <lib dir="${project.lib}">
        <include name="${jstl.filename}" />
        <include name="${standard.filename}" />
      </lib>
      <lib dir="${project.dist}">
        <include name="${client.filename}" />
        <include name="${client.test.filename}" />
      </lib>
      <classes dir="${project.classes}">
        <include name="**/web/*" />
      </classes>
      <webinf dir="${client.war.webinf}" >
        <exclude name="web.xml" />
      </webinf>
      <metainf dir="${client.war.metainf}" >
        <exclude name="manifest.mf" />
      </metainf>
    </war>

let me know if i can provide anything else.
Ryan

Re: lib subtask of war broken in 1.5.2

Posted by Antoine Levy-Lambert <le...@tiscali-dsl.de>.
This problem has been already reported
see
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17648
it should be fixed in the nightly build 2003-03-08 and is already fixed in
CVS
it looks like there will be an ant 1.5.3 release too.
The bug affects winzip, nothing else.
Antoine
----- Original Message -----
From: "Sonnek, Ryan" <Ry...@bpc.com>
To: "'Ant Users List'" <us...@ant.apache.org>
Sent: Saturday, March 08, 2003 12:04 AM
Subject: lib subtask of war broken in 1.5.2


> working with ant 1.5.2 on win2k, my 'war' task has broken from version
1.5.1
> to 1.5.2.  the <lib> subtask does not include the files from my
project.dist
> directory.  this works fine in version 1.5.1, but not since i upgraded to
> 1.5.2.
>
> here's the war task from my buildfile:
>     <war
>      warfile="${client.war.dist}"
>      webxml="${client.war.webxml}"
>      manifest="${client.war.manifest}">
>       <fileset dir="${project.web}" />
>       <fileset dir="." >
>         <include name="${project.doc}/**" />
>       </fileset>
>       <lib dir="${project.lib}">
>         <include name="${jstl.filename}" />
>         <include name="${standard.filename}" />
>       </lib>
>       <lib dir="${project.dist}">
>         <include name="${client.filename}" />
>         <include name="${client.test.filename}" />
>       </lib>
>       <classes dir="${project.classes}">
>         <include name="**/web/*" />
>       </classes>
>       <webinf dir="${client.war.webinf}" >
>         <exclude name="web.xml" />
>       </webinf>
>       <metainf dir="${client.war.metainf}" >
>         <exclude name="manifest.mf" />
>       </metainf>
>     </war>
>
> let me know if i can provide anything else.
> Ryan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>