ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Ant build Time
Date Thu, 20 Jul 2006 16:54:54 GMT
Hanmay-

Why are there 2 init targets?

M-
*********************************************************************
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: Hanmay Udgiri 
  To: Ant Users List ; Martin Gainty 
  Sent: Thursday, July 20, 2006 12:36 PM
  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 <hanmayya.udgiri@gmail.com> 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 < mgainty@hotmail.com> 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" <conor@apache.org>
      To: "Ant Users List" < user@ant.apache.org>
      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: user-unsubscribe@ant.apache.org 
      > For additional commands, e-mail: user-help@ant.apache.org 
      >
      >




    -- 
    Thanks and Regards
    Hanmayya Udgiri 



  -- 
  Thanks and Regards
  Hanmayya Udgiri 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message