Hello,
I suppose this question is for Greg, but perharps someone
else know the
reason. Feel free to reply !
While i've implemented the installation name condition,
PEAR_PackageFile_v2_rw::addInstallAs(), on my PFM2 frontend
few minutes
ago, i've noticed on package xml 2.0 result :
(BTW, it's also valuable with other tools to make package)
1. without addInstallAs condition
a package xml 2.0 is shown as
<contents>
<dir baseinstalldir="PhpDocumentor"
name="/">
<file
name="docbuilder/images/rc-gui-install-24.png"
role="data" />
...
</dir>
</contents>
2. WITH addInstallAs condition specified
a package xml 2.0 is built with baseinstalldir attribute
on each
<file> tag while it is already defined on <dir>
tag
<contents>
<dir baseinstalldir="PhpDocumentor"
name="/">
<file baseinstalldir="PhpDocumentor"
name="docbuilder/images/rc-gui-install-24.png"
role="data" />
...
</dir>
</contents>
My question:
Is it really necessary to have such dupplicate information ?
A reason
behind this ?
Thanks in advance for all answers
Laurent
--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|