From: Greg H. <gr...@ob...> - 2006-09-22 07:07:08
|
backspaces wrote: > Well, now one more question. Lets suppose my jython class imports a java > package in its own .jar file. > > How do I modify my invocation of jythonc to pick that java package's jar > file up and include it in the resulting large .jar file? Is this what the > "--addpackages packages" flag does? .. and can it use packages that are in > .jar files rather than in .class files? > > Thanks! > > Owen No need to change the way you invoke jythonc, just add the jar files you depend on to your CLASSPATH before you build. The additional jars are *not* added to the jar created by jythonc. I just add them to the archive list in the HTML and copy the jar files to the directory from which the applet is served. eg. <applet code="HelloWorld" archive="HelloWorld.jar, foo.jar, bar.jar" width=200 height=100> </applet> Greg |