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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to