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 Priya Vijay Prasanna <[EMAIL PROTECTED]> 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 things 1.Get the latest WEB related code from CVS and put in a directory For ex.WebCvs -----> cvs task with command checkout 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 ----> javac task 4.Compile the code under EbjCvs and put it in other Dir ex.EjbCvsCom ----> " 5.create a .war with files from WebCvsCom----> war task 6.create a .jar with files from EjbCvsCom -----> jar task 7.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. Thanks Priya Vijay 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:[EMAIL PROTECTED] Sent: Tuesday, February 17, 2004 12:15 PM To: Ant Users List Subject: Re: creating .ear using ANT some one plzzz... suggest me priya pallavi wrote:Hello Friends, 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 As 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 respectively Thanks In Advance Priya. Thanks Again Priya --------------------------------- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online --------------------------------- Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online
