You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/05/10 01:51:30 UTC

DO NOT REPLY [Bug 34830] New: - WAR task LIB element must flatten its fileset

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34830>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34830

           Summary: WAR task LIB element must flatten its fileset
           Product: Ant
           Version: 1.6.1
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: roytmana@peacetech.com


Example:

  <property name="fop.apache.lib.dir" value="${apache.lib.dir}/fop"/>
  <fileset id="fop.fileset" dir="${fop.apache.lib.dir}" includes="fop.jar 
lib/batik.jar lib/avalon-framework.jar"/>
  <path id="fop.classpath">
    <fileset refid="fop.fileset"/>
  </path>


<war  ....>
  <lib refid="fop.fileset"/>
</war>

this task will create lib directory under WEB-INF/lib and put batik.jar avalon-
framework.jar in it resulting in following structure:

WEB-INF/lib/fop.jar
WEB-INF/lib/lib/batik.jar 
WEB-INF/lib/lib/avalon-framework.jar

instead of 
WEB-INF/lib/fop.jar
WEB-INF/lib/batik.jar 
WEB-INF/lib/avalon-framework.jar

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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