Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1014 by kwibussie: Unknown relative path to resource file from
java package -- workaround works perfectly
http://code.google.com/p/gears/issues/detail?id=1014
I have a JAR file which has a JS file in the resources which I can
download, but I can't determine
the relative path to these files. I used a workaround which works perfectly
but isn't written in the
API.
Reproduction:
Manifest file:
....
{"url":
"resources/nl.topicuszorg.wicket.extensions.WicketJSExtension/offline_frame.js"}
...
The resources folder is not created and therefore the file cannot be read.
If you use the "src" param, you can write the relative path yourself and
the file will be found:
....
{"url": "gears/javascript/offline_frame.js", "src":
"resources/nl.topicuszorg.wicket.extensions.WicketJSExtension/offline_frame.js"}
...
Now you can address the file in Gears.
Kind regards,
Jeroen van Dijk
The Netherlands
(sorry for reporting a "bug" but I can't find a better place to write this
down...)
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--
To unsubscribe, reply using "remove me" as the subject.