ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Semenko" <>
Subject Creating war/ear directly from path
Date Thu, 22 Dec 2005 16:46:42 GMT
Hi, all.


In our build file we use path definition like this:
<path id="ear.libs">

    <fileset dir="${lib.dir}">

      <include name="asm/jars/*.jar" />




When building ear file we copy all those files into temp dir using flattenmapper:

  <copy todir="temp_libs">

    <mapper type="flatten" />

    <fileset refid="ear.libs" />



And then create ear including files from temp_lib dirs:

<ear ..>

    <fileset dir="temp_libs">

      <include name="*.jar" />




Is it possible to somehow skip copying jar files into temp directory and include them into
ear directly based on path declared earlier?




Igor Semenko
Senior Java Developer
Vested Development Inc.
+38 (044) 496-77-20
ICQ: 105700076

mailto: <> 


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message