https://issues.apache.org/bugzilla/show_bug.cgi?id=51602
Stefan Bodewig <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID OS/Version| |All --- Comment #1 from Stefan Bodewig <[email protected]> 2011-08-04 16:03:02 UTC --- You are misunderstanding what basedir does. basedir and nested filesets are totally unrelated. With basedir you create an implicit fileset with its dir attribute set to the value given in basedir. I.e. you now have two completely independent filesets. basedir in any of the "directory based tasks" really only is historical baggage we have to carry around for backwards compatibility. Don't use it for anythig, only use nested filesets (or other suitable resource collections). The dir attribute of the fileset is resolved against your project's basedir, not the one of your task. If your macrodef is close to what you are trying to do then I guess you want <zip destfile="@{zip-base-dir}/@{zip-filename}"> <fileset dir="@{zip-base-dir}/@{zip-dir-path}" /> </zip> but I'm not sure I understand your usecase. Please use the user mailing list if you need additional information. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
