classes/phing/tasks/ext/SymlinkTask.php
Generates symlinks based on a target / link combination.
Can also symlink contents of a directory, individually
Single target symlink example:
Symlink entire contents of directory
This will go through the contents of "/my/shared/library/*"
and create a symlink for each entry into ${project.basedir}/library/
- author
- Andrei Serdeliuc
- extends
- Task
- package
- phing.tasks.ext
- version
- $ID$
\SymlinkTask
Generates symlinks based on a target / link combination.
Can also symlink contents of a directory, individually
Single target symlink example:
Symlink entire contents of directory
This will go through the contents of "/my/shared/library/*"
and create a symlink for each entry into ${project.basedir}/library/
- Extends from
- \Task
- author
- Andrei Serdeliuc
- copyright
- 2001,2002 THYRELL. All rights reserved
- extends
- Task
- package
- phing.tasks.ext
- version
- $ID$
Properties

array
$_filesets= 'array'
Collection of filesets Used when linking contents of a directory
(default value: array())
arrayDetails- Type
- array
- access
- private

string
$_link= 'null'
Symlink location
(default value: null)
nullDetails- Type
- string
- access
- private
Methods

createFileset(
)
:
\FileSet| Type | Description |
|---|---|
| \FileSet |
- access
- public

getMap(
)
:
array|string| Type | Description |
|---|---|
| arraystring |
- access
- protected

setLink(
string $link
)
:
void| Name | Type | Description |
|---|---|---|
| $link | string |
- access
- public

setTarget(
string $target
)
:
void| Name | Type | Description |
|---|---|---|
| $target | string |
- access
- public