Workspace image not found in another eclipse instance [message #1498455] |
Thu, 04 December 2014 07:15  |
Eclipse User |
|
|
|
Hi all,
In my design I have defined a sub node with a workspace image style. The workspace image path is set to a svg file pointing to a certain directory in my current workspace. When I use my defined viewpoint in new environment that is pointing to another workspace the svg file cannot be found.
I have already included the image folder in the build configuration but this doesn't make any difference. What am I doing wrong?
Best regards
Steven
|
|
|
|
Re: Workspace image not found in another eclipse instance [message #1498645 is a reply to message #1498525] |
Thu, 04 December 2014 10:07  |
Eclipse User |
|
|
|
Hi Maxime,
Maxime Porhel wrote on Thu, 04 December 2014 14:19Le 04/12/2014 13:15, Steven Kauffmann a écrit :
> Hi all,
>
Hi Steven,
> In my design I have defined a sub node with a workspace image style. The
> workspace image path is set to a svg file pointing to a certain
> directory in my current workspace. When I use my defined viewpoint in
> new environment that is pointing to another workspace the svg file
> cannot be found.
How do you use it in another workspace ? Is it deployed as a plugin ?
The Viewpoint Specification Model is intended to be defined in a
Viewpoint Specification Project which is a standard Eclipse plugin
project and can be deployed/installed in an Eclipse bundle.
Yes it is deployed as a plugin.
Quote:
>
> I have already included the image folder in the build configuration but
> this doesn't make any difference. What am I doing wrong?
In the Interaction sample (used in tests and available on the Sirius Git
repository), we define an image and it is well available after build and
installation. We put the following path in the Workspace Image Path
property section :
/org.eclipse.sirius.sample.interactions.design/description/eol.png to
reference the eol.png image from the description folder of the
org.eclipse.sirius.sample.interactions.design plugin.
I have retried it now, first removing all the diagrams in my test project and now it indeed seems to work. Don't know what went wrong (some kind of caching within the diagram?) but anyhow thanks for the help.
Best regards
Steven
|
|
|
Powered by
FUDForum. Page generated in 0.03475 seconds