java - Copy the folder along with parent folder -


i have simple question, unable figure out way it. have folder called edsdk , internally contains sub-folders. in ant wish copy files.

i.e.

edsdk

  • headers
  • dlls

i wish copy whole above (including edsdk). doing:

<fx:fileset dir="." type="data" includes="edsdk/**"/> 

copies internal of edsdk folder not edsdk folder itself. should do?

ps: above fx:fileset similar fileset

doing:

<fx:fileset dir="." type="data" includes="edsdk/"/> 

does trick.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -