Re: How to interface to SWT and other beginner questions

Daniel Bonniot <[email protected]> Thu, 23 Sep 2004 18:34:08 +0200
Newsgroups gmane.comp.lang.nice.general
Message-ID <[email protected]>
Hi Peter, and welcome to this list.

> Up to now I've installed the Eclipse-Plugin succesfully and very simple
> programs like HelloWorld with console output run from the command line.
> Starting the project.jar from the command-line is somewhat anoying hence I
> wonder wether there are more convinient ways to do it. The eclipse
> run-dialog seems not to accept nice projects.

Yes, this feature should definitely be supported in the future. I don't 
have the opportunity to look at it just now as I will be travelling. 
There is going to be a lot of improvements in the plugin, as Martin will 
work on it as part of a university assignment, but that will be in a few 
month. This feature could be done earlier though.

> Second: I have to interface SWT. The example on the wiki runs with a
> niceswt.jar which I cannot find.

Sorry, I'm not sure if it is publicly accessible at the moment. The 
source code is at http://packages.sourceforge.net/nice.swt.zip, and you 
can build it with ant (you'll need swt.jar too).
Maybe Isaac can help with this.

The advantage of this package is that it provides facilities that make 
SWT "nicer". But you can also decide to do without it.

> But I would prefer to interface SWT
> directly anyway so the question is how to tell the Eclipse-Plugin where to
> find the swt jar and the project to accept the corresponding import
> statements.

You should add swt.jar in the classpath entry.

> One last question (for now:-): How mature ist Nice ? The version number
> 0.9.8 suggests that it's basic concepts are quite stable. Is that correct?

Yes. There are still some features missing before 1.0, and there will 
probably be a few minor changes before that release, but we always leave 
some time when deprecated syntax is accepted with warnings, to ease the 
transition. But most of the features for 1.0 are in place now.

Cheers,

Daniel


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php