Interesting Question
The way I structure projects goes like
<Company>/<PackageName>/<ClassName>/<HelperClass>
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..
BigHealthCareCompany/HeartImager/Fibrillator/AtrialFibrillatorComponents
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  [EMAIL PROTECTED]  
        IBM WebSphere Application Server Development  WAS Pyxis Lead Release 
Engineer  
           



  "Chun Ji" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
  > For additional commands, e-mail: [EMAIL PROTECTED]
  > 

Reply via email to