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
New Contributor
drlarsen
Posts: 8
Registered: ‎03-08-2012
My Device: n/a
My Carrier: Rogers

Re: Cant get Ripple working!

That would be very unusual. I'm not saying you're wrong, but there's other possible explanations. Maybe the program you used to edit the config.ini doesn't properly deal with junctions.

 

One way to verify the presence of the junction, is to open up the Command Prompt (Start...All Programs...Accessories) and enter the following two commands:

 

CD \Users\username

DIR /A

 

Then look for Application Data in the list. If it's a regular folder as you've suggested it'll show <DIR> to the left. If it's a junction, it'll show <JUNCTION> as well as showing that it points to AppData\Roaming on the right.

 

The junction exists for backwards compatibility reasons. If you don't have it, then you should expect problems with other programs as well.

Please use plain text.
Contributor
jmrunge
Posts: 15
Registered: ‎06-06-2011
My Device: BlackBerry Curve 9300
My Carrier: Personal

Re: Cant get Ripple working!

dir /a:

C:\Users\AVC>dir /a
 El volumen de la unidad C no tiene etiqueta.
 El número de serie del volumen es: 9CC5-F804

 Directorio de C:\Users\AVC

08/03/2012  14:55    <DIR>          .
08/03/2012  14:55    <DIR>          ..
11/05/2010  12:06                96 .asadminpass
10/12/2010  21:56                85 .bash_history
27/09/2011  19:07             1,510 .davmail.properties
06/06/2011  17:04    <DIR>          .hdlcreator-installer
27/04/2010  19:44    <DIR>          .IntelliJIdea80
27/04/2010  19:44    <DIR>          .IntelliJIdea8x
10/12/2010  15:45    <DIR>          .ireport
30/01/2012  10:43    <DIR>          .m2
27/01/2012  08:58    <DIR>          .nbi
16/06/2011  09:34    <DIR>          .nbprofiler
27/01/2012  08:58    <DIR>          .netbeans
25/02/2010  15:11    <DIR>          .netbeans-derby
09/08/2010  13:32    <DIR>          .netbeans-registration
20/08/2010  14:11    <DIR>          .sdenbworkspace
10/12/2010  15:10    <DIR>          .ssh
27/09/2011  19:03    <DIR>          .swt
20/08/2010  14:10               134 .vpinstall.properties
20/08/2010  13:49    <DIR>          .vplls
23/08/2010  13:52                99 .vpsuite_installation.xml
22/07/2010  15:55    <DIR>          AppData
08/03/2012  14:56    <DIR>          Application Data
16/02/2010  22:08    <JUNCTION>     Configuración local [C:\Users\AVC\AppData\Local]
14/03/2011  11:26    <DIR>          Contacts
16/02/2010  22:08    <JUNCTION>     Cookies [C:\Users\AVC\AppData\Roaming\Microsoft\Windows\Cookies]
16/02/2010  22:08    <JUNCTION>     Datos de programa [C:\Users\AVC\AppData\Roaming]
28/02/2012  22:40    <DIR>          Desktop
08/02/2012  09:48    <DIR>          Documents
28/02/2012  22:42    <DIR>          Downloads
12/06/2011  19:21    <DIR>          dwhelper
16/02/2010  22:08    <JUNCTION>     Entorno de red [C:\Users\AVC\AppData\Roaming\Microsoft\Windows\Network Shortcuts]
14/03/2011  11:26    <DIR>          Favorites
16/02/2010  22:08    <JUNCTION>     Impresoras [C:\Users\AVC\AppData\Roaming\Microsoft\Windows\Printer Shortcuts]
28/02/2012  17:14    <DIR>          InstallAnywhere
01/03/2010  10:02         1,018,207 java0.log
01/03/2010  10:02           902,064 java1.log
14/03/2011  11:26    <DIR>          Links
16/02/2010  22:08    <JUNCTION>     Menú Inicio [C:\Users\AVC\AppData\Roaming\Microsoft\Windows\Start Menu]
16/02/2010  22:08    <JUNCTION>     Mis documentos [C:\Users\AVC\Documents]
11/03/2011  14:55    <DIR>          Music
01/06/2011  18:54    <DIR>          net
08/03/2012  20:01         7,077,888 ntuser.dat
08/03/2012  20:01           262,144 ntuser.dat.LOG1
16/02/2010  22:08                 0 ntuser.dat.LOG2
27/02/2012  21:36            65,536 ntuser.dat{5f9889d9-619f-11e1-8a54-00262d73bb5a}.TM.blf
27/02/2012  21:36           524,288 ntuser.dat{5f9889d9-619f-11e1-8a54-00262d73bb5a}.TMContainer00000000000000000001.regtrans-ms
27/02/2012  21:36           524,288 ntuser.dat{5f9889d9-619f-11e1-8a54-00262d73bb5a}.TMContainer00000000000000000002.regtrans-ms
16/02/2010  22:24            65,536 NTUSER.DAT{6cced2f1-6e01-11de-8bed-001e0bcd1824}.TM.blf
16/02/2010  22:24           524,288 NTUSER.DAT{6cced2f1-6e01-11de-8bed-001e0bcd1824}.TMContainer00000000000000000001.regtrans-ms
16/02/2010  22:24           524,288 NTUSER.DAT{6cced2f1-6e01-11de-8bed-001e0bcd1824}.TMContainer00000000000000000002.regtrans-ms
14/08/2011  23:06            65,536 NTUSER.DAT{e5c4b6a9-c6d3-11e0-b8b7-00262d73bb5a}.TM.blf
14/08/2011  23:06           524,288 NTUSER.DAT{e5c4b6a9-c6d3-11e0-b8b7-00262d73bb5a}.TMContainer00000000000000000001.regtrans-ms
14/08/2011  23:06           524,288 NTUSER.DAT{e5c4b6a9-c6d3-11e0-b8b7-00262d73bb5a}.TMContainer00000000000000000002.regtrans-ms
16/02/2010  22:08                20 ntuser.ini
26/02/2010  21:51    <DIR>          Office Genuine Advantage
06/03/2012  22:32    <DIR>          Pictures
16/02/2010  22:08    <JUNCTION>     Plantillas [C:\Users\AVC\AppData\Roaming\Microsoft\Windows\Templates]
16/02/2010  22:08    <JUNCTION>     Reciente [C:\Users\AVC\AppData\Roaming\Microsoft\Windows\Recent]
14/03/2011  11:26    <DIR>          Saved Games
14/03/2011  11:26    <DIR>          Searches
16/02/2010  22:08    <JUNCTION>     SendTo [C:\Users\AVC\AppData\Roaming\Microsoft\Windows\SendTo]
28/02/2012  22:18    <DIR>          Tracing
15/09/2011  21:19    <DIR>          Videos
13/09/2011  09:52    <DIR>          Virtual Machines
23/01/2012  12:18           167,484 vlcj-snapshot-1327331892638.png
              21 archivos     12,772,067 bytes
              45 dirs  15,159,730,176 bytes libres

 

