NetXMS Support Forum

English Support => General Support => Topic started by: rnholvast on November 26, 2012, 01:57:30 PM

Title: Eclipse Junos RCP Compile problems Netxms Console
Post by: rnholvast on November 26, 2012, 01:57:30 PM
Dear all

Followed the install of Eclipse Rap according to wiki netxms
I have lots and lots of compile errors trying to get NetXMS Console
running

I normally use IntelliJ so i am also i bit lost in eclipse
Can do the  :-\ :-\ :-\RAP stuff but some how not he RCP in eclipse
How to get this working for a newbie in Eclipse

Regards
Robert



Title: Re: Eclipse Junos RCP Compile problems Netxms Console
Post by: Victor Kirhenshtein on November 26, 2012, 05:22:51 PM
Hi!

We still use Eclipse Indigo (3.7) for RCP development. I suppose that there can be some API changes in RCP 4.2 comparing to 3.7. Also, I use separate Eclipse instances for RCP and RAP. Don't forget to install RCP console requirements into Eclipse:

* Draw2D: http://download.eclipse.org/tools/gef/updates/milestones/
* Zest 2.0: https://hudson.eclipse.org/hudson/job/gef-zest-nightly/lastSuccessfulBuild/artifact/targetPlatform/
* Properties Editor: http://propedit.sourceforge.jp/eclipse/updates
* "Target Management Terminal" from "Target Management Project 3.4". Update site: http://download.eclipse.org/tm/updates/3.4milestones
* BIRT Charting: http://download.eclipse.org/birt/update-site/3.7/
* Babel Project: http://download.eclipse.org/technology/babel/update-site/R0.10.0/indigo
   Required locales: chinese (both), german, russian, spanish

Best regards,
Victor
Title: Re: Eclipse Junos RCP Compile problems Netxms Console
Post by: rnholvast on November 26, 2012, 07:25:39 PM
Victor
Thanks for the fast answer
I changed to indigo
Reloaded the several libraries as stated in your email
Target management terminal has some problems (complaining abt WinCE dependencies)
Some key assignment problems too)

Can you give me some pointers how to run or setup for debug mode
I know this is typical newbie but its because I am not familiar with Eclipse and doing the examples for rcp apps rather deviates from your code
Thanks in advance

Btw maybe something like this in the wiki for developers would be highly appreciated to ease into development of netxms
Title: Ported netxms console(nmxc) to Intellij
Post by: rnholvast on November 27, 2012, 01:38:53 PM
Dear Victor
:)
After getting totally frustrated with eclipse (either junos or indigo) have now a test environment running in IntelliJ 11.x

Observations with Eclipse
1 it very bothersome to get the source code running just from the svn trunk(temporary give up in eclipse)
2 Incompatibilities in versions needed addon libs and difficult to find where to download

I am willing to help with some help of other users to set up a short manual for eclipse
Anybody interested in getting it to work in IntelliJ i am ready to help

Regards
Robert
Title: Re: Eclipse Junos RCP Compile problems Netxms Console
Post by: Beda on May 10, 2013, 03:11:40 PM
Maybe this guide could be helpful:
https://www.netxms.org/forum/windows/compilation-of-a-netxms-console-in-eclipse/