Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » INI file missing in the deployed RCP product
INI file missing in the deployed RCP product [message #511576] Tue, 02 February 2010 06:37 Go to next message
Karan  is currently offline Karan
Messages: 23
Registered: October 2009
Junior Member
Hi all

I am new to RCP. When I finished creating an RCP app, I deployed it.. but could not find the eclipse.ini file or <launcher>.ini file.
I need this ini file so as to increase the memory usage as my product gives out of memory exception when too much data is given to it.

How do I put an INI file onto my deployed product so that the memory usage may be controlled so that it can handle large amounts of data given to it?

Thank you,
Re: INI file missing in the deployed RCP product [message #511579 is a reply to message #511576] Tue, 02 February 2010 06:55 Go to previous messageGo to next message
Daniel Krügler is currently offline Daniel Krügler
Messages: 853
Registered: July 2009
Senior Member
On 02.02.2010 07:37, Karan wrote:
> I am new to RCP. When I finished creating an RCP app, I deployed it..
> but could not find the eclipse.ini file or <launcher>.ini file.
> I need this ini file so as to increase the memory usage as my product
> gives out of memory exception when too much data is given to it.
>
> How do I put an INI file onto my deployed product so that the memory
> usage may be controlled so that it can handle large amounts of data
> given to it?

Please check the following:

1) Your .ini file should be part of the bin.includes section of
your build.properties file.

2) Since you speak of a *product* I assume that you extended the
org.eclipse.core.runtime.products extension point. Check out that
you have a properties element which references the .ini file:

<extension
id="/your-id/"
point="org.eclipse.core.runtime.products">
<product
application="/your-app/"
description="/your-descr/"
name="/your-name/">
<property
name="preferenceCustomization"
value="/your-ini/.ini"/>
[..]

HTH & Gretings from Bremen,

Daniel Krügler
Re: INI file missing in the deployed RCP product [message #511596 is a reply to message #511579] Tue, 02 February 2010 08:34 Go to previous message
Karan  is currently offline Karan
Messages: 23
Registered: October 2009
Junior Member
Hi Daniel,
Thanks for the reply.
Actually, the build.properties file under the bin.includes does not have any mention of a .ini file.

build.properties file :=
source.. = src/
output.. = bin/
bin.includes = plugin.xml,\
               META-INF/,\
               .,\
               icons/,\
               splash_bkp.bmp


So what INI file and how must I include it into the build.prop file?

And ...
the org.eclipse.core.runtime.products does not have any property refering it.... so should I be explicitly creating another property in the XML refering the same ini file i have specified in the build.properties?


Thank You,
Previous Topic:Multi Plugin Project Problems with Menu
Next Topic:commands vs actions
Goto Forum:
  


Current Time: Thu Oct 23 06:17:14 GMT 2014

Powered by FUDForum. Page generated in 0.22180 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software