Modify

Ticket #469 (new defect)

Opened 2 years ago

Last modified 15 months ago

There is something weird in copyTask

Reported by: anonymous Owned by: mrook
Priority: major Milestone: 2.5.0
Component: phing-tasks-system Version: 2.4.0
Keywords: copytask Cc:

Description

I'm trying to copy dojo toolkit to other location by using this:

<target name="copydojo" description="Copy dojo toolkit.">
  <copy todir="${base.dir}/public/js">
    <fileset dir="${dojo.toolkit.dir}">
      <include name="dojo/**" />
      <include name="dojox/** />
      <include name="dijit/**" />
      <include name="util/**" />
    </fileset>
  </copy>
</target>

This gives the fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 71 bytes) in /usr/share/php/phing/tasks/system/CopyTask.php on line 285

However, if I remove <include name="dojox/ /> line, the copyTask works. BUT it has also copied dojox folder that is pretty weird.

The target given below gives the same error:

<target name="copydojo" description="Copy dojo toolkit.">
  <copy todir="${base.dir}/public/js">
    <fileset dir="${dojo.toolkit.dir}">
      <include name="**" />
      <exclude name="demos/**" />
    </fileset>
  </copy>
</target>

Attachments

Change History

comment:1 Changed 2 years ago by mrook

Large filesets do need a sizable amount of memory, I'll try reproducing your other issue.

comment:2 Changed 2 years ago by mrook

  • Milestone changed from 2.4.2 to 2.4.3

comment:3 follow-up: ↓ 5 Changed 20 months ago by mrook

Which PHP version are you running?

comment:4 Changed 19 months ago by mrook

  • Milestone changed from 2.4.3 to 2.5.0

comment:5 in reply to: ↑ 3 Changed 19 months ago by anonymous

Replying to mrook:

Which PHP version are you running?

5.2.6.dfsg.1-1+lenny9

comment:6 Changed 15 months ago by anonymous

This might be related to #544

View

Add a comment

Modify Ticket

Action
as new
Author


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

 
Note: See TracTickets for help on using tickets.