Mistery solved... My system is in spanish, so the JUNCTION is called "Datos de Programa".  Apparently, the installer of Ripple is hardcoding "Application Data" (and other programs as well, I have more things appart from Ripple inside this folder) in some part.

 

To make this short, knowing how installers work, I assume Ripple installer is doing this:

 

First, it copies some bundled config.ini in C:\[USER]\AppData\Roaming\Research In Motion\Ripple

 

At some point, modifies the value of "windowContent" of config.ini file, but in this instruction, it is pointing to C:\[USER]\Application Data\Research In Motion\Ripple.

 

In a system in English, this would be the same, but in other languages, it is not!

 

Hopefully someone will take a look at Ripple installer and tell me if Im right or not.

 

Regards and thanks for the response!

Please use plain text.
New Contributor
drlarsen
Posts: 8
Registered: ‎03-08-2012
My Device: n/a
My Carrier: Rogers

Re: Cant get Ripple working!

Ahh, interesting find and a good lesson for all developers, including those at RIM -- never use hardcoded values. :smileyhappy:

Please use plain text.
New Contributor
pauluz
Posts: 5
Registered: ‎07-07-2012
My Device: Playbook
My Carrier: Play

Re: Cant get Ripple working!

Exaclly !

Wrong position for config!

In my case - the solution was copy the config.ini from "Application Data" (english) to my localization location "Dane aplikacji"

 

And second (for me):

I must switch off "enableHardwareAcceleration=0"

 

Then Ripple 0.9.5.0 start to work.

 

WinXP Home SP3 - jre7 and jdk1.7.0_04

 

Pawel "pauluZ" Szczepanek
BlackBerry Developer
Android Evangelist
Please use plain text.