can't find IPath class [message #244819] |
Sun, 06 January 2008 10:14  |
Eclipse User |
|
|
|
Originally posted by: epsobolik.rcn.com
I'm trying to write a Java app that uses a
org.eclipse.jface.wizard.WizardDialog, Wizard, and WizardPage. When the
constructor for my Wizard class runs, I get an exception that boils down
to it can't find org.eclipse.core.runtime.IPath. I've tried adding every
jar that starts with org.eclipse.core and has 'runtime' or 'win32' in the
name. A little searching indicates that IPath is obsolete. I'm running
Eclipse Europa 3.3.1.1 Build M20071023-1652 on Windows XP and the jface
jar is org.eclipse.jface_3.3.1.M20070910-0800b.jar. What gives? Is that
Wizard class still using something that isn't available anymore?
Phil
|
|
|
|
|
|
|
|
|
Re: can't find IPath class [message #244876 is a reply to message #244871] |
Sun, 06 January 2008 16:27   |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Phil,
You should read up on RCP. It requires only a very tiny subset of the
plugins you use to run the IDE itself. It's really no different from
depending on libraries. Try it, you'll like it.
Phil Sobolik wrote:
> Hmmm. I was assuming that a plugin required Eclipse to run. No?
> This particular app actually has a target audience - school music
> teachers. It will generate sight-reading exercises. You go through
> the wizard and select the instrument, grade (NYSSMA), key, intervals,
> length, etc. and it will generate a MusicXML file that you can open
> with just about any music notation program. Actually, I've done a
> asp.net version, but was hoping Java would let run on Mac's.
>
> Phil
>
|
|
|
|
|
Re: can't find IPath class [message #244948 is a reply to message #244943] |
Mon, 07 January 2008 19:26  |
Eclipse User |
|
|
|
Hi,
No you'll create a Product-Configuration-File which allows you to export
your RCP-Application.
The best thing is that you use the Mail-Example coming with Eclipse-PDE.
1.
You do File > New > Project > Plug-in Project > next (fill in Project
name e.g. Test-Mail) > next (Would you like Rich Client ... => yes) >
next RCP Mail-template > Finish
2.
Open the plugin.xml on the Overview-Tab press on "Launch an Eclipse
Application".
3.
Right click on Test-Mail in Project Explorer > New > Product
Configuration > (Filename Test-Mail) > Ok.
4.
Click "Eclipse Product Export Wizard", enter a dir-name, click finish.
5.
You are done and after some seconds/minutes you should have a ready to
deploy RCP-Application you can zip and send to your friends.
6. Go and get a book about RCP-Development from Amazon :-)
Tom
Phil Sobolik schrieb:
> Thanks. I'm still confused, however. If I develop it as an Eclipse
> plugin, which is what RCP seems to be for, will end-users need Eclipse
> to run it?
>
> Phil
>
--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
|
|
|
Powered by
FUDForum. Page generated in 0.09068 seconds