Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
billfoust
Posts: 382
Registered: ‎05-19-2008
My Device: BlackBerry Torch
My Carrier: AT&T

bad filename with Jquery mobile? ajax-loader.png

I'm trying to compile a webworks app for the first time and running into what I think should be a common problem. I was surprised to not get any hits searching for the filename.

 

My webworks app is using Jquery Mobile with just the default theme. While debugging, I saw it was flagging errors about some files that are part of the default theme, so I added them. Now one of these files is causing a problem, i think.

 

C:\Documents and Settings\Bill>java -jar "c:\Program Files\Research In Motion\BlackBerry WebWorks Packager\bin"\bbwp.jar c:\Projects\myapp.zip

[INFO]                  Parsing command line options

[INFO]                  Parsing bbwp.properties

[INFO]                  Validating application archive

[ERROR]                 Invalid application archive - resource name is not valid(css/images/ajax-loader.png)

 

I think that ajax-loader.png is not allowed because of the '-' character in the name. I might be able to change the name and alter the .JS file accordingly, but I'd really rather not. Anyone have any other suggestions?

Bill
-------------------------------------------
Check out my book on BlackBerry Development for Java.
And my other really really old book
My Apps: FlashKids
Please use plain text.
Developer
Heiko
Posts: 125
Registered: ‎01-17-2011
My Device: Playbook
My Carrier: Vodacom

Re: bad filename with Jquery mobile? ajax-loader.png

[ Edited ]

 

I checked my app I built and it contains "ajax-loader.png" which built fine,

so it seems that the issues wasn't "fixed" by renaming the file, but possibly by Webworks SDK.

 

I recall there being problems with the "-" (dash) in one of the older WebWorks SDKs.

 

Which version of the Webworks SDK are you using ?

Have you tried the latest (2.1 as far as I recall)

 

.H

 

 

Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: bad filename with Jquery mobile? ajax-loader.png

Make sure you have the latest WebWorks SDK... This was an old issue that has since been fixed

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Please use plain text.