From: brian z. <bz...@us...> - 2002-01-11 21:34:20
|
Update of /cvsroot/jython/jython In directory usw-pr-cvs1:/tmp/cvs-serv25860 Modified Files: build.xml Log Message: added executable jar capability to jython.jar Index: build.xml =================================================================== RCS file: /cvsroot/jython/jython/build.xml,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** build.xml 2001/12/02 19:57:44 1.25 --- build.xml 2002/01/11 21:34:18 1.26 *************** *** 50,54 **** classname="java.lang.ref.WeakReference" /> ! <available property="servlet.present" classname="javax.servlet.Servlet" classpath="${servlet.jar}" --- 50,54 ---- classname="java.lang.ref.WeakReference" /> ! <available property="servlet.present" classname="javax.servlet.Servlet" classpath="${servlet.jar}" *************** *** 210,216 **** --- 210,224 ---- <target name="jar" depends="compile"> + <!-- + Some windows systems need the ${line.separator} or will report a + "Failed to load Main-Class manifest attribute" error + --> + <echo file="${outputDir}/mainClass.mf" + message="Main-Class: org.python.util.jython${line.separator}"/> <jar jarfile="jython.jar" basedir="${outputDir}" + manifest="${outputDir}/mainClass.mf" includes="**/*.class,**/ucnhash.dat,**/*.properties" /> + <delete file="${outputDir}/mainClass.mf"/> </target> |