From: Andreas A. <a.a...@th...> - 2001-08-24 10:55:41
|
Hi Andris, [cvs] > Yup. The server said: cvs [server aborted]: "commit" requires write > access to the repository... Hmm.. Did you set up the SSH stuff correctly? You can also use pserver with sourceforge but thats readonly. You're using windows right? There is a setup tool for sourceforge to set everything up in windows + wincvs. Try the following: ssh -l usersfaccount cvs.binarycloud.sourceforge.net type in your password Does this work? Important to cvs is, to have CVS recognize the ssh method. export CVS_RSH=ssh (bash) If you're under cygwin the ssh for cygwin does not work with wincvs. > > xml2php should look for BC_* and act accordingly i.e. BC_PATH."path/to/" > The latest XMLUtils does just that. Cool. Alex, did you do a sync ? > > Another problem ist that xml2php translates structures with no more than > > one"entry" like: > Not sure I understand what you mean, but with latest XMLUtils > & xml2php > and the xml file definitions I sent to Alex, the only thing one needs to > change is passwords in datasources.php. After that, even the query_example > works. So does it work if you have more than one entry in your datasources.xml.php? With only _one_ record in the source xml.php file: <datasources> <datasource> <name>value</includepath> <database>value</database> </datasource> </datasources> The generated php looks like: $QueryManager->datasources = array( 'datasources' => array( name => value, database => value ), ); If I put another "datasource" to the xml.php file... <datasources> <datasource> <name>value</includepath> <database>value</database> </datasource> <datasource> <name>value2</includepath> <database>value2</database> </datasource> </datasources> .. i get this: $QueryManager->datasources = array( array( name => value, database => value ), array( name => value2, database => value2 ), ... ); And that's exactly what we have in langs.php and going to have in queries, and to be in sync also with datasources (I've already modded querymanager to support this and will commit if everything works fine with your latest xml stuff). So xml2php behaves right if at least 2 datasources, langs, queries etc are defined. Andi |