Interesting idea. Not as obvious to the beginner, but more "standard". One problem is that "merge" is extremely cryptic in this context. "fullpath" or "exact" or something would be OK.
It also doesn't solve the problem that this only makes sense for zip, copy, move, etc. Do we have to make this <mappedfileset>? Alex > -----Original Message----- > From: Peter Donald [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 13, 2000 7:21 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: RE: cvs commit: > jakarta-ant/src/main/org/apache/tools/ant/taskdefs Jar.java War.java > Zip.java > > > Hmmm - I just had a thought. What does every one think about > associating a > mapper with each fileset ? > > We could thus have something like > > <fileset dir="my/dir/"> > <include name="**/*.classes" /> > <mapper type="prefix" to="my/prefix"> > </fileset> > > for prefixes. Or > > <fileset dir="my/dir/"> > <include name="my-manifest.mf" /> > <mapper type="merge" to="META-INF/MANIFEST.MF"> > </fileset> > > for single files ? > >
