ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Why doesn't the path on a Jar file is puted when using fileset on a jar Tag?
Date Fri, 31 Aug 2001 00:09:47 GMT
--- Peter Donald <donaldp@apache.org> wrote:
> Try something like
> 
> <target name="jar_ejb" depends="compile_ejb">
>   <jar jarfile="D:/vicsa/HelloEJBAfil.jar"
>         basedir="D:/vicsa/Construccion"
>         includes="afiliacion/EJB/**/*.*">
> 
>  <!-- here comes the file set -->
>     <fileset dir="D:/vicsa/Construccion/">
>        <include name="arquitectura/EJB/FachadaGeneral.class"/>
>        <include name="arquitectura/EJB/FachadaGeneralHome.class"/>
>     </fileset>
> 
>     <fileset dir="D:/vicsa/Construccion/">
>       <include name="arquitectura/util/RequestMappingValue.class"/>
>     </fileset>
> ...

If the basedir is D:/vicsa/Construccion for all the files you're putting
into this jar-file, you don't need all those separate <fileset>'s. You can
just do them all as <include>'s (and save yourself some typing :)

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

Mime
View raw message