|Dependencies [message #539739]
||Sat, 12 June 2010 09:28
| Mauro Condarelli
Registered: September 2009
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.jdt.compiler.apt" fragment="true"/>
(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
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
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)
Is there some tutorial somewhere?
I googled, but I didn't find anything helpful.
Thanks in Advance
|Re: Dependencies [message #539818 is a reply to message #539776]
||Sun, 13 June 2010 13:12
| Prakash G.R.
Registered: July 2009
On 13/06/10 5:28 AM, Mauro Condarelli wrote:|
> 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)
Platform UI Team, IBM
Powered by FUDForum
. Page generated in 0.02794 seconds