NetXMS Support Forum

Development => General => Topic started by: Billy on March 06, 2011, 12:28:44 PM

Title: compiling problem(missing jar)
Post by: Billy on March 06, 2011, 12:28:44 PM
Hi, Victor,
    When i complie the java console, a lot of errors come out, most of which are jar dependence problem. It is a good news for us that you can put a list of the jar packages or the rar/tar archive needed by the compile environment.
   
   Best Regards.
Title: Re: compiling problem(missing jar)
Post by: Victor Kirhenshtein on March 06, 2011, 06:24:47 PM
Hi!

In addition to NetXMS client jars, which should be put in appropriate places by package.cmd script, you need simple-xml-2.4.1.jar, which should be put into src/java/netxms-eclipse/library/jar. Also, you need the following addons for Eclipse:

* Zest and Draw2D: http://download.eclipse.org/tools/gef/updates/releases
* Properties Editor: http://propedit.sourceforge.jp/eclipse/updates
* SWTCharts: http://www.swtchart.org/ (standalone download, extract into Eclipse plugin directory)
* "Target Management Terminal" from "Target Management Project 3.3". Update site: http://download.eclipse.org/tm/updates/3.3milestones/

Best regards,
Victor
Title: Re: compiling problem(missing jar)
Post by: Billy on March 07, 2011, 03:10:16 AM
Hi, Victor,

    At first, thank you for your help.

    after all of the jars mentioned above installed, another related error has been detected:

"org.netxms.nebula.widgets.gallery", how to solve it? Please.

Best Regard,

Title: Re: compiling problem(missing jar)
Post by: Victor Kirhenshtein on March 07, 2011, 04:02:22 PM
Hi!

Sorry, forgot to mention. You have to add project located in src\java\nebula\org.netxms.nebula.widgets.gallery to workspace as well.

Best regards,
Victor
Title: Re: compiling problem(missing jar)
Post by: Billy on March 07, 2011, 07:21:56 PM
Thank you for you kindness, Victor.