Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 18566 invoked from network); 18 Feb 2004 17:51:17 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 18 Feb 2004 17:51:17 -0000 Received: (qmail 59090 invoked by uid 500); 18 Feb 2004 17:50:42 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 59042 invoked by uid 500); 18 Feb 2004 17:50:41 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 58997 invoked from network); 18 Feb 2004 17:50:41 -0000 Received: from unknown (HELO web20723.mail.yahoo.com) (216.136.226.77) by daedalus.apache.org with SMTP; 18 Feb 2004 17:50:41 -0000 Message-ID: <20040218175045.16896.qmail@web20723.mail.yahoo.com> Received: from [129.33.1.37] by web20723.mail.yahoo.com via HTTP; Wed, 18 Feb 2004 09:50:45 PST Date: Wed, 18 Feb 2004 09:50:45 -0800 (PST) From: priya pallavi Subject: build.xml Examples To: user@ant.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-66012626-1077126645=:16650" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --0-66012626-1077126645=:16650 Content-Type: text/plain; charset=us-ascii Hello Friends this is Priya again with a request, Iam working on a J2EE application called BMS.I have 3 Modules In my application. 1.BmsEAR 2.BmsEJB 3.BmsWeb I need to create 1..jar file with code from BmsEJB Module 2..war file with code from BmsWeb Module 3..ear file with .jar and .war For this to happen iam following this strategy 1.Get the latest WEB related code from CVS and put in a directory For ex.WebCvs 2.Get the latest EJB related code from CVS and put in a directory For ex.EjbCvs 3.Compile the code under WebCvs and put it in other Dir ex.WebCvsCom 4.Compile the code under EbjCvs and put it in other Dir ex.EjbCvsCom 5.create a .war with files from WebCvsCom 6.create a .jar with files from EjbCvsCom 7.Create a .ear with .war and .jar created in above 2 steps(5 and 6) and put it in a dir for deployment Whats my problem is when iam trying to compile my web module , its saying it can't find resources in EJBModule and vice verca.., My Doubt is for example when my ant is trying to compile x.java and that x.java(in weblodule) uses y.java(in EJB MOdule) , Is my x.java looking for y.java or y.class or EJBModule.jar The Other problem i guess is iam using 4 directories under C: Some one please send me sample build.xml files doing simillar functionality or which you feel are helpful. Thanks & Regards Priya --------------------------------- Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. --0-66012626-1077126645=:16650--