You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by T Master <tm...@iknowledgeinc.com> on 2001/08/27 22:06:19 UTC

ejbjar task and support nested element


This is probably something simple, but....  my support task doesn't seem to
work.  My resultant jar file does not include the files i specified.
Ideas?  Using ant1.4 beta2 and jdk1.3.1 on win2k.




    <target name="deploy2" depends="init, compileProject">
        <ejbjar descriptordir="${src.dir}/${project.path.ejb}"
                srcdir="${build.dir}"
                basejarname="AppServer-Deploy">
            <weblogic destdir="${dist.dir}"
                      keepgeneric="true"
                      rebuild="false"
                      newCMP="false">
                <classpath refid="project.class.path"/>
                <wlclasspath refid="ejb.descriptor.build.classpath"/>
            </weblogic>
            <include name="ejb-jar.xml"/>
            <exclude name="weblogic-ejb-jar.xml"/>
            <support dir="${src.dir}">
                <include name="${project.path}/**/*.class"/>
            </support>
        </ejbjar>
     </target>

T Master


Re: ejbjar task and support nested element

Posted by T Master <tm...@iknowledgeinc.com>.
You know you're an idiot when you try and include class files from your src
directory.
As Homer says...DOH!

----- Original Message -----
From: "T Master" <tm...@iknowledgeinc.com>
To: "ant user mailist" <an...@jakarta.apache.org>
Sent: Monday, August 27, 2001 2:06 PM
Subject: ejbjar task and support nested element


>
>
> This is probably something simple, but....  my support task doesn't seem
to
> work.  My resultant jar file does not include the files i specified.
> Ideas?  Using ant1.4 beta2 and jdk1.3.1 on win2k.
>
>
>
>
>     <target name="deploy2" depends="init, compileProject">
>         <ejbjar descriptordir="${src.dir}/${project.path.ejb}"
>                 srcdir="${build.dir}"
>                 basejarname="AppServer-Deploy">
>             <weblogic destdir="${dist.dir}"
>                       keepgeneric="true"
>                       rebuild="false"
>                       newCMP="false">
>                 <classpath refid="project.class.path"/>
>                 <wlclasspath refid="ejb.descriptor.build.classpath"/>
>             </weblogic>
>             <include name="ejb-jar.xml"/>
>             <exclude name="weblogic-ejb-jar.xml"/>
>             <support dir="${src.dir}">
>                 <include name="${project.path}/**/*.class"/>
>             </support>
>         </ejbjar>
>      </target>
>
> T Master
>