From: Finn B. <bc...@us...> - 2001-07-16 13:10:49
|
Update of /cvsroot/jython/jython/Doc In directory usw-pr-cvs1:/tmp/cvs-serv19462 Modified Files: compile.ht Log Message: Added hints about ant.properties and using modules from CPython. Index: compile.ht =================================================================== RCS file: /cvsroot/jython/jython/Doc/compile.ht,v retrieving revision 2.2 retrieving revision 2.3 diff -C2 -r2.2 -r2.3 *** compile.ht 2001/02/07 09:32:11 2.2 --- compile.ht 2001/07/16 13:09:36 2.3 *************** *** 17,21 **** --- 17,32 ---- We are using ant-1.2 to compile the sources and create the .jar file. <p> + The build.xml file will search for a properties file called + <code>ant.properties</code> which can contain values to control paths + and local options. My <code>ant.properties</code> file look like this: + <pre> + javaccHome = i:\\java\\Javacc2.0\\bin\\lib + #build.compiler = classic + build.compiler = jikes + debug=on + </pre> + <p> + <li>Some of the sources in the org.python.parser package are generated from python.jtt file by the JavaCC parser generator. If you need to *************** *** 46,50 **** --- 57,70 ---- a conditional check and will not compile the PyServlet class if the servlet classes isn't available during compilation. + <p> + <li>The CVS only contain a few of the standard python modules. The rest + most come from a CPython installation. Setting this up can be performed by + creating a file ".jython" in your home directory and including a line like + this: + <pre> + python.path=d:\\python\\Python-2.1\\Lib + </pre> + </ul> *************** *** 66,68 **** <li> <A HREF="http://jakarta.apache.org/ant/">Ant 1.2</A> <li> <A HREF="http://java.sun.com/products/servlet/index.html">Servlet classes</A> ! </ul> \ No newline at end of file --- 86,89 ---- <li> <A HREF="http://jakarta.apache.org/ant/">Ant 1.2</A> <li> <A HREF="http://java.sun.com/products/servlet/index.html">Servlet classes</A> ! </ul> ! |