Your ant-path matching needs to change I believe. '*' means all files in present directory. '**/*' is what you want I believe. That would mean any file in any subdirectory (present directory included). Easier yet, get rid of the <includes> tag altogether. If you don't specify any excludes or includes it defaults to taking everything. If you specify an include, it excludes everything except what you specified to be included.
On Dec 11, 2007 9:39 AM, tadamski <[EMAIL PROTECTED]> wrote: > > Hello all, I am attempting to pull all the contents out of a directory, > into > a specified output directory. The problem I'm running into is that I am > only getting the root contents, no files or folders in the first level of > subdirectories. The code I am attempting to get to work is the following: > > <filesets> > <fileset> > <directory>subModule/java/jre</directory> > <outputDirectory>target/jre</outputDirectory> > <includes> > <include>*</include> > </includes> > </fileset> > </filesets> > > This will not get the contents of the subdirectories...Is there a trick > for > including all the contents without having to go through and specifying all > of the subdirectories? Or perhaps unpackage a zip file into a specified > output directory? > > Thank you. > -- > View this message in context: > http://www.nabble.com/Assembly-plugin---help-include-all-subdirectories-tp14275248s177p14275248.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
