I was trying to compile all the java files under that "/com" directory, but no 
good. The reason is some of the files under that source tree are not ready for 
build. That is why I found a way to build files under some subdir. 
But since there are some depends, so I have to force some files to build before 
others. 
 
I don't know how you can "configure the task" in that situation ? In the case 
that I have given, the ANT always build the files in that order 
"
com/contractor/useraccount/**
com/manager/useraccount/**
com/supplier/useraccount/**
com/users/useraccount/**
 "
NOT
"
com/manager/useraccount/**
com/contractor/useraccount/**
com/supplier/useraccount/**
com/users/useraccount/**
"
 
-CJ

-----Original Message-----
From: Jeffrey E Care [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 05, 2006 10:40 AM
To: Ant Users List
Subject: Re: build sub-source tree in the order I specified.
Importance: Low



If you configure the task correctly the file order doesn't matter: the compiler 
will figure out the proper order.

____________________________________________________________________________________________
 

Jeffrey E. (Jeff) Care  

 <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] 
IBM WebSphere Application Server Development    

WAS Pyxis Lead Release Engineer 
WebSphere Mosiac        

WebSphere Brandmark



"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