ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <>
Subject Re: build sub-source tree in the order I specified.
Date Wed, 05 Jul 2006 17:52:07 GMT
Interesting Question
The way I structure projects goes like
the order of compilation
All Helper classes compiled first
All classes of ClassName compiled
Package compiled
Company specific files compiled

So in the case where you may have this equipment listing..
All of the AtrialFibrillatorComponents must be compiled before 
parent class Fibrillator which must be compiled before 
HeartImager component files must be compiled..

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: Jeffrey E Care 
  To: Ant Users List 
  Sent: Wednesday, July 05, 2006 1:39 PM
  Subject: Re: build sub-source tree in the order I specified.

  If you configure the task correctly the file order doesn't matter: the compiler will figure
out the proper order.
        Jeffrey E. (Jeff) Care  
        IBM WebSphere Application Server Development  WAS Pyxis Lead Release Engineer  

  "Chun Ji" <> wrote on 07/05/2006 01:20:34 PM:

  > Hi 
  > I can edit a "list.txt" files as follows
  > "
  > com/manager/useraccount/**
  > com/contractor/useraccount/**
  > com/supplier/useraccount/**
  > com/users/useraccount/**
  > ...
  > "
  > And put such target in the build.xml 
  > "<target name="compile" ... > 
  >    <javac .... includesfile="list.txt"> 
  > </target>
  > "
  > In that way, the ANT will compile the files under each directory I 
  > specified one by one, but is in Alphabetical Order, NOT the order I 
  > specified in that list. 
  > So the question I have is how to make these files compiled in the 
  > order I specified ? 
  > -cj
  > ---------------------------------------------------------------------
  > To unsubscribe, e-mail:
  > For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message