Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 71183 invoked from network); 25 Oct 2000 20:43:16 -0000 Received: from 212186011236.11.tuwien.teleweb.at (HELO yasd.dhs.org) (212.186.11.236) by locus.apache.org with SMTP; 25 Oct 2000 20:43:16 -0000 Received: from gottfried.yasd.dhs.org (gottfried.yasd.dhs.org [192.168.10.20]) by yasd.dhs.org (Postfix) with ESMTP id 8C40147358F for ; Wed, 25 Oct 2000 22:42:20 +0200 (CEST) Date: Wed, 25 Oct 2000 22:44:45 +0200 (CEST) From: Gottfried Szing To: ant-user@jakarta.apache.org Subject: Re: Help with EJBJAR In-Reply-To: <4.3.0.20001025140623.00b97960@boulder.beasys.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N On Wed, 25 Oct 2000, Dave Inskeep wrote: > Here's the target that I've been using. Not perfect, but it > works. > > (pre tags added for those with HTML mail readers, you can > leave those out :) > >
>    
>      
>                    descriptordir="${src.dir}">
>        
>        
>        
>                          classpath="${classpath.weblogic};${build.dir}"/>
>      
>    
> 
because i am til friday not at work - tomorrow is in austria a red-letter day ;) - i cannot test this. so the next question could be very silly. i hope not. usually for compiling a bean you need at least thres java source files (remote and home interface and the bean itself). let us assume these three are named Xhome.java, X.java and Xbean.java. this is the convention we use at work. and because this bean is a session bean i need an additional ejb-jar.xml and a weblogic-ejb-jar.xml. and all this files - and only these files - are located in e.g. /home/java/anttest/ so how would the target would look like? i cannot imagine how this works. i dont got it. first i have to compile the class files i think. right? e.g. with the javac task. but how does the ejbjar task know what files to take? does it extract this info from the deployment descriptor or does it simply takes all classes in the src dir? -- cu, goofy To predict the future, you must know the past. -Pat Artis --> http://yasd.dhs.org/ ICQ: 34550587