vgritsenko 02/03/14 11:32:20 Modified: . build.xml Log: add python check Revision Changes Path 1.184 +15 -1 xml-cocoon2/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/build.xml,v retrieving revision 1.183 retrieving revision 1.184 diff -u -r1.183 -r1.184 --- build.xml 12 Mar 2002 09:06:40 -0000 1.183 +++ build.xml 14 Mar 2002 19:32:20 -0000 1.184 @@ -398,6 +398,10 @@ classname="org.mozilla.javascript.Context"/> <class-available classpathref="classpath" + property="python.present" + classname="org.python.core.Py"/> + + <class-available classpathref="classpath" property="jstyle.present" classname="jstyle.JSFormatter"/> @@ -526,7 +530,17 @@ <param name="recovery" value="Get the Rhino package from http://www.mozilla.org/rhino/ and place the jar in the lib/optional dir"/> <param name="message" - value="Rhino is required for the XSP in Javascript."/> + value="Rhino is required for the scripts and XSP in Javascript."/> + </antcall> + </target> + <target name="python-warn" unless="python.present" depends="optional-tests" + description="Outputs a warning if org.python.* classes are missing during compilation"> + <antcall target="op-warning"> + <param name="thing" value="jython"/> + <param name="recovery" + value="Get the jython package from http://www.jython.org/ and place the jar in the lib/optional dir"/> + <param name="message" + value="Jython is required for the scripts in Python."/> </antcall> </target> <target name="jfor-warn" unless="jfor.present" depends="optional-tests"
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]