Re: cvs: pear /PHP_CompatInfo package.xml package2.xml

From: Date: Wed, 30 Aug 2006 16:36:33 +0000
Subject: Re: cvs: pear /PHP_CompatInfo package.xml package2.xml
References: 1 2  Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-41920@lists.php.net to get a copy of this message
Greg Beaver a écrit :
This is pretty much wrong because you are instructing PEAR to ignore the .bat file on windows. I would suggest using this phprelease tag set: <phprelease> <installconditions> <os> <name>windows</name> </os> </installconditions> <filelist> <install as="compatinfo.bat" name="scripts/compatinfo.bat" /> </filelist> </phprelease> <phprelease> <filelist> <ignore name="scripts/compatinfo.bat" /> </filelist> </phprelease> I know you use PFM2 to make this, so what you want is $pfm->addRelease(); $pfm->setOsInstallCondition('windows'); $pfm->addInstallAs('scripts/compatinfo.bat', 'compatinfo.bat'); $pfm->addRelease(); $pfm->addIgnoreToRelease('scripts/compatinfo.bat'); This should clear up the problems you've experienced with getting the thing to work. Greg Thanks Greg for help you provides
It allow me to find my error in the PEAR_PackageFileManager_Frontend too (source of generation problem). Thanks a lot :-) I'll then continue on PHP_CompatInfo release process now ! Available in few minutes on PEAR website. Laurent

« previous php.pear.cvs (#41920) next »