> I thougth all the jars mentioned in the <resources> section were
> downloaded before the program started. Then these jars become
> the classpath for the program. Isn't this the case?
<package name="org.x.*" part="a" recursive="true"/>
<jar href="tools.jar" part="a" download="lazy"/>
This will only download tools.jar when a class such as org.x.Y is used for
the first time. Unfortunately, when running Jython from a Java application
that was launched through Web Start, classes have to be imported explicitely
before you can use them:
PySystemState state = Py.getSystemState();
from org.x import Y
Which, in this case, causes tools.jar to be downloaded, even if it is
never used afterwards...