Le mardi 02 décembre 2008, Knuplesch, Juergen a écrit :
> 
> Hello,
> 
[...]
> 
> 2.You want ordered filesets not unordered filsets, but it should be the user 
> who defines the order! I sometimes had the same problem. The problem is, 
> that filsets do not guarantee any order. 

Well, I figured out that if you passed a file as includesfile with, say, f3, 
f1 and f2 in this order, it would stay this way... But it doesn't. Instead, I 
get f1, f2 and f3.

> I think filelists could help, but I never really tried.
> I solved it by putting several filsets in the order I want.
> 

I have tried filelists, but the concat task doesn't support a nested 
filelist :( Haven't tried ant 1.7 though. And I must use the file  list 
provided, since the list (and the order) may change. Right now, I use a shell 
script.

> 
> 3.I did not try this, but it seems not too difficult, perhaps I dont know 
> enough about cp. 
> What about
> 
>     <copy todir="dstdir"> 
>       <fileset>
>         <include name="**/src/java/**"/>
>       </fileset>
>     </copy>
> 

I'll try that and report.

Thanks!
-- 
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 6 83 87 78 75
Tel : +33 (0) 1 78 94 55 52
[EMAIL PROTECTED]
40 avenue Raymond Poincaré
75116 Paris

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to