On Fri, 31 Aug 2001 09:20, Edgar "Sánchez" wrote:
>   Hi everyone, i think I got it... but the only thing,
> and hope the last one is to put the path of the file
> for the 4 files I put into my jar.  After generating
> the jar I checked it out, and see if those files were
> added..... the files were added with no path on it :-(

thats because you tell it not to add path ;)

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>
...


-- 
Cheers,

Pete

--------------------------------------------------
you've made a dangerous leap right over common 
sense, like some kind of metaphysical Evil Knievel
--------------------------------------------------

Reply via email to