Modify ↓
Ticket #469 (new defect)
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
Note: See
TracTickets for help on using
tickets.

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