ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22748] New: - war task create empty file in case of empty lib dir
Date Wed, 27 Aug 2003 09:03:31 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22748>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22748

war task create empty file in case of empty lib dir

           Summary: war task create empty file in case of empty lib dir
           Product: Ant
           Version: 1.5.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: m_pashka@mail.ru


war task stop creating war file after processing empty lib directory.

E.g. we have empty lib directory (${dir.lib}/web).
This task creates empty war file:
        <war destfile="${file.out.war}" manifest="${file.manifest.out}" 
webxml="${dir.src.jsp}/WEB-INF/web.xml" >
            <lib dir="${dir.lib}/web" />
            <classes dir="${dir.out.java}" />
            <fileset dir="${dir.src.web}/static" />
            <fileset dir="${dir.src.jsp}" />
        </war>

And this task creates non-empty war file:
        <war destfile="${file.out.war}" manifest="${file.manifest.out}" 
webxml="${dir.src.jsp}/WEB-INF/web.xml" >
            <classes dir="${dir.out.java}" />
            <fileset dir="${dir.src.web}/static" />
            <fileset dir="${dir.src.jsp}" />
            <lib dir="${dir.lib}/web" />
        </war>

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


Mime
View raw message