On Tue, Aug 24, 2010 at 13:13, Piotr Dorobisz
<[email protected]> wrote:
> Hello,
> I wrote method to create my own node (actually I did it very similar to 
> BackendManager.getIdeBackend()). However, the problem is that this node is 
> started with long name (-name parameter) instead of short one. It happens 
> despite setting info.useLongName(false). What else can I do?
> Btw, what's the way of saying that I want/don't want console? As I see you 
> specify it in two places:
> info.hasConsole(true), and using BackendOptions.NO_CONSOLE.

Hi!

Regarding the long vs short name, you're creating the backend the
wrong way. When you call launchConfig.launch, this does all the work
and then you try to create the backend again, manually, which calls
launchConfig.launch again. In createIdeBackend, there's no
launchConfig involved, you should do likewise.

Regarding the console option, do it like in createIdeBackend and set
only the options.
The reason for these to be in two places are historical. It's good
that you point out these issues, we're used to the way it is...

regards,
Vlad

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Erlide-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/erlide-devel

Reply via email to