Posted by pgokhale
on June 11, 2008 at 5:10 AM PDT
Have couple of questions about the new plugin's versioning and pack200 support:
1. Testing Guidelines documentation (https://jdk6.dev.java.net/testProperty.html ) mention that "jardiff is not supported in version download". Does this mean that the version string specified in jnlp is alone compared with the jar name on the server and even if I 'managed' to put a different version of this jar with same name, the plugin won't download it since it didn't compare it with what was cached on the client?
2. If I have both, packEnabled and versionEnabled, properties set to true and mention a jar name in jnlp file and also put this name under classpath in some other jar's manifest file (as a required dependency), I see the applet makes three server requests (in tomcat's access logs):
tomcat access logs:
"GET /app/jcommon__V1.0.9.jar.pack.gz HTTP/1.1" 200 89838
"GET /app/jcommon.jar.pack.gz?version-id=1.0.9 HTTP/1.1" 404 1039
"GET /app/jcommon.jar?version-id=1.0.9 HTTP/1.1" 200 89838
Any ideas how to avoid this additional overhead of plugin making two requests for the same jar (that too when the first request was successful).
appreciate your help.