When importing an application from CD (or any other file specification) there is both a codebase, and a codebase override, and they are differant.
The application should be downloaded from the override location.
there are two problems here.
1.) when any error occurs accessing or downloading the jnlp file or any resource from the codebase override location, the error message will refer to the codebase, instead of the codebase override where the error actually was.
example, I have hellow application in /tmp/hello directory, and the hello.jar there is corrupt. When I execute:
"javaws -codebase file:/tmp/hello -import file:/tmp/hello/hello.jnlp "
I get an error message saying:
Corrupted JAR file at http://web-east.east/www.tests/javaws/generic/hello/hello.jar
is should say:
Corrupted JAR file at file:/tmp/hello/hello.jar
2.) You can't use import without codebase as designed.
if I type: javaws -import file:/tmp/hello/hello.jnlp
all resources will be downloaded from http://web-east.east/www.tests/javaws/generic/hello/
instead of file:/tmp/hello/
###@###.### 11/4/04 16:50 GMT
The application should be downloaded from the override location.
there are two problems here.
1.) when any error occurs accessing or downloading the jnlp file or any resource from the codebase override location, the error message will refer to the codebase, instead of the codebase override where the error actually was.
example, I have hellow application in /tmp/hello directory, and the hello.jar there is corrupt. When I execute:
"javaws -codebase file:/tmp/hello -import file:/tmp/hello/hello.jnlp "
I get an error message saying:
Corrupted JAR file at http://web-east.east/www.tests/javaws/generic/hello/hello.jar
is should say:
Corrupted JAR file at file:/tmp/hello/hello.jar
2.) You can't use import without codebase as designed.
if I type: javaws -import file:/tmp/hello/hello.jnlp
all resources will be downloaded from http://web-east.east/www.tests/javaws/generic/hello/
instead of file:/tmp/hello/
###@###.### 11/4/04 16:50 GMT