Skip to content
⌘ NSIS Forum Archive

EclipseNSIS

207 posts

iceman_k#

EclipseNSIS

For those of you who use both Eclipse and NSIS, this one's for you.
EclipseNSIS is a plugin for the Eclipse platform which enables editing,
compiling and testing Nullsoft Installer (NSIS) scripts.

Please feel free to try it out. I would love to get more feedback from actual users.
Also, if anyone is interested, I am looking for help:[list=1][*]Designing a cool logo and other graphics.[*]Testing it on Windows 98SE and Windows ME.[*]Translatiing it to other languages. It currently only supports US English.[/list=1]

It is still in pre-alpha state. I don't plan to move it to alpha until I finish the InstallOptions GUI.
It is not intended to replace any other NSIS GUI you may be using, but is simply meant to be a supplement to those who already work with the Eclipse platform.
iceman_k#
I will figure out something, but it will take a couple of days. My daughter fell ill and is my first priority now.
glory_man#
Code folding for SectionGroup inside SectionGroup not worked (SectionGroup 34 in following example).

SectionGroup 12
Section 23
SectionEnd

SectionGroup 34
Section 33
SectionEnd

Section 333
SectionEnd
SectionGroupEnd
SectionGroupEnd
Maybe this is Eclipse bug. Or this is normal?
iceman_k#
Nope this is a bug- I didn't realize that SectionGroups could be nested. I will fix it in the next release (should be out in the next week or so).
However, the correct place place to file bug reports is http://sourceforge.net/tracker/?grou...3&atid=673849.
iceman_k#
Actually the next release will require Eclipse 3.1.
The release of Eclipse 3.1 has delayed my release, because of changes which have required me to port a lot of code from 3.0 to 3.1. On the plus side, 3.1 provides functionality which I had to previously code by hand, so I decided the upgrade was worth it.
I still plan on getting the release out by July 11th.
Mad Doggie#
This is wonderful! I have all my other code in Eclipse, so this will be a logical extension!

Thanks!
iceman_k#
I'd love to see Outline view take !include directives into consideration.
Oops, sorry- it was too late for me to put it in the current release. Perhaps in the next one.
iceman_k#
Announce: EclipseNSIS 0.9.0 released

EclipseNSIS 0.9.0 is now available for download.
See the EclipseNSIS home page for details.
Also released is the EclipseNSIS InstallOptions Editor 0.9.0 for creating and editing InstallOptions scripts. This is an optional download and requires GEF 3.0 or better.
Both plugins require Eclipse 3.1.

Java developers may also be interested in the EclipseNSIS Utilities package which includes utilities for generating JNI header files and for digitally signing JAR files.

As always, I am looking for any and all bugs you may find. These may be entered in the EclipseNSIS project SourceForge Bug tracker. Feature Requests may also be entered.
Guest#
0.9.x releases contain only 2 jars, it's not recognized as a feature/plugin at startup, where are all those xml files?
is this not a self-contained release?
Joost Verburg#edited
This is really a great development environment for NSIS.

I have one small problem. Looking at your screenshots, it uses the stadard monospaced text font. But on my system it has a small non-monospaced font, while the Eclipse text editor font is just fine. Any idea what could be causing this problem?

Maybe it would also be a good idea to make the default syntax highlighting colors look a bit more similar to the standard XML/HTML colors. Those colors are a bit darker and easier to read.
iceman_k#
I have one small problem. Looking at your screenshots, it uses the stadard monospaced text font. But on my system it has a small non-monospaced font, while the Eclipse text editor font is just fine. Any idea what could be causing this problem?
I don't quite understand what you mean?

