ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
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
<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  carej@us.ibm.com  
        IBM WebSphere Application Server Development  WAS Pyxis Lead Release Engineer  
           



  "Chun Ji" <CJi@pro-unlimited.com> 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: user-unsubscribe@ant.apache.org
  > For additional commands, e-mail: user-help@ant.apache.org
  > 

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