ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chun Ji" <...@pro-unlimited.com>
Subject RE: build sub-source tree in the order I specified.
Date Wed, 05 Jul 2006 17:49:09 GMT
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:carej@us.ibm.com]
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:carej@us.ibm.com> carej@us.ibm.com 
IBM WebSphere Application Server Development 	

WAS Pyxis Lead Release Engineer 
WebSphere Mosiac 	

WebSphere Brandmark



"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