Maybe it would also be a good idea to make the default syntax highlighting colors look a bit more similar to the standard XML/HTML colors. Those colors are a bit darker and easier to read.
I would welcome any suggestion you may have.
Of course, using the preferences page you can customize the colors as you wish.
Joost Verburg#
I mean the font of the script source editor. On your screenshot (http://eclipsensis.sourceforge.net/i...reenshot01.gif) it looks fine (standard Text Editor font), but on my system it uses the font that is used in the Outline view instead of the Text Editor font.
iceman_k#
OK, I understand. I will fix it in the next service release (0.9.2) which should be out within a week or so.
iceman_k#
Well... one thing led to another and a week became a month.
However, EclipseNSIS 0.9.2 and EclipseNSIS InstallOptions Editor 0.9.2 are both available now.
See the EclipseNSIS home page for details.

Changes:

EclipseNSIS
  • Support for Windows 98 and Windows ME reintroduced.
  • Modified startup check for NSIS home until after Workbench is activated.
  • Added visual progress feedback during long-running startup or reconfiguration operations.
  • Added more rigorous checks for OS and JVM.
  • Added underline and strikethrough syntax styles to editor.
  • Improved job scheduling mechanism.
  • Bug fixes:
    o 1244592
    o 1246057
    o 1249913
    o 1253797
  • Feature Requests
    o 1228374
    o 1252371
  • Other minor bug fixes.


EclipseNSIS InstallOptions Editor
  • Upgraded to Eclipse GEF 3.1 - no longer compatible with GEF 3.0.
  • Added template support.
  • Added dynamic support for change in MakeNSIS version in EclipseNSIS preferences.
  • Added startup check for default INI file association with InstallOptions Editor.
  • Added project nature and project builder for handling automatic detection of errors and warnings upon resource changes.
  • Added underline and strikethrough syntax styles to source editor.
  • Guides and controls glued to guides are now saved as INI file comments, and can be restored when Design editor is opened.
  • Improved screen scraping mechanism for control image capture.
  • Customized palette preference dialog.
  • Bug fixes:
    o 1257456
  • Other minor bug fixes.


Notes:
Please note that even though EclipseNSIS once again supports Windows 98 SE and Windows ME, Eclipse 3.1 tends to crash a lot on those platforms.
Hence, use of these platforms is discouraged for EclipseNSIS.
Guest#
Hi,
I was hoping to get a hierarchical treeview of !included files in outline, current implementation is not really useful.

Note, I'm not an Eclipse advocate, haven't used it for any Java development, but fiddled with the CDT plugin. What I'd like to see is something similar to Project View of CDT.

I don't know if you'll ever implement a Project View for NSIS or even a NSIS Perspective, but before that I ponder over obtaining a hierarchical structure in Outline View (it *should* be possible because C structures are shown in treeview in Outline View of CDT).

Basically, when I click an !include directive in Outline I'd like the corresponding file opened in editor. Also a plus sign should appear next to it, so that I could see its Outline view when expanded. As you build the tree of !include'd files, don't forget to parse !addincludedir directives in sources as well. Thanks



I know this is not trivial, but if you do it, I believe your work will stand out from the rest.
iceman_k#
Add this to the feature request list in the SourceForge page.
But I can tell you right off the bat that this is not something that is going to come soon.
I have had it in on my to-do list, but before I look at it, I plan to rewrite my NSIS parser and object model so that:
a) I can optimize the processing of document changes.
b) Support advanced features of the kind you suggest.
Bear in mind that I do this in my spare time- I do have a "real" job which pays the bills so that I can afford to do this one for free.
Guest#
can you please specify what files to download from eclipse.org ?

i downloaded eclipse-SDK-3.1-win32.zip, GEF-ALL-3.1.zip and .
when i try to complile my script nothing happens. i press the complile button, the button becomes grey and... thats all.

thanks.
Comm@nder21#
you of course need nsis itself installed 🙂
and you need to configure eclipse nsis so it knows the nsis path.
Guest#
of course! 🙂
i have nsis 2.09.
in eclipsensis preferences i have "c:\program files\nsis". nsis is in that folder.

any ideas ?

PS. i have installed j2re 5.0 update 4. do i need j2se ?
o_owd#
i am using windows xp sp2 + all updates.
nsis 2.09
eclipse 3.1 and GEF (eclipse-SDK-3.1-win32.zip and GEF-ALL-3.1.zip)
j2re 5.0 update4

thanks for helping,
OJi.
iceman_k#
Hmmm... I have tested that configuration and it should work.
Some things to try:
1) Uninstall the plugins and reinstall using the update site: http://eclipsensis.sf.net/update
2) Check the .log file in the your workspace .metadata folder and see if it is reporting any errors.
3) Run eclipse from the command line and specify -vm <path to java>\java.exe (This will print to the console any errors which are not reported in the .log file.