[propel:build-model] erreur Win32FileSystem::compare()
Bonjour,
En exécutant la commande suivante pour construire ma BDD :
php symfony propel:build-model
PHP me retourne cette erreur :
>> propel Running "sql" phing task
PHP Strict standards: Declaration of Win32FileSystem::compare() should be compatible with FileSystem::compare($f1, $f2)
in
C:\wamp\www\appli\www\lib\vendor\symfony\lib\plugins\sfPropelPlugin\lib\vendor\phing\system\io\Win32FileSystem.php on line 475
J'ai la même erreur si j'exécute
php symfony propel:build-sql
Je suis sous Windows et j'utilise WAMPSERVER 2.2.
Si quelqu'un a une idée de comment résoudre le problème je suis preneur.
Merci
Même problème pour moi. Des solutions depuis ?
Bonjour,
je rencontre le même problème sur un projet en Symfony 1.2.
J'obtiens le même message et les classes ne se génèrent pas.
Avez-vous pu résoudre votre problème depuis, et si oui, comment ?
Merci.
Pour ma part, j'ai fait une mise à jour de Java dernièrement (7 vers 8), et je me demande s'il n'y a pas un lien de cause à effet car cette fonction de Symfony marchait bien sur mon poste avant. Mais je ne sais pas si c'est une bonne piste car je ne vois pas trop ce que Java a à voir avec Propel ...
Pour info, voici le message que j'obtiens en tapant la commande "php symfony propel:build-model":
D:\vmd\application>php symfony propel:build-model
>> schema converting "D:/vmd/application/config/schema.yml" to XML
>> schema putting D:/vmd/application/config/generated-schema.xml
>> propel Running "om" phing task
PHP Strict Standards: Declaration of Win32FileSystem::compare() should be compatible with FileSystem::compare($f1, $f2) in D:\vmd\application\lib\vendor\symfony\lib\plugins\sfPropelPlugin\lib\vendor\phing\system\io\Win32FileSystem.php on line 475
Strict Standards: Declaration of Win32FileSystem::compare() should be compatible with FileSystem::compare($f1, $f2) in D:\vmd\application\lib\vendor\symfony\lib\plugins\sfPropelPlugin\lib\vendor\phing\system\io\Win32FileSystem.php on line 475
Buildfile: D:\vmd\application\lib\vendor\symfony\lib\plugins\sfPropelPlugin\lib\vendor\propel-generator\build.xml
[resolvepath] Resolved D:\vmd\application\config to D:\vmd\application\config
propel-project-builder > check-project-or-dir-set:
propel-project-builder > check-project-set:
propel-project-builder > set-project-dir:
propel-project-builder > check-buildprops-exists:
propel-project-builder > check-buildprops-for-propel-gen:
propel-project-builder > check-buildprops:
propel-project-builder > configure:
[echo] Loading project-specific props from D:\vmd\application\config/propel.ini
[property] Loading D:\vmd\application\config\propel.ini
propel-project-builder > om:
[phing] Calling Buildfile 'D:\vmd\application\lib\vendor\symfony\lib\plugins\sfPropelPlugin\lib\vendor\propel-generator\build-propel.xml' with target 'om'
[property] Loading D:\vmd\application\lib\vendor\symfony\lib\plugins\sfPropelPlugin\lib\vendor\propel-generator\.\default.properties
propel > check-run-only-on-schema-change:
propel > om-check:
propel > mysqli-check:
propel > om:
[echo] +------------------------------------------+
[echo] | |
[echo] | Generating Peer-based Object Model for |
[echo] | YOUR Propel project! |
[echo] | |
[echo] +------------------------------------------+
[phingcall] Calling Buildfile 'D:\vmd\application\lib\vendor\symfony\lib\plugins\sfPropelPlugin\lib\vendor\propel-generator\build-propel.xml' with target 'om-template'
[property] Loading D:\vmd\application\lib\vendor\symfony\lib\plugins\sfPropelPlugin\lib\vendor\propel-generator\.\default.properties
propel > om-template:
[propel-om] Processing: generated-schema.xml
[propel-om] Processing Datamodel : JoinedDataModel
[propel-om] - processing database : propel
[propel-om] + affaire
[propel-om] -> BaseAffairePeer [builder: SfPeerBuilder]
[propel-om] -> BaseAffaire [builder: SfObjectBuilder]
[propel-om] -> AffaireMapBuilder [builder: SfMapBuilderBuilder]
[propel-om] -> (exists) AffairePeer
[propel-om] -> (exists) Affaire
[propel-om] + agregat
[propel-om] -> BaseAgregatPeer [builder: SfPeerBuilder]
[propel-om] -> BaseAgregat [builder: SfObjectBuilder]
D:\vmd\application>