Modify

Ticket #452 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

DeleteTask cannot delete files that begin with ~ (tildas)

Reported by: anonymous Owned by: mrook
Priority: major Milestone: 2.4.1
Component: phing-core Version: 2.4.0
Keywords: Cc:

Description

<delete dir="${targetDirectory}" includeemptydirs="true" verbose="false" />

Attachments

Change History

comment:1 Changed 2 years ago by anonymous

I found a work around by using fileset.

<delete includeemptydirs="true" verbose="false" >

<fileset dir="${targetDirectory}" />

</delete>

It would be nice if I didn't have to include the fileset, but this works, too.

comment:2 Changed 2 years ago by mrook

The tilde character is used to denote the home directory, not sure why you would want to use that character in other paths?

comment:3 Changed 2 years ago by mrook

  • Status changed from new to closed
  • Resolution set to invalid
View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.