Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
BlackBerry Development Advisor
oros
Posts: 410
Registered: 04-12-2010
My Carrier: Rogers

Re: exception while packaging

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

Erik Oros
BlackBerry Development Advisor
@WaterlooErik
Please use plain text.
Developer
eblade
Posts: 132
Registered: 02-08-2012
My Carrier: None yet

Re: exception while packaging

Thanks for your attention, Erik. I'll get back here later this evening on it, after I've had a chance to finish my day job :smileyhappy:
Please use plain text.
Developer
eblade
Posts: 132
Registered: 02-08-2012
My Carrier: None yet

Re: exception while packaging

Erik,

Just wanted to drop a line that after reading the whole description of that attribute, I don't really see a major need to use it. I did poke at it a little bit, but i'm unable to get the packager to work without crashing with it in.
Please use plain text.
BlackBerry Development Advisor
oros
Posts: 410
Registered: 04-12-2010
My Carrier: Rogers

Re: exception while packaging

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

Erik Oros
BlackBerry Development Advisor
@WaterlooErik
Please use plain text.
Developer
eblade
Posts: 132
Registered: 02-08-2012
My Carrier: None yet

Re: exception while packaging

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-deploy" -installApp -password blackberry -device 192.168.109.128 -package c:\temp\gvbb\gvbb.bar
It would be very nice if there were a setting in Ripple to set the JAVA_HOME before calling the packager :smileyhappy:
Please use plain text.
BlackBerry Development Advisor
oros
Posts: 410
Registered: 04-12-2010
My Carrier: Rogers

Re: exception while packaging

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

Erik Oros
BlackBerry Development Advisor
@WaterlooErik
Please use plain text.
Developer
eblade
Posts: 132
Registered: 02-08-2012
My Carrier: None yet

Re: exception while packaging

<?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>

 

Please use plain text.
Developer
eblade
Posts: 132
Registered: 02-08-2012
My Carrier: None yet

Re: exception while packaging

Aha! I found the CODE button.  I don't see an Attach button, though.

 

 

Please use plain text.
BlackBerry Development Advisor
oros
Posts: 410
Registered: 04-12-2010
My Carrier: Rogers

Re: exception while packaging

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:

  1. Backing up your signature keys.
  2. Uninstall all software components:
  • Adobe AIR SDK.
  • All JDK/JRE installations.
  • Both WebWorks SDKs (Tablet and Smartphone.)
  • Ripple.

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

Erik Oros
BlackBerry Development Advisor
@WaterlooErik
Please use plain text.
New Developer
orangeearths
Posts: 10
Registered: 04-14-2009

Re: exception while packaging

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. :Balloon:

Please use plain text.