>+ * a new resource collection <mappedresources> generalizes the prefix
>+   and fullpath attributes of <zipfileset> to arbitrary mappers that
>+   can be applied to arbitrary resource collections.
>+   Bugzilla Report 4240.
>+
>+  <p>Creates a WAR archive adding all CLASSPATH entries that are files
>+    to the <code>WEB-INF/lib</code> directory without keeping their
>+    files-system structure.</p>
>+
>+  <pre>
>+    &lt;war destfile="${output}"&gt;
>+      &lt;mappedresources&gt;
>+        &lt;restrict&gt;
>+          &lt;path path="${java.class.path}"/&gt;
>+          &lt;type type="file"/&gt;
>+        &lt;/restrict&gt;
>+        &lt;chainedmapper&gt;
>+          &lt;flattenmapper/&gt;
>+          &lt;globmapper from="*" to="WEB-INF/lib/*"/&gt;
>+        &lt;/chainedmapper&gt;
>+      &lt;/mappedresources&gt;
>+    &lt;/war&gt;
>+  </pre>    
>+</blockquote>


Are these closed now?
* https://issues.apache.org/bugzilla/show_bug.cgi?id=19523
  zip/unzip should have the capability to use a mapper
  Opened: 2003-05-01 18:01 PST
* https://issues.apache.org/bugzilla/show_bug.cgi?id=31947
  War task should flatten files in <lib> element
  Opened: 2004-10-28 21:17 PST


Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to