From: Finn B. <bc...@wo...> - 2002-09-13 07:01:52
|
[Ype Kingma] > I got ant to work, and it actually starts building. > I copied ant.properties from the jython website and adapted > it to my environment (Suse 7.3 standard + development). Cool. Just to let you know, if javaccHome2 is *not* set, then the javacc steps will be skipped alltogether. So since you don't (?) want to make changes to the grammar, you might want to leave javaccHome2 undefined. > Now the build stops when trying to copy the standard library files from the > local python Lib dir. > Am I correct in assuming that I need python 2.2 installed to get > this working nicely? I have python 2.1 now. Yes. The HEAD of CVS is designed to work with the CPython2.2 libraries. Unfortunately all the features of 2.2 is still not fully implemented (like generators and new-style-classes and such) so there is several modules from 2.2 that doesn't work the current CVS. But for development purposes you must have CPython2.2 installed. You also need to install the PyXML projects even if you don't need it. We should probably change the build.xml to skip copying PyXML file if the PyXmlHome is undefined, but for now PyXML is required. The ant targets that you should have working are 'copy-dist' to create a running environment (in ./dist) and 'all' when you edit the java sources. When running from the ./dist directory you will need JYTHON_HOME envvar defined, but that should be all. The comment on changing python.path on the website is outdated. Could you eventually make a list of suggestions of things we can do to make it easier to dig into the sources? regards, finn |