If the target you are calling MyApp, it is no surprise that the build will be very long and probably explodes in memory usage. Antcall is not meant to be used like this - instead target MyApp should simply depend on create-ear-file.
Ben -----Original Message----- From: Hanmay Udgiri [mailto:[EMAIL PROTECTED] Sent: Thursday, July 20, 2006 12:36 PM To: Ant Users List; Martin Gainty Subject: Re: Ant build Time I am Giving the code we are using for creating EAR file. it is small any file....... <target name="MyApp" <antcall target="clean"/> <antcall target="init"/> <antcall target="retrieve-frm-cvs"/> <antcall target="compile"/> <antcall target="create-resouce-jar"/> <antcall target="create-delegate-jar"/> <antcall target="create-ejb-jar"/> <antcall target="create-war-file"/> <antcall target="create-ear-file"/> </target> <target name="clean"> ....... </target> <target name="init" depends="clean"> ...... </target> <target name="init" depends="clean"> ...... </target> <target name="retrieve-frm-cvs" depends="init"> ...... </target> <target name="compile" depends="init,clean"> ...... </target> <target name="create-resouce-jar" depends="compile"> ...... </target> <target name="create-delegate-jar" depends="compile"> ...... </target> other jar steps......... <target name="create-ear-file" depends="create-delegate-jar,.........all-jar dependancies...."/> ........ </target> Any suggestion for improvements will be of great HELP. Thanks and Regards Hanmayya Udgiri On 7/20/06, Hanmay Udgiri <[EMAIL PROTECTED]> wrote: > > Hi > Actually It uses to take around 7-8 minutes but now it takes around 14 > min. > One factor is increase on No of JAVA files. > Earlier we had less no of files,now we have twice of earlier. > Is this could be one of the reaseon???? > > > > > On 7/19/06, Martin Gainty <[EMAIL PROTECTED]> wrote: > > > > ant -d will show the diags.. > > HTH, > > Martin -- > > ********************************************************************* > > This email message and any files transmitted with it contain > > confidential > > information intended only for the person(s) to whom this email message > > is > > addressed. If you have received this email message in error, please > > notify > > the sender immediately by telephone or email and destroy the original > > message without making a copy. Thank you. > > > > > > > > ----- Original Message ----- > > From: "Conor MacNeill" <[EMAIL PROTECTED]> > > To: "Ant Users List" <[email protected]> > > Sent: Wednesday, July 19, 2006 10:38 AM > > Subject: Re: Ant build Time > > > > > > > > > > Hanmay Udgiri wrote: > > >> Hi > > >> I have a ant build which takes around 15 minutes. > > >> Do we have any tips to reduce the time taken for the total build > > >> > > > > > > That's not a lot of info to go on. Can you see which steps in the > > build > > > are taking a long time and what are they? Are you doing multiple > > > compilations? Could they be done in one operation? > > > > > > Conor > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > -- > Thanks and Regards > Hanmayya Udgiri > -- Thanks and Regards Hanmayya Udgiri ************************************************************** This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. TIAA-CREF ************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
