Dependencies [message #539739] |
Sat, 12 June 2010 09:28  |
Eclipse User |
|
|
|
Hi,
I'm far enough in the development of my first "serious" RCP application
to start worrying about deployment.
I used the standard Writer.product with standard settings (no
internationalization, no multiplatform).
The resulting Writer.zip is 44M
For what is essentially a Text Editor it seems a bit heavy.
Perusing the Dependencies I found a lot of things I'm surely not using:
<plugin id="org.eclipse.compare"/>
....
<plugin id="org.eclipse.ecf.filetransfer"/>
....
<plugin id="org.eclipse.jdt.compiler.apt" fragment="true"/>
....
<plugin id="org.eclipse.ltk.ui.refactoring"/>
....
<plugin id="org.eclipse.team.core"/>
(not to talk about a whopping 5.5M eaten by com.ibm.icu).
Blindly deleting them is no good as I got:
Cannot complete the install because one or more required items could
not be found.
Software being installed: Writer Application 1.0.0
(it.condarelli.writer 1.0.0)
Missing requirement: Writer 1.0.0 (Writer 1.0.0) requires 'bundle
org.eclipse.jdt.ui 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Writer Application 1.0.0 (it.condarelli.writer 1.0.0)
To: Writer [1.0.0]
Is there an "easy" way to find out what's the really minimal set I must use?
How do I find out what, in my app, is triggering inclusion of
org.eclipse.jdt?
Paul Webster was so kind to point to com.ibm.icu.base, unfortunately I'm
so dumb I didn't find a way to use that instead of the standard (BIG)
version.
Is there some tutorial somewhere?
I googled, but I didn't find anything helpful.
Thanks in Advance
Mauro
|
|
|
|
Re: Dependencies [message #539818 is a reply to message #539776] |
Sun, 13 June 2010 13:12  |
Eclipse User |
|
|
|
On 13/06/10 5:28 AM, Mauro Condarelli wrote:
> AAAARRRRGHHHHH!!!!
>
> How can I open an editor on a genetic filesystem file (no Workspace!) without pulling in the ide?
>
>
> I am using:
>
> IFileStore fs = EFS.getStore(uri);
> IEditorInput ei = new FileStoreEditorInput(fs);
> IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
> IWorkbenchPage page = window.getActivePage();
> page.openEditor(ei, WorldEditor.ID);
>
>
> but FileStoreEditorInput pulls in the whole IDE.
> Is there another way??
Don't think so. But you can always copy just the
FileStoreEditorInputFactory & FileStoreEditorInput and them instead of
pulling the whole IDE plugin (of course, do that after consulting with
your legal department)
--
- Prakash
Platform UI Team, IBM
www.eclipse-tips.com
|
|
|
Powered by
FUDForum. Page generated in 0.23662 seconds