Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 48678 invoked from network); 17 Feb 2004 20:03:15 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 17 Feb 2004 20:03:15 -0000 Received: (qmail 33001 invoked by uid 500); 17 Feb 2004 20:02:52 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 32954 invoked by uid 500); 17 Feb 2004 20:02:52 -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 32904 invoked from network); 17 Feb 2004 20:02:51 -0000 Received: from unknown (HELO web20729.mail.yahoo.com) (216.136.226.119) by daedalus.apache.org with SMTP; 17 Feb 2004 20:02:51 -0000 Message-ID: <20040217200256.36139.qmail@web20729.mail.yahoo.com> Received: from [129.33.1.37] by web20729.mail.yahoo.com via HTTP; Tue, 17 Feb 2004 12:02:56 PST Date: Tue, 17 Feb 2004 12:02:56 -0800 (PST) From: priya pallavi Subject: Re: creating .ear using ANT To: Aditya Chinni , user@ant.apache.org In-Reply-To: <40326410.9060106@sun.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1272578265-1077048176=:36033" 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-1272578265-1077048176=:36033 Content-Type: text/plain; charset=us-ascii I have installed C:\jdk\j2sdk1.4.2 and set JAVA_HOME = C:\jdk\j2sdk1.4.2,and configured Windows/Preferences/Java/Environment variables to C:\jdk\j2sdk1.4.2 , but no use still iam getting that exception. Aditya Chinni wrote: Your problem and solution is written over there. Modern will work with JDK 1.3 onwards, Classic is for JDK 1.1 and 1.2 set JAVA_HOME variable. if you decided to use only one JDK, set that as env variable and you can safely remove that parameter itself Aditya priya pallavi wrote: Hi, when iam trying to compile some java files Iam getting the followin exception [javac] Modern compiler not found - looking for classic compiler[javac] BUILD FAILED: file:C:/WSAD_WORKSPACES/Bms/BmsEAR/META-INF/build.xml:52: Cannot use classic compiler, as it is not available. A common solution is to set the environment variable JAVA_HOME to your jdk directory.Iam facing problems with this problem , can any one suggest me what i need to do Thanks PriyaVijay Prasanna wrote:Ideal solution is store the variables with values(basically name,value pairs), ie property file for pathnames, filenames etc and use 'loadproperties' task before any of the task.Hi Vijay Thanks for your concern,Actually i need to do the following things1.Get the latest WEB related code from CVS and put in a directory For ex.WebCvs -----> cvs task with command checkout2.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 ----> javac task4.Compile the code under EbjCvs and put it in other Dir ex.EjbCvsCom ----> "5.create a .war with files from WebCvsCom----> war task6.create a .jar with files from EjbCvsCom -----> jar task7.Create a .ear with .war and .jar created in above 2 steps(5 and 6) and put it in a dir for deployment ----> ear task.ThanksPriyaVijay Prasanna wrote:Use loadfile or loadproperties task to get the absolutepath, & hope u r aware of other ant tasks (EAR,WAR,JAR) and create the build xml file with these three tasks.-----Original Message-----From: priya pallavi [ mailto:pry_pallavi@yahoo.com]Sent: Tuesday, February 17, 2004 12:15 PMTo: Ant Users ListSubject: Re: creating .ear using ANTsome one plzzz... suggest mepriya pallaviwrote:Hello Friends,Iam working on a J2EE application called BMS.I have 3 Modules In my application.1.BmsEAR2.BmsEJB3.BmsWebI need to create1..jar file with code from BmsEJB Module2..war file with code from BmsWeb Module3..ear file with .jar and .warAs i have only one build.xml under BmsEAR Module , how can i access the other modules using ANT script.Right now iam creatting .war by using path like C:\WSAD_WORKSPACES\Secondworkspace\BmsWeb\WebContent for testing purpose.But i think we shouldn't use absolute path.Some one please help me how to access the oEJB and WEB modules for creating .jar and .war respectivelyThanks In AdvancePriya.Thanks AgainPriya---------------------------------Do you Yahoo!?Yahoo! Finance: Get your refund fast by filing online---------------------------------Do you Yahoo!?Yahoo! Finance: Get your refund fast by filing online---------------------------------------------------------------------To unsubscribe, e-mail: user-unsubscribe@ant.apache.orgFor additional commands, e-mail: user-help@ant.apache.org---------------------------------Do you Yahoo!?Yahoo! Finance: Get your refund fast by filing online---------------------------------Do you Yahoo!?Yahoo! Finance: Get your refund fast by filing online --------------------------------- Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online --0-1272578265-1077048176=:36033--