# you need to clone the mercurial repository from hg::http://hg.python.org/jython # checkout the newest production tag. at the moment of this writing it is v2.7.0 # rename sources and references org.python to org.python27 for f in `find . -type d -name python | grep org/python | grep -v .git`; do git mv $f ${f}27; done for f in `git grep --full-name -l org.python`; do sed -i "" 's/org\.python/org.python27/g' $f; done for f in `git grep --full-name -l org.python`; do sed -i "" 's/org\/python/org\/python27/g' $f; done # this builds the jython standalone jar wihtout sources. ant jar-standalone # create and copy a new version in ivy-repository/python/jython27/