ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40313] New: - <delete> doesnt delete when defaultexcludes="false" and no includes is set
Date Thu, 24 Aug 2006 23:24:24 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40313>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40313

           Summary: <delete> doesnt delete when defaultexcludes="false" and
                    no includes is set
           Product: Ant
           Version: 1.7Alpha (nightly)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: stevel@apache.org


I am pretty surprised by this, but I think somehow we've got delete to fail. Its
possibly a regression, but this is what I am trying to delete

    <delete dir="${dist.dir}"
        defaultexcludes="false"
      />

expected: the dir gets deleted, even if there is scm stuff in there

actual: nothing gets deleted, because I need a selection pattern

   [delete] DEPRECATED - Use of the implicit FileSet is deprecated.  Use a
nested fileset element instead.
Could not load class (org.apache.tools.ant.taskdefs.optional.ide.VAJImport) for
type vajimport
fileset: Setup scanner in dir
/home/slo/Projects/sfantbook/examples/diary/persist-webapp/dist with patternSet{
includes: [] excludes: [] }

Now, the implicit fileset is **/*. But as soon as you say
defaultexcludes="false" it switches to ""? That can't be right.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message