ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Ohlén <l...@ohlen.se>
Subject copy multiple directories into one
Date Sun, 09 Mar 2008 12:13:52 GMT
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>





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