From: William D. <wdd...@ma...> - 2001-03-08 14:19:02
|
Hi, I've been working on a project that I want to distribute as open source and, now that I am about to the alpha stage, I am trying to determine how to do that. I am sure that there is ample guidance at the Sun and Python/Jython websites about the legal aspects, but I am a bit stymied at the technical ones. The source (right now) is all Jython; my long-range plan is to port most of the code to Java and just leave the highest-level stuff in Jython and use Jython for a macro/scripting language for the app. I have done most of the development on a Windoze 2000 laptop (I work on this while I am commuting to work on a train) but, though I want the final product to be as platform-independent as possible, my main user base will be Mac users. My first guess at the easiest way to distribute this code was to use jythonc to build a single jar that would hold all the Jython classes. That way the users would only have to install a jre and Swing. However, I have not had any success in getting jythonc (I get a very long list of compiler errors) to complete this task and the documentation for it seems to be useful more as a reference for experienced users than a tutorial for new ones. It would be helpful to me if someone would post a detailed how-to for the complete task of using jythonc to prepare a jar suitable for distribution to users that will not have Jython installed. If I don't use jythonc, what other ways do you all find to work well? Can I take the .class files built by Jython and use another tool (like ClassWrangler on the Mac) to build a jar that I could distribute with jython.jar? Thanks! Bill |