This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Unable to run webstart project on Win XP | ||
---|---|---|---|
Product: | projects | Reporter: | Jaromir Uhrik <juhrik> |
Component: | Java Webstart | Assignee: | Milan Kubec <mkubec> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | SPACE_IN_PATH |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Screenshot attached... |
Description
Jaromir Uhrik
2007-02-12 16:06:06 UTC
Created attachment 38387 [details]
Screenshot attached...
Space in path is not handled correctly. *** Issue 98892 has been marked as a duplicate of this issue. *** This bug is probably because webstart assumes the URL will be properly encoded as it would if the URL was a live link on a webserver. We should probably encode the URL the same way within NetBeans. Yes, that's probably the problem, I hope it can be fixed using ant processing. Fixed. The problem actually wasn't encoding of the codebase attribute in jnlp file (which is correct), but not using " around exec arguments in ant script. Checking in jnlp-impl.xml_; /cvs/javawebstart/src/org/netbeans/modules/javawebstart/resources/jnlp-impl.xml_,v <-- jnlp-impl.xml_ new revision: 1.3; previous revision: 1.2 done Better fix is to use <arg file=""> Checking in jnlp-impl.xml_; /cvs/javawebstart/src/org/netbeans/modules/javawebstart/resources/jnlp-impl.xml_,v <-- jnlp-impl.xml_ new revision: 1.4; previous revision: 1.3 done |