ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Semenko" <Igo...@kyiv.vdiweb.com>
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" />

    </fileset>

</path>

 

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" />

  </copy>

 

And then create ear including files from temp_lib dirs:

<ear ..>

    <fileset dir="temp_libs">

      <include name="*.jar" />

    </fileset>

</ear>

 

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

 

Thanks.

 

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

mailto: IgorSe@kiev.vdiweb.com
http://www.vdiweb.com <http://www.vdiweb.com> 

 


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