Hi again,
This approach works if the name of the projects are known in advance, but
this is not the case.
Sorry if I was a bit unclear about this. So I need a way to do this more
generic!
BR
L
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, March 10, 2008 6:58 AM
Subject: AW: copy multiple directories into one
<copy todir="Target/src">
<fileset dir="ProjectA/src"/>
<fileset dir="ProjectB/src"/>
</copy>
Jan
-----Ursprüngliche Nachricht-----
Von: Lars Ohlén [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 9. März 2008 13:14
An: [email protected]
Betreff: copy multiple directories into one
Hi Ant Users!
I have a bunch of directories that contains a src folder that
contains java code (in package structure)
I want to copy all the directoreis belove the src directory
into one diretory (basiclly I want to move all java files
including the package structure into one location).
See below.
I have not found any way to do this. Can anyone share some sample?
BR
L
What I have:
Project A
|
|---- src
|----- com
|
|--- company
|
|----- package1
|
|--- <java files>
...
Project n
|
|---- src
|----- com
|
|--- company
|
|----- package2
|
|--- <java files>
What I want the result to be is
Target
|
|---- src
|----- com
|
|--- company
|
|----- package1
|
|--- <java files>
|----- package2
|
|--- <java files>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]