02-09-2012 02:48 PM
For command-line/batch zipping, I've seen the most success with 7-Zip, though I'm sure there are other alternatives as well.
Essentially all of the elements you included within loadingscreen are optional, so I would start with as few items as you can, then slowly add them back in one-by-one. This way we can identify the exact line that is breaking the packaging.
Filepaths were the most likely culprit, but we seem to have ruled those out. If we can get the specific element/attribute causing the break, it might shed some light as to why.
Let me know how it goes.
Erik Oros
BlackBerry Development Advisor
02-09-2012 04:08 PM
02-10-2012 04:46 AM
02-10-2012 10:40 AM
Fair enough. Though it really should be usable. If you could share your full config.xml file, I'll try and recreate a full project based on it that does package and will share the format of it here. If mine works, and yours still does not, this would indicate something of an environment issue.
If you would like to investigate this further, could you also provide a screenshot of your Ripple Settings... dialog (i.e. accessed from the wrench in the top-right corner.)
Erik Oros
BlackBerry Development Advisor
02-10-2012 01:39 PM
Sure, here's my config.xml, without the element we were talking about:
.. erm.. maybe not. Is there a way to paste in code here, that has the less-than and greater-than signs, without translating them to HTML entitities first? pre tags don't seem to cover that.
I'm not able to use Ripple to package, as I'm in need of having (at least two, maybe more) Java environments on my system -- the Android Java doesn't seem to work with the RIM tools, and the RIM Java doesn't seem to work with the Android tools (on the bright side, they both seem to work with my HP-Palm tools.. so.. yay there) so, here's the bat file that I'm currently working successfully with, typos fixed from yesterday:
del /y /q gvbb.zip "c:\Program Files\7-Zip\7z.exe" u -xr!*.zip -xr!.git* gvbb.zip * set JAVA_HOME="c:\program files (x86)\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2.2.0.5\jre" "c:\program files (x86)\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2.2.0.5\bbwp\bbwp" c:\users\eric\ripplesites\gv\gvbb.zip -o c:\temp\gvbb "c:\program files (x86)\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2.2.0.5\bbwp\blackberry-tablet-sdk\bin\blackberry-It would be very nice if there were a setting in Ripple to set the JAVA_HOME before calling the packagerdeploy" -installApp -password blackberry -device 192.168.109.128 -package c:\temp\gvbb\gvbb.bar
02-10-2012 04:52 PM
You could include config.xml as an attachment to your reply, or just feel free to paste it as is and I'll decipher whatever comes out.
Erik Oros
BlackBerry Development Advisor
02-10-2012 10:01 PM
<?xml version="1.0" encoding="utf-8"?> <widget xmlns="http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="2.0.0.0"> <name>GVoice</name> <author href="http://www.ericbla.de/gvoice-webos/">Eric Blade</author> <description> Google Voice for Playbook! </description> <rim:orientation mode="auto"/> <rim:category name="communication"/> <rim:permissions> </rim:permissions> <icon src="mainApp/images/google-voice-icon64.png"/> <content src="index.html"/> <feature id="blackberry.ui.dialog"/> <access uri="http://www.google.com" subdomains="true"> <feature id="blackberry.app.event"/> <feature id="blackberry.invoke"/> </access> <access uri="https://www.google.com" subdomains="true"> </access> <access uri="http://www.ericbla.de" subdomains="true"> <feature id="blackberry.invoke" /> </access> </widget>
02-10-2012 10:01 PM
Aha! I found the CODE button. I don't see an Attach button, though.
02-14-2012 06:25 PM
Hi there,
I've checked out your config.xml and all looks just fine. Ripple didn't have any issues packaging with it either. If you are still seeing issues with it, I might even advise:
3. Re-install all of the software in 2 with the most recent versions available. Note that only JDK1.6, 32-bit should be installed (this automatically includes the JRE.)
From the looks of it, your environment is mostly working though, but I just can't create any issues with the config.xml file you are using.
(For reference, Attachments should be available to the right of the edit window when writing a message- under Tags and Subscriptions.)
Erik Oros
BlackBerry Development Advisor
02-15-2012 01:52 PM
I have same this problem. Also I solving this problem by remove
<rim:loadingScreen backgroundImage="background.png"
foregroundImage="foreground.gif"
onLocalPageLoad="true">
<rim:transitionEffect type="zoomIn"/>
</rim:loadingScreen>
from my config.xml.
Thank for post this solution. I was able to submit my application for playbook os appworld on time so I can get free playbook. Let hope for my application to be aprrove.
Thank for post this solution. ![]()